public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-21 19:23 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-21 19:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : e9fd17453362bff3a7bc3feca08cd7ef8741433e
Author : Than Ngo <than@redhat.com>
Date : 2026-10-21T21:23:24+02:00
Stats : +18/-75 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/e9fd17453362bff3a7bc3feca08cd7ef8741433e?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/0005-blink-add-audio-vector-support.patch b/0005-blink-add-audio-vector-support.patch
index 5509792..a69aefa 100644
--- a/0005-blink-add-audio-vector-support.patch
+++ b/0005-blink-add-audio-vector-support.patch
@@ -2,7 +2,7 @@ Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/cpu/ppc6
===================================================================
--- /dev/null
+++ chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/cpu/ppc64/delay_altivec.cc
-@@ -0,0 +1,183 @@
+@@ -0,0 +1,153 @@
+// Copyright 2016 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
@@ -17,7 +17,10 @@ Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/cpu/ppc6
+
+#include <array>
+
++#include "base/bit_cast.h"
+#include "base/compiler_specific.h"
++#include "base/numerics/safe_conversions.h"
++#include "third_party/blink/renderer/platform/audio/delay.h"
+
+namespace blink {
+
@@ -75,7 +78,8 @@ Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/cpu/ppc6
+ // The buffer length as a float and as an int so we don't need to constant
+ // convert from one to the other.
+ const __m128 v_buffer_length_float = _mm_set1_ps(buffer_length);
-+ const __m128i v_buffer_length_int = _mm_set1_epi32(buffer_length);
++ const __m128i v_buffer_length_int =
++ _mm_set1_epi32(base::checked_cast<int>(buffer_length));
+
+ // How much to increment the write index each time through the loop.
+ const __m128i v_incr = _mm_set1_epi32(4);
@@ -85,8 +89,9 @@ Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/cpu/ppc6
+ std::array<float, 4> sample2 __attribute((aligned(16)));
+
+ // Initialize the write index vector, and wrap the values if needed.
++ int w_index_3 = base::CheckAdd(w_index, 3u).ValueOrDie<int>();
+ __m128i v_write_index =
-+ _mm_set_epi32(w_index + 3, w_index + 2, w_index + 1, w_index + 0);
++ _mm_set_epi32(w_index_3, w_index_3 - 1, w_index_3 - 2, w_index_3 - 3);
+ v_write_index = WrapIndexVector(v_write_index, v_buffer_length_int);
+
+ const size_t number_of_loops = frames_to_process / 4;
@@ -118,14 +123,14 @@ Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/cpu/ppc6
+ const __m128 interpolation_factor =
+ _mm_sub_ps(v_read_position, _mm_cvtepi32_ps(v_read_index1));
+
-+ const uint32_t* read_index1 =
-+ reinterpret_cast<const uint32_t*>(&v_read_index1);
-+ const uint32_t* read_index2 =
-+ reinterpret_cast<const uint32_t*>(&v_read_index2);
++ const std::array<uint32_t, 4> read_index1 =
++ base::bit_cast<std::array<uint32_t, 4>>(v_read_index1);
++ const std::array<uint32_t, 4> read_index2 =
++ base::bit_cast<std::array<uint32_t, 4>>(v_read_index2);
+
+ for (int m = 0; m < 4; ++m) {
-+ sample1[m] = buffer_[UNSAFE_TODO(read_index1[m])];
-+ sample2[m] = buffer_[UNSAFE_TODO(read_index2[m])];
++ sample1[m] = buffer_[read_index1[m]];
++ sample2[m] = buffer_[read_index2[m]];
+ }
+
+ const __m128 v_sample1 = _mm_load_ps(sample1.data());
@@ -150,67 +155,4 @@ Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/cpu/ppc6
+ return std::make_tuple(k, w_index);
+}
+
-+void Delay::HandleNaN(base::span<float> delay_times,
-+ size_t frames_to_process,
-+ float max_time) {
-+ unsigned k = 0;
-+ const unsigned number_of_loops = frames_to_process / 4;
-+
-+ __m128 v_max_time = _mm_set1_ps(max_time);
-+
-+ // This is approximately 4 times faster than the scalar version.
-+ for (unsigned loop = 0; loop < number_of_loops; ++loop, k += 4) {
-+ __m128 x = _mm_loadu_ps(delay_times.subspan(k, 4u).data());
-+ // 0xffffffff if x is NaN. Otherwise 0
-+ __m128 cmp = _mm_cmpunord_ps(x, x);
-+
-+ // Use cmp as a mask to set a component of x to 0 if is NaN. Otherwise,
-+ // preserve x.
-+ x = _mm_andnot_ps(cmp, x);
-+
-+ // Now set cmp to be max_time if the value is 0xffffffff or 0.
-+ cmp = _mm_and_ps(cmp, v_max_time);
-+
-+ // Merge i (bitwise or) x and cmp. This makes x = max_time if x was NaN and
-+ // preserves x if not.
-+ x = _mm_or_ps(x, cmp);
-+ _mm_storeu_ps(delay_times.subspan(k, 4u).data(), x);
-+ }
-+
-+ // Handle any frames not done in the loop above.
-+ for (; k < frames_to_process; ++k) {
-+ if (std::isnan(delay_times[k])) {
-+ delay_times[k] = max_time;
-+ }
-+ }
-+}
-+
+} // namespace blink
-Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/delay.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/blink/renderer/platform/audio/delay.cc
-+++ chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/delay.cc
-@@ -100,7 +100,7 @@ double Delay::DelayTime(float sample_rat
- return desired_delay_frames_ / sample_rate;
- }
-
--#if !(defined(ARCH_CPU_X86_FAMILY) || defined(CPU_ARM_NEON))
-+#if !(defined(ARCH_CPU_X86_FAMILY) || defined(CPU_ARM_NEON) || defined(ARCH_CPU_PPC64_FAMILY))
- // Default scalar versions if simd/neon are not available.
- std::tuple<size_t, size_t> Delay::ProcessARateVector(
- base::span<float> destination,
-Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/BUILD.gn
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/blink/renderer/platform/BUILD.gn
-+++ chromium-156.0.8078.35/third_party/blink/renderer/platform/BUILD.gn
-@@ -1997,6 +1997,10 @@ component("platform") {
- sources += [ "audio/cpu/arm/delay_neon.cc" ]
- }
-
-+ if (current_cpu == "ppc64") {
-+ sources += [ "audio/cpu/ppc64/delay_altivec.cc" ]
-+ }
-+
- if (rtc_use_h265) {
- sources += [
- "peerconnection/h265_parameter_sets_tracker.cc",
diff --git a/chromium.spec b/chromium.spec
index 8607e4d..394d6b4 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1768,7 +1768,7 @@ pushd %{chromebuilddir}
%endif
cp -a chrom*.pak resources.pak %{buildroot}%{chromium_path}
cp --remove-destination locales/*.pak %{buildroot}%{chromium_path}/locales/
- cp -a MEIPreload/ PrivacySandboxAttestationsPreloaded/ %{buildroot}%{chromium_path}/
+ cp -a MEIPreload/ %{buildroot}%{chromium_path}/
%if %{build_chrome_management_service}
cp -a chrome_management_service %{buildroot}%{chromium_path}/chrome-management-service
%endif
@@ -1869,7 +1869,6 @@ fi
%license LICENSE
%dir %{_sysconfdir}/%{name}/policies/
%dir %{chromium_path}/MEIPreload/
-%dir %{chromium_path}/PrivacySandboxAttestationsPreloaded/
%config(noreplace) %{_sysconfdir}/%{name}/chromium.conf
%config %{_sysconfdir}/%{name}/master_preferences
%{_bindir}/chromium-browser
@@ -1882,7 +1881,6 @@ fi
%{chromium_path}/chrome-management-service
%endif
%{chromium_path}/MEIPreload/*
-%{chromium_path}/PrivacySandboxAttestationsPreloaded/*
%{chromium_path}/chrome-sandbox
%{_mandir}/man1/chromium-browser.*
%{_datadir}/icons/hicolor/*/apps/chromium-browser.png
diff --git a/chromium.spec b/chromium.spec
index f117388..394d6b4 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2870,6 +2870,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-11-24 13:59 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-11-24 13:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 1574ecf37a351cd8b83d01bc0ce686e0958dd6e1
Author : Than Ngo <than@redhat.com>
Date : 2026-11-24T14:59:02+01:00
Stats : +13/-5 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/1574ecf37a351cd8b83d01bc0ce686e0958dd6e1?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium.spec b/chromium.spec
index 7786c45..3aeb891 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -280,7 +280,7 @@
%endif
Name: chromium
-Version: 158.0.8127.36
+Version: 158.0.8127.88
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -1300,8 +1300,8 @@ tar xf %{SOURCE20} -C %{_builddir}
mkdir -p third_party/rust-toolchain/crubit/lib/third_party
tar xf %{SOURCE22} -C third_party/rust-toolchain/crubit/lib/third_party
-# On EPEL 9, unpack the 1.98.0 and 1.99.0 source tarballs
-%if 0%{?rhel} == 9
+# On EPEL 9/10.3, unpack the 1.98.0 and 1.99.0 source tarballs
+%if 0%{?rhel} == 9 || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 4)
tar xf %{SOURCE24} -C %{_builddir}
tar xf %{SOURCE25} -C %{_builddir}
%endif
@@ -1341,7 +1341,7 @@ cp -a TypeScript-%{typescript_version}/tsc/tsgo third_party/typescript/linux-am
# ==============================================================================
# 0. Select or Bootstrap Stage 0 Rust & Cargo Toolcahin
# ==============================================================================
-%if 0%{?rhel} == 9
+%if 0%{?rhel} == 9 || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 4)
# Hop 1: System rustc (1.97) -> Stage 1 rustc + std/proc_macro (1.98.0)
cat > %{_builddir}/bootstrap-1.98.toml << EOF
change-id = 999999
@@ -2110,6 +2110,11 @@ fi
%endif
%changelog
+* Tue Nov 24 2026 Than Ngo <than@redhat.com> - 158.0.8127.88-1
+ Update to 158.0.8127.88, include 1 security fix
+
+ Critical CVE-2026-134401: Improper input validation in Variations
+
* Sat Nov 21 2026 Than Ngo <than@redhat.com> - 158.0.8127.36-1
- Update to 158.0.8127.36, include 204 security fixes
* CVE-2026-121101: Missing authorization in DevTools
diff --git a/sources b/sources
index 1488049..aec7f75 100644
--- a/sources
+++ b/sources
@@ -5,5 +5,5 @@ SHA512 (ninja-1.13.2.tar.gz) = c0b401b4db91a2eea01a474ee979b2c6f1daa97b4c8d1f856
SHA512 (rustc-1.100.0-src.tar.xz) = 35b8ad7f6449d5c68de483d989043e8297fa29b37e6a448ef710d1b4e8f92bc0dd21704a1c924344cf721f1b2f8010fff2b64368d507cffc7cd2b11f2f56c12b
SHA512 (rustc-1.98.0-src.tar.xz) = d457af66ee9107613c1e58b588ad5f616c5efdc9a2164add4d52b7d7f6d869a580187b5e4b763f1d8ca275c7666e58e6de9d9a5751363758a0ebf01a9528f437
SHA512 (rustc-1.99.1-src.tar.xz) = 641fb7ebb205cc8fc7a05d79f1353ae4aedf5a1080cd3928da51865b6b7ec721c755992c8bfdcc9fe93893dfac15439093e78580e7a78913a7f1db4e3b6f95e8
-SHA512 (chromium-158.0.8127.36-clean.tar.xz) = b85f9345af2ee91cfc50626a2cc2614fe5701c6734773885a736a4187aee87ba96cbb6300336d19c19ecc05cbaf9826ee711cab458b00ff2765b34afd7a0ac00
SHA512 (crubit.tar.xz) = 063b800c4b58e56f8ca80708e9b6dca46a2e23da5821b4fe1081377a35751e258e2d8c80ef68f1b23df9e5003bafa697ecb1173eefde0d9c6f98e00a63be8bfc
+SHA512 (chromium-158.0.8127.88-clean.tar.xz) = d20ffe9cd96c2ea38a5e0f297d7c9ccf33c3b31b93e1582438e7c96d091acdf7efa8ac261ae087eb90ed18a6f1759aaf7ce1cfb29200d0609b57904d30b6e218
diff --git a/chromium.spec b/chromium.spec
index 746551a..3aeb891 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -3595,6 +3595,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-11-22 23:27 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-11-22 23:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 82b8dc6b26a1f3e86d8de06b70e74f6f0ce97f24
Author : Than Ngo <than@redhat.com>
Date : 2026-11-23T00:27:26+01:00
Stats : +4/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/82b8dc6b26a1f3e86d8de06b70e74f6f0ce97f24?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium.spec b/chromium.spec
index 69c751e..7786c45 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1341,7 +1341,7 @@ cp -a TypeScript-%{typescript_version}/tsc/tsgo third_party/typescript/linux-am
# ==============================================================================
# 0. Select or Bootstrap Stage 0 Rust & Cargo Toolcahin
# ==============================================================================
-%if 0%{?rhel}
+%if 0%{?rhel} == 9
# Hop 1: System rustc (1.97) -> Stage 1 rustc + std/proc_macro (1.98.0)
cat > %{_builddir}/bootstrap-1.98.toml << EOF
change-id = 999999
diff --git a/chromium.spec b/chromium.spec
index b54cc55..7786c45 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -3590,6 +3590,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-11-22 22:08 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-11-22 22:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 6f958d5fdd5663aa9447af603c0cb0933c5da5a1
Author : Than Ngo <than@redhat.com>
Date : 2026-11-22T23:08:03+01:00
Stats : +626/-1817 in 20 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/6f958d5fdd5663aa9447af603c0cb0933c5da5a1?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/.gitignore b/.gitignore
index 576186e..6ea3f44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,8 @@
/linux-x64-0.28.2.tgz
/TypeScript-7.0.2.tar.gz
/TypeScript-7.0.2-vendor-archive.tar.gz
+/ninja-1.13.2.tar.gz
+/rustc-1.100.0-src.tar.xz
+/rustc-1.98.0-src.tar.xz
+/rustc-1.99.1-src.tar.xz
+/crubit.tar.xz
diff --git a/0001-Implement-support-for-PPC64-on-Linux.patch b/0001-Implement-support-for-PPC64-on-Linux.patch
index 4862a0f..ecc0dab 100644
--- a/0001-Implement-support-for-PPC64-on-Linux.patch
+++ b/0001-Implement-support-for-PPC64-on-Linux.patch
@@ -39,21 +39,22 @@ This patch implements support for the PPC64 architecture on Linux hosts.
util/misc/capture_context_test.cc | 3 +-
util/misc/capture_context_test_util_linux.cc | 6 +
36 files changed, 932 insertions(+), 12 deletions(-)
+--
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/CONTRIBUTORS
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/CONTRIBUTORS
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/CONTRIBUTORS
+refresh the patch for chromium 158
+
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/CONTRIBUTORS.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/CONTRIBUTORS
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/CONTRIBUTORS.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/CONTRIBUTORS 2026-11-20 14:23:23.205989409 +0100
@@ -13,3 +13,5 @@ Mark Mentovai <mark@chromium.org>
Robert Sesek <rsesek@chromium.org>
Scott Graham <scottmg@chromium.org>
Joshua Peraza <jperaza@chromium.org>
+Shawn Anastasio <sanastasio@raptorengineering.com>
+Timothy Pearson <tpearson@raptorengineering.com>
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context.h 2026-11-20 14:23:23.206315195 +0100
@@ -686,6 +686,70 @@ struct MinidumpContextRISCV64 {
uint32_t fcsr;
};
@@ -125,10 +126,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_co
} // namespace crashpad
#endif // CRASHPAD_MINIDUMP_MINIDUMP_CONTEXT_H_
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc 2026-11-20 14:23:23.206628912 +0100
@@ -110,6 +110,13 @@ MinidumpContextWriter::CreateFromSnapsho
break;
}
@@ -192,10 +192,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_co
+}
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.h 2026-11-20 14:23:23.206878844 +0100
@@ -413,6 +413,49 @@ class MinidumpContextRISCV64Writer final
MinidumpContextRISCV64 context_;
};
@@ -246,10 +245,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_co
} // namespace crashpad
#endif // CRASHPAD_MINIDUMP_MINIDUMP_CONTEXT_WRITER_H_
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc 2026-11-20 14:23:23.207100420 +0100
@@ -322,6 +322,21 @@ TYPED_TEST(MinidumpContextWriter, RISCV6
TypeParam>(context, ExpectMinidumpContextRISCV64, kSeed);
}
@@ -272,10 +270,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_co
} // namespace
} // namespace test
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc 2026-11-20 14:23:23.207367746 +0100
@@ -177,6 +177,8 @@ std::string MinidumpMiscInfoDebugBuildSt
static constexpr char kCPU[] = "mips64";
#elif defined(ARCH_CPU_RISCV64)
@@ -285,10 +282,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_mi
#else
#error define kCPU for this CPU
#endif
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc 2026-11-20 14:23:23.207629241 +0100
@@ -297,6 +297,40 @@ void InitializeMinidumpContextRISCV64(Mi
context->fcsr = value++;
}
@@ -369,10 +365,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidu
+
} // namespace test
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h 2026-11-20 14:23:23.207900933 +0100
@@ -90,6 +90,9 @@ void ExpectMinidumpContextMIPS64(uint32_
void ExpectMinidumpContextRISCV64(uint32_t expect_seed,
const MinidumpContextRISCV64* observed,
@@ -383,10 +378,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidu
//! \}
} // namespace test
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/capture_memory.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/capture_memory.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/capture_memory.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/capture_memory.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/capture_memory.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/capture_memory.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/capture_memory.cc 2026-11-20 14:23:23.208127783 +0100
@@ -123,6 +123,11 @@ void CaptureMemory::PointedToByContext(c
for (size_t i = 0; i < std::size(context.riscv64->regs); ++i) {
MaybeCaptureMemoryAround(delegate, context.riscv64->regs[i]);
@@ -399,10 +393,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/capture_mem
#else
#error Port.
#endif
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_architecture.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_architecture.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_architecture.h 2026-11-20 14:23:23.208226500 +0100
@@ -47,6 +47,9 @@ enum CPUArchitecture {
//! \brief 64-bit RISC-V.
@@ -413,10 +406,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_archite
};
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/cpu_context.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.cc 2026-11-20 14:23:23.208435588 +0100
@@ -173,6 +173,8 @@ uint64_t CPUContext::InstructionPointer(
return arm64->pc;
case kCPUArchitectureRISCV64:
@@ -443,10 +435,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context
case kCPUArchitectureRISCV64:
return true;
case kCPUArchitectureX86:
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/cpu_context.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.h 2026-11-20 14:23:23.208693121 +0100
@@ -371,6 +371,24 @@ struct CPUContextRISCV64 {
uint32_t fcsr;
};
@@ -480,10 +471,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context
};
};
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h 2026-11-20 14:23:23.208993710 +0100
@@ -15,6 +15,7 @@
#ifndef CRASHPAD_SNAPSHOT_LINUX_CPU_CONTEXT_LINUX_H_
#define CRASHPAD_SNAPSHOT_LINUX_CPU_CONTEXT_LINUX_H_
@@ -571,10 +561,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/cpu_c
} // namespace internal
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc 2026-11-20 14:23:23.209311812 +0100
@@ -194,12 +194,15 @@ void TestAgainstTarget(PtraceConnection*
device == 0 && inode == 0 && mapping_name == "[vdso]";
#if defined(ARCH_CPU_X86)
@@ -592,10 +581,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/debug
},
module_mapping->name,
module_mapping->device,
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc 2026-11-20 14:23:23.209611977 +0100
@@ -367,6 +367,69 @@ bool ExceptionSnapshotLinux::ReadContext
return internal::ReadContext(reader, context_address, context_.riscv64);
}
@@ -666,10 +654,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/excep
#endif // ARCH_CPU_X86_FAMILY
bool ExceptionSnapshotLinux::Initialize(
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h 2026-11-20 14:23:23.209731264 +0100
@@ -94,6 +94,8 @@ class ExceptionSnapshotLinux final : pub
CPUContextMIPS64 mips64;
#elif defined(ARCH_CPU_RISCV64)
@@ -679,10 +666,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/excep
#endif
} context_union_;
CPUContext context_;
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc 2026-11-20 14:23:23.210007349 +0100
@@ -326,7 +326,28 @@ void ExpectContext(const CPUContext& act
sizeof(actual.riscv64->fpregs)),
0);
@@ -712,10 +698,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/excep
#else
#error Port.
#endif
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc 2026-11-20 14:23:23.210291306 +0100
@@ -129,6 +129,8 @@ void ProcessReaderLinux::Thread::Initial
: thread_info.thread_context.t32.regs[29];
#elif defined(ARCH_CPU_RISCV64)
@@ -725,10 +710,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/proce
#else
#error Port.
#endif
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/signal_context.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/signal_context.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/signal_context.h 2026-11-20 14:23:23.210567279 +0100
@@ -456,6 +456,89 @@ static_assert(offsetof(UContext<ContextT
offsetof(ucontext_t, uc_mcontext.__fpregs),
"context offset mismatch");
@@ -819,10 +803,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/signa
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc 2026-11-20 14:23:23.210867333 +0100
@@ -229,6 +229,8 @@ CPUArchitecture SystemSnapshotLinux::Get
: kCPUArchitectureMIPSEL;
#elif defined(ARCH_CPU_RISCV64)
@@ -862,10 +845,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/syste
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc 2026-11-20 14:23:23.211361012 +0100
@@ -196,6 +196,14 @@ bool ThreadSnapshotLinux::Initialize(
InitializeCPUContextRISCV64(thread.thread_info.thread_context.t64,
thread.thread_info.float_context.f64,
@@ -881,10 +863,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/threa
#else
#error Port.
#endif
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h 2026-11-20 14:23:23.211589032 +0100
@@ -79,6 +79,8 @@ class ThreadSnapshotLinux final : public
CPUContextMIPS64 mips64;
#elif defined(ARCH_CPU_RISCV64)
@@ -894,10 +875,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/threa
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc 2026-11-20 14:23:23.211939112 +0100
@@ -317,5 +317,38 @@ void InitializeCPUContextRISCV64(CPUCont
riscv64->fcsr = value++;
}
@@ -937,10 +917,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_c
+
} // namespace test
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h 2026-11-20 14:23:23.212140933 +0100
@@ -64,6 +64,7 @@ void InitializeCPUContextARM64(CPUContex
void InitializeCPUContextMIPS(CPUContext* context, uint32_t seed);
void InitializeCPUContextMIPS64(CPUContext* context, uint32_t seed);
@@ -949,10 +928,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_c
//! \}
} // namespace test
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/test/linux/get_tls.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/test/linux/get_tls.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/test/linux/get_tls.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/test/linux/get_tls.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/test/linux/get_tls.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/test/linux/get_tls.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/test/linux/get_tls.cc 2026-11-20 14:23:23.212317941 +0100
@@ -51,6 +51,8 @@ LinuxVMAddress GetTLS() {
: "$3");
#elif defined(ARCH_CPU_RISCV64)
@@ -962,10 +940,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/test/linux/get_tls.c
#else
#error Port.
#endif // ARCH_CPU_ARMEL
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/test/multiprocess_posix.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/test/multiprocess_posix.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/test/multiprocess_posix.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/test/multiprocess_posix.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/test/multiprocess_posix.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/test/multiprocess_posix.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/test/multiprocess_posix.cc 2026-11-20 14:23:23.212666643 +0100
@@ -162,7 +162,8 @@ void Multiprocess::SetExpectedChildTermi
}
@@ -976,10 +953,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/test/multiprocess_po
SetExpectedChildTermination(kTerminationSignal, SIGTRAP);
#else
SetExpectedChildTermination(kTerminationSignal, SIGILL);
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc 2026-11-20 14:23:23.212958140 +0100
@@ -56,6 +56,11 @@ bool AuxiliaryVector::Read(PtraceConnect
if (type == AT_IGNORE) {
continue;
@@ -992,10 +968,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/auxiliary
if (!MapInsertOrReplace(&values_, type, value, nullptr)) {
LOG(ERROR) << "duplicate auxv entry";
return false;
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/ptracer.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/linux/ptracer.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/ptracer.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/ptracer.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/ptracer.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/ptracer.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/ptracer.cc 2026-11-20 14:23:23.213366093 +0100
@@ -432,6 +432,64 @@ bool GetThreadArea64(pid_t tid,
return true;
}
@@ -1071,10 +1046,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/ptracer.c
GetThreadArea64(tid,
info->thread_context,
&info->thread_specific_data_address,
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/thread_info.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/linux/thread_info.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/thread_info.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/thread_info.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/thread_info.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/thread_info.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/thread_info.h 2026-11-20 14:23:23.213758281 +0100
@@ -34,6 +34,10 @@
#include <asm/ptrace.h>
#endif
@@ -1193,10 +1167,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/thread_in
//! \brief The thread-local storage address for the thread.
LinuxVMAddress thread_specific_data_address;
};
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context.h 2026-11-20 14:23:23.214009118 +0100
@@ -70,6 +70,7 @@ using NativeCPUContext = ucontext_t;
//! Linux | ARM/ARM64 | `r0`/`x0`
//! Linux | MIPS/MIPS64 | `$a0`
@@ -1205,10 +1178,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_co
//!
//! Additionally, the value `LR` on ARM/ARM64 will be the return address of
//! this function.
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_linux.S.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_linux.S.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_linux.S 2026-11-20 14:23:23.214441498 +0100
@@ -30,7 +30,7 @@
.globl CAPTURECONTEXT_SYMBOL2
#if defined(__i386__) || defined(__x86_64__)
@@ -1435,23 +1407,21 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_co
#elif defined(__riscv)
#define MCONTEXT_GREGS_OFFSET 176
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
-@@ -48,7 +48,7 @@ void TestCaptureContext() {
- uintptr_t pc = ProgramCounterFromContext(context_1);
-
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test.cc 2026-11-20 14:28:12.422187566 +0100
+@@ -53,7 +53,7 @@ void TestCaptureContext() {
+ // in the entry block and the first `CaptureContext()` call lands more than 128
+ // bytes into `TestCaptureContext()`.
#if !defined(ADDRESS_SANITIZER) && !defined(ARCH_CPU_MIPS_FAMILY) && \
-- !defined(MEMORY_SANITIZER)
-+ !defined(MEMORY_SANITIZER) && !defined(ARCH_CPU_PPC64_FAMILY)
+- !defined(MEMORY_SANITIZER) && \
++ !defined(MEMORY_SANITIZER) && !defined(ARCH_CPU_PPC64_FAMILY) \
+ !(defined(ARCH_CPU_ARM64) && !defined(NDEBUG))
// Sanitizers can cause enough code bloat that the “nearby” check would
// likely fail.
- const uintptr_t kReferencePC =
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc 2026-11-20 14:23:23.215084547 +0100
@@ -39,6 +39,8 @@ void SanityCheckContext(const NativeCPUC
#elif defined(ARCH_CPU_RISCV64)
EXPECT_EQ(context.uc_mcontext.__gregs[10],
diff --git a/0002-Add-pregenerated-config-for-libaom-on-ppc64.patch b/0002-Add-pregenerated-config-for-libaom-on-ppc64.patch
new file mode 100644
index 0000000..e1072ba
--- /dev/null
+++ b/0002-Add-pregenerated-config-for-libaom-on-ppc64.patch
@@ -0,0 +1,18 @@
+diff -up chromium-158.0.8127.36/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h.me chromium-158.0.8127.36/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
+--- chromium-158.0.8127.36/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h.me 2026-11-22 04:28:51.790140956 -0500
++++ chromium-158.0.8127.36/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h 2026-11-22 04:29:47.348194521 -0500
+@@ -69,6 +69,14 @@ typedef struct CNN_MULTI_OUT CNN_MULTI_O
+ typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
+ uint16_t *output_q3);
+
++void av1_calc_centroids_dim1_c(const int16_t *data, int16_t *centroids,
++ const uint8_t *indices, int n, int k);
++#define av1_calc_centroids_dim1 av1_calc_centroids_dim1_c
++
++void av1_calc_centroids_dim2_c(const int16_t *data, int16_t *centroids,
++ const uint8_t *indices, int n, int k);
++#define av1_calc_centroids_dim2 av1_calc_centroids_dim2_c
++
+ #if CONFIG_AV1_HIGHBITDEPTH
+ typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
+ uint16_t *output_q3);
diff --git a/chromium-124-el8-arm64-memory_tagging.patch b/chromium-124-el8-arm64-memory_tagging.patch
deleted file mode 100644
index 3a3766a..0000000
--- a/chromium-124-el8-arm64-memory_tagging.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -up chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni.me chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni
---- chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni.me 2024-04-18 15:12:34.007397489 +0200
-+++ chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni 2024-04-18 15:13:06.166051954 +0200
-@@ -32,8 +32,7 @@ if (is_nacl) {
- # Increases the size of the empty slot span ring.
- use_large_empty_slot_span_ring = is_mac
-
--has_memory_tagging =
-- current_cpu == "arm64" && is_clang && !is_asan && (is_linux || is_android)
-+has_memory_tagging = false
-
- declare_args() {
- # Causes all the allocations to be routed via allocator_shim.cc. Usually,
diff --git a/chromium-127-el8-ifunc-header.patch b/chromium-127-el8-ifunc-header.patch
deleted file mode 100644
index 985b118..0000000
--- a/chromium-127-el8-ifunc-header.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -up chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h
---- chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me 2024-07-25 23:58:19.751616508 +0200
-+++ chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h 2024-07-26 00:01:46.391800969 +0200
-@@ -10,9 +10,11 @@
- #include "partition_alloc/build_config.h"
- #include "partition_alloc/partition_alloc_buildflags.h"
-
-+#if 0
- #if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_LINUX)
- #define HAS_HW_CAPS
- #endif
-+#endif
-
- #if PA_BUILDFLAG(PA_ARCH_CPU_ARM64) && defined(HAS_HW_CAPS)
- #include <asm/hwcap.h>
diff --git a/chromium-132-el8-unsupport-rustc-flags.patch b/chromium-132-el8-unsupport-rustc-flags.patch
deleted file mode 100644
index 57d325e..0000000
--- a/chromium-132-el8-unsupport-rustc-flags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -up chromium-132.0.6834.57/build/config/gcc/BUILD.gn.me chromium-132.0.6834.57/build/config/gcc/BUILD.gn
---- chromium-132.0.6834.57/build/config/gcc/BUILD.gn.me 2025-01-01 18:59:29.670002052 +0100
-+++ chromium-132.0.6834.57/build/config/gcc/BUILD.gn 2025-01-01 20:51:11.798696436 +0100
-@@ -32,7 +32,6 @@ declare_args() {
- # See http://gcc.gnu.org/wiki/Visibility
- config("symbol_visibility_hidden") {
- cflags = [ "-fvisibility=hidden" ]
-- rustflags = [ "-Zdefault-visibility=hidden" ]
-
- # Visibility attribute is not supported on AIX.
- if (current_os != "aix") {
diff --git a/chromium-133-workaround-system-ffmpeg-whitelist.patch b/chromium-133-workaround-system-ffmpeg-whitelist.patch
deleted file mode 100644
index d0e56f4..0000000
--- a/chromium-133-workaround-system-ffmpeg-whitelist.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -up chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc.than chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc
---- chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc.than 2025-02-13 11:59:31.035724118 +0100
-+++ chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc 2025-02-14 10:39:07.825746076 +0100
-@@ -76,6 +76,8 @@ const char* GetAllowedVideoDecoders() {
- void ApplyCodecContextSecuritySettings(AVCodecContext* codec_context) {
- // Future versions of ffmpeg may copy the allow list from the format
- // context.
-+ // Workaround for codec whitelist with system ffmpeg
-+#if 0
- if (!codec_context->codec_whitelist) {
- // Note: FFmpeg will try to free this string, so we must duplicate it.
- codec_context->codec_whitelist =
-@@ -83,6 +85,7 @@ void ApplyCodecContextSecuritySettings(A
- ? GetAllowedAudioDecoders()
- : GetAllowedVideoDecoders());
- }
-+#endif
-
- // Note: This is security sensitive. FFmpeg may not always continue safely
- // in the presence of errors. See https://crbug.com/379418979
-diff -up chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc.than chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc
---- chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc.than 2025-02-14 10:14:13.360398193 +0100
-+++ chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc 2025-02-14 10:36:46.762332912 +0100
-@@ -131,8 +131,10 @@ FFmpegGlue::FFmpegGlue(FFmpegURLProtocol
- // memory usage.
- //
- // Note: FFmpeg will try to free these strings, so we must duplicate them.
-+#if 0
- format_context_->codec_whitelist = av_strdup(GetAllowedAudioDecoders());
- format_context_->format_whitelist = av_strdup(GetAllowedDemuxers());
-+#endif
- }
-
- bool FFmpegGlue::OpenContext(bool is_local_file) {
diff --git a/chromium-134-el8-atk-compiler-error.patch b/chromium-134-el8-atk-compiler-error.patch
deleted file mode 100644
index c44d174..0000000
--- a/chromium-134-el8-atk-compiler-error.patch
+++ /dev/null
@@ -1,1067 +0,0 @@
-diff -up chromium-134.0.6998.15/content/browser/accessibility/accessibility_auralinux_browsertest.cc.than chromium-134.0.6998.15/content/browser/accessibility/accessibility_auralinux_browsertest.cc
---- chromium-134.0.6998.15/content/browser/accessibility/accessibility_auralinux_browsertest.cc.than 2025-02-12 02:31:02.000000000 +0100
-+++ chromium-134.0.6998.15/content/browser/accessibility/accessibility_auralinux_browsertest.cc 2025-02-17 17:13:30.971343965 +0100
-@@ -3,6 +3,7 @@
- // found in the LICENSE file.
-
- #include <atk/atk.h>
-+#include <dlfcn.h>
-
- #include <string>
- #include <vector>
-@@ -550,6 +551,10 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- g_object_unref(div_element);
- }
-
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 30, 0)
-+#define ATK_230
-+#endif
-+
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
- TestCharacterExtentsWithInvalidArguments) {
- AtkText* atk_text = SetUpSampleParagraph();
-@@ -572,12 +577,14 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_EQ(expect, width);
- EXPECT_EQ(expect, height);
-
-+#ifdef ATK_230
- atk_text_get_character_extents(atk_text, invalid_offset, &x, &y, &width,
- &height, ATK_XY_PARENT);
- EXPECT_EQ(expect, x);
- EXPECT_EQ(expect, y);
- EXPECT_EQ(expect, width);
- EXPECT_EQ(expect, height);
-+#endif // ATK_230
-
- atk_text_get_character_extents(atk_text, invalid_offset, &x, &y, &width,
- &height, ATK_XY_WINDOW);
-@@ -596,12 +603,14 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_EQ(expect, width);
- EXPECT_EQ(expect, height);
-
-+#ifdef ATK_230
- atk_text_get_character_extents(atk_text, invalid_offset, &x, &y, &width,
- &height, ATK_XY_PARENT);
- EXPECT_EQ(expect, x);
- EXPECT_EQ(expect, y);
- EXPECT_EQ(expect, width);
- EXPECT_EQ(expect, height);
-+#endif // ATK_230
-
- atk_text_get_character_extents(atk_text, invalid_offset, &x, &y, &width,
- &height, ATK_XY_WINDOW);
-@@ -616,7 +625,9 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- AtkCoordType kCoordinateTypes[] = {
- ATK_XY_SCREEN,
- ATK_XY_WINDOW,
-+#ifdef ATK_230
- ATK_XY_PARENT,
-+#endif // ATK_230
- };
-
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
-@@ -875,6 +886,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- TestCharacterExtentsInScrollableInput();
- }
-
-+#if defined(ATK_230)
- typedef bool (*ScrollToPointFunc)(AtkComponent* component,
- AtkCoordType coords,
- gint x,
-@@ -884,6 +896,18 @@ typedef bool (*ScrollToFunc)(AtkComponen
- // TODO(crbug.com/40866728): Enable this test.
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
- DISABLED_TestScrollToPoint) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.30 instead of linking directly.
-+ ScrollToPointFunc scroll_to_point = reinterpret_cast<ScrollToPointFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_component_scroll_to_point"));
-+ if (!scroll_to_point) {
-+ LOG(WARNING)
-+ << "Skipping AccessibilityAuraLinuxBrowserTest::TestScrollToPoint"
-+ " because ATK version < 2.30 detected.";
-+ return;
-+ }
-+
- LoadSampleParagraphInScrollableDocument();
- AtkText* atk_text = GetSampleParagraph();
- ASSERT_TRUE(ATK_IS_COMPONENT(atk_text));
-@@ -896,7 +920,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- AccessibilityNotificationWaiter location_changed_waiter(
- shell()->web_contents(), ui::kAXModeComplete,
- ax::mojom::Event::kLocationChanged);
-- atk_component_scroll_to_point(atk_component, ATK_XY_PARENT, 0, 0);
-+ scroll_to_point(atk_component, ATK_XY_PARENT, 0, 0);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
-
- atk_component_get_extents(atk_component, &x, &y, nullptr, nullptr,
-@@ -905,20 +929,20 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_GT(prev_y, y);
-
- constexpr int kScrollToY = 0;
-- atk_component_scroll_to_point(atk_component, ATK_XY_SCREEN, 0, kScrollToY);
-+ scroll_to_point(atk_component, ATK_XY_SCREEN, 0, kScrollToY);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_component_get_extents(atk_component, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(kScrollToY, y);
-
- constexpr int kScrollToY_2 = 243;
-- atk_component_scroll_to_point(atk_component, ATK_XY_SCREEN, 0, kScrollToY_2);
-+ scroll_to_point(atk_component, ATK_XY_SCREEN, 0, kScrollToY_2);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_component_get_extents(atk_component, nullptr, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(kScrollToY_2, y);
-
-- atk_component_scroll_to_point(atk_component, ATK_XY_SCREEN, 0, 129);
-+ scroll_to_point(atk_component, ATK_XY_SCREEN, 0, 129);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_component_get_extents(atk_component, nullptr, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
-@@ -935,6 +959,17 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- // TODO(crbug.com/40866728): Enable this test.
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
- DISABLED_TestScrollTo) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.30 instead of linking directly.
-+ ScrollToFunc scroll_to = reinterpret_cast<ScrollToFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_component_scroll_to"));
-+ if (!scroll_to) {
-+ LOG(WARNING) << "Skipping AccessibilityAuraLinuxBrowserTest::TestScrollTo"
-+ " because ATK version < 2.30 detected.";
-+ return;
-+ }
-+
- LoadInitialAccessibilityTreeFromHtml(
- R"HTML(<!DOCTYPE html>
- <html>
-@@ -976,8 +1011,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- AccessibilityNotificationWaiter waiter(
- shell()->web_contents(), ui::kAXModeComplete,
- ax::mojom::Event::kScrollPositionChanged);
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target), ATK_SCROLL_TOP_EDGE));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target), ATK_SCROLL_TOP_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- int x, y;
- atk_component_get_extents(ATK_COMPONENT(target), &x, &y, nullptr, nullptr,
-@@ -985,40 +1019,35 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_EQ(y, doc_y);
- EXPECT_NE(x, doc_x);
-
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target), ATK_SCROLL_TOP_LEFT));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target), ATK_SCROLL_TOP_LEFT));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_component_get_extents(ATK_COMPONENT(target), &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target), ATK_SCROLL_BOTTOM_EDGE));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target), ATK_SCROLL_BOTTOM_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_component_get_extents(ATK_COMPONENT(target), &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target), ATK_SCROLL_RIGHT_EDGE));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target), ATK_SCROLL_RIGHT_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_component_get_extents(ATK_COMPONENT(target), &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_NE(x, doc_x);
-
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target2), ATK_SCROLL_LEFT_EDGE));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target2), ATK_SCROLL_LEFT_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_component_get_extents(ATK_COMPONENT(target2), &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target2), ATK_SCROLL_TOP_LEFT));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target2), ATK_SCROLL_TOP_LEFT));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_component_get_extents(ATK_COMPONENT(target2), &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
-@@ -1050,10 +1079,39 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- g_object_unref(target2);
- g_object_unref(target3);
- }
-+#endif // defined(ATK_230)
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 32, 0)
-+typedef gboolean (*ScrollSubstringToFunc)(AtkText* text,
-+ gint start_offset,
-+ gint end_offset,
-+ AtkScrollType type);
-+ScrollSubstringToFunc g_scroll_substring_to = nullptr;
-+
-+NO_SANITIZE("cfi-icall")
-+gboolean ScrollSubstringTo(AtkText* text,
-+ gint start_offset,
-+ gint end_offset,
-+ AtkScrollType type) {
-+ EXPECT_NE(g_scroll_substring_to, nullptr);
-+ return g_scroll_substring_to(text, start_offset, end_offset, type);
-+}
-
- // TODO(crbug.com/40866728): Enable this test.
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
- DISABLED_TestScrollSubstringTo) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.32 instead of linking directly.
-+ g_scroll_substring_to = reinterpret_cast<ScrollSubstringToFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_text_scroll_substring_to"));
-+ if (!g_scroll_substring_to) {
-+ LOG(WARNING) << "Skipping "
-+ "AccessibilityAuraLinuxBrowserTest::TestSubstringScrollTo"
-+ " because ATK version < 2.32 detected.";
-+ return;
-+ }
-+
- LoadInitialAccessibilityTreeFromHtml(
- R"HTML(<!DOCTYPE html>
- <html>
-@@ -1087,8 +1145,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- AccessibilityNotificationWaiter waiter(
- shell()->web_contents(), ui::kAXModeComplete,
- ax::mojom::Event::kScrollPositionChanged);
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_TOP_EDGE));
-+ ASSERT_TRUE(ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_TOP_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- int x, y;
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
-@@ -1096,40 +1153,37 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_EQ(y, doc_y);
- EXPECT_NE(x, doc_x);
-
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_TOP_LEFT));
-+ ASSERT_TRUE(ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_TOP_LEFT));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_BOTTOM_EDGE));
-+ ASSERT_TRUE(
-+ ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_BOTTOM_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_RIGHT_EDGE));
-+ ASSERT_TRUE(
-+ ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_RIGHT_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_NE(x, doc_x);
-
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_LEFT_EDGE));
-+ ASSERT_TRUE(ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_LEFT_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_TOP_LEFT));
-+ ASSERT_TRUE(ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_TOP_LEFT));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
-@@ -1139,9 +1193,42 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- g_object_unref(target1);
- }
-
-+typedef gboolean (*ScrollSubstringToPointFunc)(AtkText* text,
-+ gint start_offset,
-+ gint end_offset,
-+ AtkCoordType coord_type,
-+ gint x,
-+ gint y);
-+ScrollSubstringToPointFunc g_scroll_substring_to_point = nullptr;
-+
-+NO_SANITIZE("cfi-icall")
-+gboolean ScrollSubstringToPoint(AtkText* text,
-+ gint start_offset,
-+ gint end_offset,
-+ AtkCoordType coord_type,
-+ gint x,
-+ gint y) {
-+ EXPECT_NE(g_scroll_substring_to_point, nullptr);
-+ return g_scroll_substring_to_point(text, start_offset, end_offset, coord_type,
-+ x, y);
-+}
-+
- // TODO(crbug.com/40866728): Enable this test.
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
- DISABLED_TestScrollSubstringToPoint) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.30 instead of linking directly.
-+ g_scroll_substring_to_point = reinterpret_cast<ScrollSubstringToPointFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_text_scroll_substring_to_point"));
-+ if (!g_scroll_substring_to_point) {
-+ LOG(WARNING)
-+ << "Skipping "
-+ "AccessibilityAuraLinuxBrowserTest::TestScrollSubstringToPoint"
-+ " because ATK version < 2.30 detected.";
-+ return;
-+ }
-+
- LoadSampleParagraphInScrollableDocument();
- AtkText* atk_text = GetSampleParagraph();
- ASSERT_TRUE(ATK_IS_COMPONENT(atk_text));
-@@ -1154,7 +1241,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- AccessibilityNotificationWaiter location_changed_waiter(
- shell()->web_contents(), ui::kAXModeComplete,
- ax::mojom::Event::kLocationChanged);
-- atk_text_scroll_substring_to_point(atk_text, 1, 2, ATK_XY_PARENT, 0, 0);
-+ ScrollSubstringToPoint(atk_text, 1, 2, ATK_XY_PARENT, 0, 0);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
-
- atk_text_get_character_extents(atk_text, 1, &x, &y, nullptr, nullptr,
-@@ -1163,22 +1250,20 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_GT(prev_y, y);
-
- constexpr int kScrollToY = 0;
-- atk_text_scroll_substring_to_point(atk_text, 1, 2, ATK_XY_SCREEN, 0,
-- kScrollToY);
-+ ScrollSubstringToPoint(atk_text, 1, 2, ATK_XY_SCREEN, 0, kScrollToY);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_text_get_character_extents(atk_text, 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(kScrollToY, y);
-
- constexpr int kScrollToY_2 = 243;
-- atk_text_scroll_substring_to_point(atk_text, 1, 2, ATK_XY_SCREEN, 0,
-- kScrollToY_2);
-+ ScrollSubstringToPoint(atk_text, 1, 2, ATK_XY_SCREEN, 0, kScrollToY_2);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_text_get_character_extents(atk_text, 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(kScrollToY_2, y);
-
-- atk_text_scroll_substring_to_point(atk_text, 1, 2, ATK_XY_SCREEN, 0, 129);
-+ ScrollSubstringToPoint(atk_text, 1, 2, ATK_XY_SCREEN, 0, 129);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_text_get_character_extents(atk_text, 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
-@@ -1194,6 +1279,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
-
- g_object_unref(atk_text);
- }
-+#endif // defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 32, 0)
-
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
- // Flaky on crbug.com/1026149
-diff -up chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.cc.than chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.cc
---- chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.cc.than 2025-02-12 02:31:02.000000000 +0100
-+++ chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.cc 2025-02-17 17:13:30.972343990 +0100
-@@ -48,14 +48,33 @@
- #include "ui/accessibility/platform/child_iterator.h"
- #include "ui/gfx/geometry/rect_conversions.h"
-
--// Function availability can be tested by checking whether its address is not
--// nullptr.
--#define WEAK_ATK_FN(x) extern "C" __attribute__((weak)) decltype(x) x
--
--// TODO(https://crbug.com/40549424): This may be removed when support for
--// Ubuntu 18.04 is dropped.
--WEAK_ATK_FN(atk_component_scroll_to_point);
--WEAK_ATK_FN(atk_text_scroll_substring_to_point);
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 10, 0)
-+#define ATK_210
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 12, 0)
-+#define ATK_212
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 16, 0)
-+#define ATK_216
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 26, 0)
-+#define ATK_226
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 30, 0)
-+#define ATK_230
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 32, 0)
-+#define ATK_232
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 34, 0)
-+#define ATK_234
-+#endif
-
- namespace ui {
-
-@@ -147,11 +166,29 @@ AtkObject* g_active_top_level_frame = nu
-
- AtkObject* g_active_views_dialog = nullptr;
-
-+#if defined(ATK_216)
- constexpr AtkRole kStaticRole = ATK_ROLE_STATIC;
- constexpr AtkRole kSubscriptRole = ATK_ROLE_SUBSCRIPT;
- constexpr AtkRole kSuperscriptRole = ATK_ROLE_SUPERSCRIPT;
-+#else
-+constexpr AtkRole kStaticRole = ATK_ROLE_TEXT;
-+constexpr AtkRole kSubscriptRole = ATK_ROLE_TEXT;
-+constexpr AtkRole kSuperscriptRole = ATK_ROLE_TEXT;
-+#endif
-
-+#if defined(ATK_226)
- constexpr AtkRole kAtkFootnoteRole = ATK_ROLE_FOOTNOTE;
-+#else
-+constexpr AtkRole kAtkFootnoteRole = ATK_ROLE_LIST_ITEM;
-+#endif
-+
-+#if defined(ATK_234)
-+constexpr AtkRole kAtkRoleContentDeletion = ATK_ROLE_CONTENT_DELETION;
-+constexpr AtkRole kAtkRoleContentInsertion = ATK_ROLE_CONTENT_INSERTION;
-+#else
-+constexpr AtkRole kAtkRoleContentDeletion = ATK_ROLE_SECTION;
-+constexpr AtkRole kAtkRoleContentInsertion = ATK_ROLE_SECTION;
-+#endif
-
- using GetTypeFunc = GType (*)();
- using GetColumnHeaderCellsFunc = GPtrArray* (*)(AtkTableCell* cell);
-@@ -162,6 +199,11 @@ using GetRowColumnSpanFunc = bool (*)(At
- gint* row_span,
- gint* col_span);
-
-+static GetTypeFunc g_atk_table_cell_get_type;
-+static GetColumnHeaderCellsFunc g_atk_table_cell_get_column_header_cells;
-+static GetRowHeaderCellsFunc g_atk_table_cell_get_row_header_cells;
-+static GetRowColumnSpanFunc g_atk_table_cell_get_row_column_span;
-+
- // The ATK API often requires pointers to be used as out arguments, while
- // allowing for those pointers to be null if the caller is not interested in
- // the value. This function is a simpler helper to avoid continually checking
-@@ -171,35 +213,17 @@ void SetIntPointerValueIfNotNull(int* po
- *pointer = value;
- }
-
--// TODO(https://crbug.com/40549424): This may be removed when support for
--// Ubuntu 18.04 is dropped.
-+#if defined(ATK_230)
- bool SupportsAtkComponentScrollingInterface() {
-- return atk_component_scroll_to_point;
-+ return dlsym(RTLD_DEFAULT, "atk_component_scroll_to_point");
- }
-+#endif
-
--// TODO(https://crbug.com/40549424): This may be removed when support for
--// Ubuntu 18.04 is dropped.
-+#if defined(ATK_232)
- bool SupportsAtkTextScrollingInterface() {
-- return atk_text_scroll_substring_to_point;
--}
--
--// TODO(https://crbug.com/40549424): This may be removed when support for
--// Ubuntu 18.04 is dropped.
--AtkRole GetAtkRoleContentDeletion() {
-- base::Version atk_version(atk_get_version());
-- return atk_version.CompareTo(base::Version("2.34.0")) >= 0
-- ? ATK_ROLE_CONTENT_DELETION
-- : ATK_ROLE_SECTION;
--}
--
--// TODO(https://crbug.com/40549424): This may be removed when support for
--// Ubuntu 18.04 is dropped.
--AtkRole GetAtkRoleContentInsertion() {
-- base::Version atk_version(atk_get_version());
-- return atk_version.CompareTo(base::Version("2.34.0")) >= 0
-- ? ATK_ROLE_CONTENT_INSERTION
-- : ATK_ROLE_SECTION;
-+ return dlsym(RTLD_DEFAULT, "atk_text_scroll_substring_to_point");
- }
-+#endif
-
- AtkObject* FindAtkObjectParentFrame(AtkObject* atk_object) {
- AXPlatformNodeAuraLinux* node =
-@@ -298,10 +322,12 @@ AXCoordinateSystem AtkCoordTypeToAXCoord
- return AXCoordinateSystem::kScreenDIPs;
- case ATK_XY_WINDOW:
- return AXCoordinateSystem::kRootFrame;
-+#if defined(ATK_230)
- case ATK_XY_PARENT:
- // AXCoordinateSystem does not support parent coordinates.
- NOTIMPLEMENTED();
- return AXCoordinateSystem::kFrame;
-+#endif
- default:
- return AXCoordinateSystem::kScreenDIPs;
- }
-@@ -514,6 +540,7 @@ gboolean GrabFocus(AtkComponent* atk_com
- return obj->GrabFocus();
- }
-
-+#if defined(ATK_230)
- gboolean ScrollTo(AtkComponent* atk_component, AtkScrollType scroll_type) {
- g_return_val_if_fail(ATK_IS_COMPONENT(atk_component), FALSE);
-
-@@ -540,6 +567,7 @@ gboolean ScrollToPoint(AtkComponent* atk
- obj->ScrollToPoint(atk_coord_type, x, y);
- return TRUE;
- }
-+#endif
-
- void Init(AtkComponentIface* iface) {
- iface->get_extents = GetExtents;
-@@ -547,10 +575,12 @@ void Init(AtkComponentIface* iface) {
- iface->get_size = GetSize;
- iface->ref_accessible_at_point = RefAccesibleAtPoint;
- iface->grab_focus = GrabFocus;
-+#if defined(ATK_230)
- if (SupportsAtkComponentScrollingInterface()) {
- iface->scroll_to = ScrollTo;
- iface->scroll_to_point = ScrollToPoint;
- }
-+#endif
- }
-
- const GInterfaceInfo Info = {reinterpret_cast<GInterfaceInitFunc>(Init),
-@@ -1311,6 +1341,7 @@ gboolean AddSelection(AtkText* atk_text,
- return SetSelection(atk_text, 0, start_offset, end_offset);
- }
-
-+#if defined(ATK_210)
- char* GetStringAtOffset(AtkText* atk_text,
- int offset,
- AtkTextGranularity atk_granularity,
-@@ -1325,7 +1356,9 @@ char* GetStringAtOffset(AtkText* atk_tex
- return GetTextWithBoundaryType(atk_text, offset, boundary, start_offset,
- end_offset);
- }
-+#endif
-
-+#if defined(ATK_230)
- gfx::Rect GetUnclippedParentHypertextRangeBoundsRect(
- AXPlatformNodeDelegate* ax_platform_node_delegate,
- const int start_offset,
-@@ -1349,6 +1382,7 @@ gfx::Rect GetUnclippedParentHypertextRan
- AXClippingBehavior::kClipped)
- .OffsetFromOrigin();
- }
-+#endif
-
- void GetCharacterExtents(AtkText* atk_text,
- int offset,
-@@ -1364,10 +1398,12 @@ void GetCharacterExtents(AtkText* atk_te
- AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(atk_text));
- if (obj) {
- switch (coordinate_type) {
-+#if defined(ATK_230)
- case ATK_XY_PARENT:
- rect = GetUnclippedParentHypertextRangeBoundsRect(obj->GetDelegate(),
- offset, offset + 1);
- break;
-+#endif
- default:
- rect = obj->GetDelegate()->GetHypertextRangeBoundsRect(
- obj->UnicodeToUTF16OffsetInText(offset),
-@@ -1403,10 +1439,12 @@ void GetRangeExtents(AtkText* atk_text,
- AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(atk_text));
- if (obj) {
- switch (coordinate_type) {
-+#if defined(ATK_230)
- case ATK_XY_PARENT:
- rect = GetUnclippedParentHypertextRangeBoundsRect(
- obj->GetDelegate(), start_offset, end_offset);
- break;
-+#endif
- default:
- rect = obj->GetDelegate()->GetHypertextRangeBoundsRect(
- obj->UnicodeToUTF16OffsetInText(start_offset),
-@@ -1456,6 +1494,7 @@ AtkAttributeSet* GetDefaultAttributes(At
- return ToAtkAttributeSet(obj->GetDefaultTextAttributes());
- }
-
-+#if defined(ATK_232)
- gboolean ScrollSubstringTo(AtkText* atk_text,
- gint start_offset,
- gint end_offset,
-@@ -1486,6 +1525,7 @@ gboolean ScrollSubstringToPoint(AtkText*
- return obj->ScrollSubstringToPoint(start_offset, end_offset, atk_coord_type,
- x, y);
- }
-+#endif // ATK_232
-
- void Init(AtkTextIface* iface) {
- iface->get_text = GetText;
-@@ -1508,12 +1548,16 @@ void Init(AtkTextIface* iface) {
- iface->get_run_attributes = GetRunAttributes;
- iface->get_default_attributes = GetDefaultAttributes;
-
-+#if defined(ATK_210)
- iface->get_string_at_offset = GetStringAtOffset;
-+#endif
-
-+#if defined(ATK_232)
- if (SupportsAtkTextScrollingInterface()) {
- iface->scroll_substring_to = ScrollSubstringTo;
- iface->scroll_substring_to_point = ScrollSubstringToPoint;
- }
-+#endif
- }
-
- const GInterfaceInfo Info = {reinterpret_cast<GInterfaceInitFunc>(Init),
-@@ -1916,11 +1960,15 @@ const GInterfaceInfo Info = {reinterpret
-
- } // namespace atk_table
-
-+// The ATK table cell interface was added in ATK 2.12.
-+#if defined(ATK_212)
-+
- namespace atk_table_cell {
-
- gint GetColumnSpan(AtkTableCell* cell) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), 0);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()), 0);
-
- if (const AXPlatformNodeBase* obj =
- AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(cell))) {
-@@ -1932,8 +1980,10 @@ gint GetColumnSpan(AtkTableCell* cell) {
- }
-
- GPtrArray* GetColumnHeaderCells(AtkTableCell* cell) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), nullptr);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()),
-+ nullptr);
-
- GPtrArray* array = g_ptr_array_new_with_free_func(g_object_unref);
-
-@@ -1967,8 +2017,10 @@ GPtrArray* GetColumnHeaderCells(AtkTable
- }
-
- gboolean GetCellPosition(AtkTableCell* cell, gint* row, gint* column) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), FALSE);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()),
-+ FALSE);
-
- if (auto* obj = AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(cell))) {
- std::optional<int> row_index = obj->GetTableRow();
-@@ -1985,8 +2037,9 @@ gboolean GetCellPosition(AtkTableCell* c
- }
-
- gint GetRowSpan(AtkTableCell* cell) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), 0);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()), 0);
-
- if (auto* obj = AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(cell))) {
- // If the object is not a cell, we return 0.
-@@ -1997,8 +2050,10 @@ gint GetRowSpan(AtkTableCell* cell) {
- }
-
- GPtrArray* GetRowHeaderCells(AtkTableCell* cell) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), nullptr);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()),
-+ nullptr);
-
- GPtrArray* array = g_ptr_array_new_with_free_func(g_object_unref);
-
-@@ -2032,8 +2087,10 @@ GPtrArray* GetRowHeaderCells(AtkTableCel
- }
-
- AtkObject* GetTable(AtkTableCell* cell) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), nullptr);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()),
-+ nullptr);
-
- if (auto* obj = AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(cell))) {
- if (auto* table = obj->GetTable())
-@@ -2059,6 +2116,8 @@ const GInterfaceInfo Info = {reinterpret
-
- } // namespace atk_table_cell
-
-+#endif // ATK_212
-+
- namespace atk_object {
-
- gpointer kAXPlatformNodeAuraLinuxParentClass = nullptr;
-@@ -2325,6 +2384,50 @@ void Detach(AXPlatformNodeAuraLinuxObjec
-
- } // namespace
-
-+// static
-+NO_SANITIZE("cfi-icall")
-+GType AtkTableCellInterface::GetType() {
-+ return g_atk_table_cell_get_type();
-+}
-+
-+// static
-+NO_SANITIZE("cfi-icall")
-+GPtrArray* AtkTableCellInterface::GetColumnHeaderCells(AtkTableCell* cell) {
-+ return g_atk_table_cell_get_column_header_cells(cell);
-+}
-+
-+// static
-+NO_SANITIZE("cfi-icall")
-+GPtrArray* AtkTableCellInterface::GetRowHeaderCells(AtkTableCell* cell) {
-+ return g_atk_table_cell_get_row_header_cells(cell);
-+}
-+
-+// static
-+NO_SANITIZE("cfi-icall")
-+bool AtkTableCellInterface::GetRowColumnSpan(AtkTableCell* cell,
-+ gint* row,
-+ gint* column,
-+ gint* row_span,
-+ gint* col_span) {
-+ return g_atk_table_cell_get_row_column_span(cell, row, column, row_span,
-+ col_span);
-+}
-+
-+// static
-+bool AtkTableCellInterface::Exists() {
-+ g_atk_table_cell_get_type = reinterpret_cast<GetTypeFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_table_cell_get_type"));
-+ g_atk_table_cell_get_column_header_cells =
-+ reinterpret_cast<GetColumnHeaderCellsFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_table_cell_get_column_header_cells"));
-+ g_atk_table_cell_get_row_header_cells =
-+ reinterpret_cast<GetRowHeaderCellsFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_table_cell_get_row_header_cells"));
-+ g_atk_table_cell_get_row_column_span = reinterpret_cast<GetRowColumnSpanFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_table_cell_get_row_column_span"));
-+ return *g_atk_table_cell_get_type;
-+}
-+
- void AXPlatformNodeAuraLinux::EnsureGTypeInit() {
- #if !GLIB_CHECK_VERSION(2, 36, 0)
- static bool first_time = true;
-@@ -2432,8 +2535,11 @@ GType AXPlatformNodeAuraLinux::GetAccess
- g_type_add_interface_static(type, ATK_TYPE_TABLE, &atk_table::Info);
-
- if (interface_mask_.Implements(ImplementedAtkInterfaces::Value::kTableCell)) {
-- g_type_add_interface_static(type, atk_table_cell_get_type(),
-- &atk_table_cell::Info);
-+ // Run-time check to ensure AtkTableCell is supported (requires ATK 2.12).
-+ if (AtkTableCellInterface::Exists()) {
-+ g_type_add_interface_static(type, AtkTableCellInterface::GetType(),
-+ &atk_table_cell::Info);
-+ }
- }
-
- return type;
-@@ -2668,9 +2774,9 @@ AtkRole AXPlatformNodeAuraLinux::GetAtkR
- case ax::mojom::Role::kComplementary:
- return ATK_ROLE_LANDMARK;
- case ax::mojom::Role::kContentDeletion:
-- return GetAtkRoleContentDeletion();
-+ return kAtkRoleContentDeletion;
- case ax::mojom::Role::kContentInsertion:
-- return GetAtkRoleContentInsertion();
-+ return kAtkRoleContentInsertion;
- case ax::mojom::Role::kContentInfo:
- case ax::mojom::Role::kFooter:
- return ATK_ROLE_LANDMARK;
-@@ -3106,12 +3212,14 @@ void AXPlatformNodeAuraLinux::GetAtkStat
- static_cast<int32_t>(ax::mojom::AriaCurrentState::kFalse)) {
- atk_state_set_add_state(atk_state_set, ATK_STATE_ACTIVE);
- }
-+#if defined(ATK_216)
- // Runtime checks in case we were compiled with a newer version of ATK.
- if (IsPlatformCheckable() && PlatformSupportsState(ATK_STATE_CHECKABLE))
- atk_state_set_add_state(atk_state_set, ATK_STATE_CHECKABLE);
- if (HasIntAttribute(ax::mojom::IntAttribute::kHasPopup) &&
- PlatformSupportsState(ATK_STATE_HAS_POPUP))
- atk_state_set_add_state(atk_state_set, ATK_STATE_HAS_POPUP);
-+#endif
- if (GetBoolAttribute(ax::mojom::BoolAttribute::kBusy))
- atk_state_set_add_state(atk_state_set, ATK_STATE_BUSY);
- if (GetBoolAttribute(ax::mojom::BoolAttribute::kModal))
-@@ -3150,9 +3258,11 @@ void AXPlatformNodeAuraLinux::GetAtkStat
- if (GetData().GetRestriction() != ax::mojom::Restriction::kDisabled) {
- if (GetDelegate()->IsReadOnlySupported() &&
- GetDelegate()->IsReadOnlyOrDisabled()) {
-+#if defined(ATK_216)
- // Runtime check in case we were compiled with a newer version of ATK.
- if (PlatformSupportsState(ATK_STATE_READ_ONLY))
- atk_state_set_add_state(atk_state_set, ATK_STATE_READ_ONLY);
-+#endif
- } else {
- atk_state_set_add_state(atk_state_set, ATK_STATE_ENABLED);
- atk_state_set_add_state(atk_state_set, ATK_STATE_SENSITIVE);
-@@ -3186,12 +3296,16 @@ struct AtkIntListRelation {
- static AtkIntListRelation kIntListRelations[] = {
- {ax::mojom::IntListAttribute::kControlsIds, ATK_RELATION_CONTROLLER_FOR,
- ATK_RELATION_CONTROLLED_BY},
-+#if defined(ATK_226)
- {ax::mojom::IntListAttribute::kDetailsIds, ATK_RELATION_DETAILS,
- ATK_RELATION_DETAILS_FOR},
-+#endif
- {ax::mojom::IntListAttribute::kDescribedbyIds, ATK_RELATION_DESCRIBED_BY,
- ATK_RELATION_DESCRIPTION_FOR},
-+#if defined(ATK_226)
- {ax::mojom::IntListAttribute::kErrormessageIds, ATK_RELATION_ERROR_MESSAGE,
- ATK_RELATION_ERROR_FOR},
-+#endif
- {ax::mojom::IntListAttribute::kFlowtoIds, ATK_RELATION_FLOWS_TO,
- ATK_RELATION_FLOWS_FROM},
- {ax::mojom::IntListAttribute::kLabelledbyIds, ATK_RELATION_LABELLED_BY,
-@@ -3982,6 +4096,7 @@ void AXPlatformNodeAuraLinux::OnReadonly
- if (!obj)
- return;
-
-+#if defined(ATK_216)
- // Runtime check in case we were compiled with a newer version of ATK.
- if (!PlatformSupportsState(ATK_STATE_READ_ONLY))
- return;
-@@ -3989,6 +4104,7 @@ void AXPlatformNodeAuraLinux::OnReadonly
- atk_object_notify_state_change(
- obj, ATK_STATE_READ_ONLY,
- GetData().GetRestriction() == ax::mojom::Restriction::kReadOnly);
-+#endif
- }
-
- void AXPlatformNodeAuraLinux::OnInvalidStatusChanged() {
-@@ -4315,11 +4431,13 @@ gfx::Rect AXPlatformNodeAuraLinux::GetEx
- extents.Offset(window_origin);
- break;
- }
-+#if defined(ATK_230)
- case ATK_XY_PARENT: {
- gfx::Vector2d parent_origin = -GetParentOriginInScreenCoordinates();
- extents.Offset(parent_origin);
- break;
- }
-+#endif
- }
-
- return extents;
-@@ -4761,6 +4879,7 @@ bool AXPlatformNodeAuraLinux::IsInLiveRe
- return HasStringAttribute(ax::mojom::StringAttribute::kContainerLiveStatus);
- }
-
-+#if defined(ATK_230)
- void AXPlatformNodeAuraLinux::ScrollToPoint(AtkCoordType atk_coord_type,
- int x,
- int y) {
-@@ -4833,7 +4952,9 @@ void AXPlatformNodeAuraLinux::ScrollNode
- rect -= rect.OffsetFromOrigin();
- ScrollNodeRectIntoView(rect, atk_scroll_type);
- }
-+#endif // defined(ATK_230)
-
-+#if defined(ATK_232)
- std::optional<gfx::Rect>
- AXPlatformNodeAuraLinux::GetUnclippedHypertextRangeBoundsRect(int start_offset,
- int end_offset) {
-@@ -4892,6 +5013,7 @@ bool AXPlatformNodeAuraLinux::ScrollSubs
-
- return true;
- }
-+#endif // defined(ATK_232)
-
- void AXPlatformNodeAuraLinux::ComputeStylesIfNeeded() {
- if (!offset_to_text_attributes_.empty())
-@@ -5074,8 +5196,10 @@ gfx::Point AXPlatformNodeAuraLinux::Conv
- switch (atk_coord_type) {
- case ATK_XY_WINDOW:
- return point + GetParentFrameOriginInScreenCoordinates();
-+#if defined(ATK_230)
- case ATK_XY_PARENT:
- return point + GetParentOriginInScreenCoordinates();
-+#endif
- case ATK_XY_SCREEN:
- default:
- return point;
-diff -up chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.h.than chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.h
---- chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.h.than 2025-02-12 02:31:02.000000000 +0100
-+++ chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.h 2025-02-17 17:13:30.973344015 +0100
-@@ -52,6 +52,31 @@ struct FindInPageResultInfo {
- }
- };
-
-+// AtkTableCell was introduced in ATK 2.12. Ubuntu Trusty has ATK 2.10.
-+// Compile-time checks are in place for ATK versions that are older than 2.12.
-+// However, we also need runtime checks in case the version we are building
-+// against is newer than the runtime version. To prevent a runtime error, we
-+// check that we have a version of ATK that supports AtkTableCell. If we do,
-+// we dynamically load the symbol; if we don't, the interface is absent from
-+// the accessible object and its methods will not be exposed or callable.
-+// The definitions below ensure we have no missing symbols. Note that in
-+// environments where we have ATK > 2.12, the definitions of AtkTableCell and
-+// AtkTableCellIface below are overridden by the runtime version.
-+// TODO(accessibility) Remove AtkTableCellInterface when 2.12 is the minimum
-+// supported version.
-+struct COMPONENT_EXPORT(AX_PLATFORM) AtkTableCellInterface {
-+ typedef struct _AtkTableCell AtkTableCell;
-+ static GType GetType();
-+ static GPtrArray* GetColumnHeaderCells(AtkTableCell* cell);
-+ static GPtrArray* GetRowHeaderCells(AtkTableCell* cell);
-+ static bool GetRowColumnSpan(AtkTableCell* cell,
-+ gint* row,
-+ gint* column,
-+ gint* row_span,
-+ gint* col_span);
-+ static bool Exists();
-+};
-+
- // This class with an enum is used to generate a bitmask which tracks the ATK
- // interfaces that an AXPlatformNodeAuraLinux's ATKObject implements.
- class ImplementedAtkInterfaces {
-diff -up chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux_unittest.cc.than chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux_unittest.cc
---- chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux_unittest.cc.than 2025-02-12 02:31:02.000000000 +0100
-+++ chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux_unittest.cc 2025-02-17 17:13:30.973344015 +0100
-@@ -11,6 +11,7 @@
-
- #include <atk/atk.h>
-
-+#include <dlfcn.h>
- #include <array>
- #include <utility>
- #include <vector>
-@@ -887,6 +888,17 @@ typedef bool (*ScrollToPointFunc)(AtkCom
- typedef bool (*ScrollToFunc)(AtkComponent* component, AtkScrollType type);
-
- TEST_F(AXPlatformNodeAuraLinuxTest, AtkComponentScrollToPoint) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.30 instead of linking directly.
-+ ScrollToPointFunc scroll_to_point = reinterpret_cast<ScrollToPointFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_component_scroll_to_point"));
-+ if (!scroll_to_point) {
-+ LOG(WARNING) << "Skipping AtkComponentScrollToPoint"
-+ " because ATK version < 2.30 detected.";
-+ return;
-+ }
-+
- AXNodeData root;
- root.id = 1;
- root.role = ax::mojom::Role::kRootWebArea;
-@@ -914,8 +926,7 @@ TEST_F(AXPlatformNodeAuraLinuxTest, AtkC
- EXPECT_EQ(10, width);
- EXPECT_EQ(10, height);
-
-- atk_component_scroll_to_point(ATK_COMPONENT(child_obj), ATK_XY_SCREEN, 600,
-- 650);
-+ scroll_to_point(ATK_COMPONENT(child_obj), ATK_XY_SCREEN, 600, 650);
- atk_component_get_extents(ATK_COMPONENT(child_obj), &x_left, &y_top, &width,
- &height, ATK_XY_SCREEN);
- EXPECT_EQ(610, x_left);
-@@ -923,8 +934,7 @@ TEST_F(AXPlatformNodeAuraLinuxTest, AtkC
- EXPECT_EQ(10, width);
- EXPECT_EQ(10, height);
-
-- atk_component_scroll_to_point(ATK_COMPONENT(child_obj), ATK_XY_PARENT, 10,
-- 10);
-+ scroll_to_point(ATK_COMPONENT(child_obj), ATK_XY_PARENT, 10, 10);
- atk_component_get_extents(ATK_COMPONENT(child_obj), &x_left, &y_top, &width,
- &height, ATK_XY_SCREEN);
- // The test wrapper scrolls every element when scrolling, so this should be
-@@ -941,6 +951,17 @@ TEST_F(AXPlatformNodeAuraLinuxTest, AtkC
- }
-
- TEST_F(AXPlatformNodeAuraLinuxTest, AtkComponentScrollTo) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.30 instead of linking directly.
-+ ScrollToFunc scroll_to = reinterpret_cast<ScrollToFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_component_scroll_to"));
-+ if (!scroll_to) {
-+ LOG(WARNING) << "Skipping AtkComponentScrollTo"
-+ " because ATK version < 2.30 detected.";
-+ return;
-+ }
-+
- AXNodeData root;
- root.id = 1;
- root.role = ax::mojom::Role::kRootWebArea;
-@@ -968,7 +989,7 @@ TEST_F(AXPlatformNodeAuraLinuxTest, AtkC
- EXPECT_EQ(10, width);
- EXPECT_EQ(10, height);
-
-- atk_component_scroll_to(ATK_COMPONENT(child_obj), ATK_SCROLL_ANYWHERE);
-+ scroll_to(ATK_COMPONENT(child_obj), ATK_SCROLL_ANYWHERE);
- atk_component_get_extents(ATK_COMPONENT(child_obj), &x_left, &y_top, &width,
- &height, ATK_XY_SCREEN);
- EXPECT_EQ(0, x_left);
-diff -up chromium-134.0.6998.15/ui/accessibility/platform/inspect/ax_tree_formatter_auralinux.cc.than chromium-134.0.6998.15/ui/accessibility/platform/inspect/ax_tree_formatter_auralinux.cc
---- chromium-134.0.6998.15/ui/accessibility/platform/inspect/ax_tree_formatter_auralinux.cc.than 2025-02-12 02:31:02.000000000 +0100
-+++ chromium-134.0.6998.15/ui/accessibility/platform/inspect/ax_tree_formatter_auralinux.cc 2025-02-17 17:13:30.974344040 +0100
-@@ -474,18 +474,34 @@ void AXTreeFormatterAuraLinux::AddTableC
- int row = 0, col = 0, row_span = 0, col_span = 0;
- int n_row_headers = 0, n_column_headers = 0;
-
-- AtkTableCell* cell = G_TYPE_CHECK_INSTANCE_CAST(
-- (atk_object), atk_table_cell_get_type(), AtkTableCell);
-+ // Properties obtained via AtkTableCell, if possible. If we do not have at
-+ // least ATK 2.12, use the same logic in our AtkTableCell implementation so
-+ // that tests can still be run.
-+ if (AtkTableCellInterface::Exists()) {
-+ AtkTableCell* cell = G_TYPE_CHECK_INSTANCE_CAST(
-+ (atk_object), AtkTableCellInterface::GetType(), AtkTableCell);
-
-- atk_table_cell_get_row_column_span(cell, &row, &col, &row_span, &col_span);
-+ AtkTableCellInterface::GetRowColumnSpan(cell, &row, &col, &row_span,
-+ &col_span);
-
-- GPtrArray* column_headers = atk_table_cell_get_column_header_cells(cell);
-- n_column_headers = column_headers->len;
-- g_ptr_array_unref(column_headers);
-+ GPtrArray* column_headers =
-+ AtkTableCellInterface::GetColumnHeaderCells(cell);
-+ n_column_headers = column_headers->len;
-+ g_ptr_array_unref(column_headers);
-
-- GPtrArray* row_headers = atk_table_cell_get_row_header_cells(cell);
-- n_row_headers = row_headers->len;
-- g_ptr_array_unref(row_headers);
-+ GPtrArray* row_headers = AtkTableCellInterface::GetRowHeaderCells(cell);
-+ n_row_headers = row_headers->len;
-+ g_ptr_array_unref(row_headers);
-+ } else {
-+ row = node->GetTableRow().value_or(-1);
-+ col = node->GetTableColumn().value_or(-1);
-+ row_span = node->GetTableRowSpan().value_or(0);
-+ col_span = node->GetTableColumnSpan().value_or(0);
-+ if (role == ATK_ROLE_TABLE_CELL) {
-+ n_column_headers = node->GetDelegate()->GetColHeaderNodeIds(col).size();
-+ n_row_headers = node->GetDelegate()->GetRowHeaderNodeIds(row).size();
-+ }
-+ }
-
- std::vector<std::string> cell_info;
- cell_info.push_back(base::StringPrintf("row=%i", row));
diff --git a/chromium-136-rust-skrifa-build-error.patch b/chromium-136-rust-skrifa-build-error.patch
deleted file mode 100644
index 4170eec..0000000
--- a/chromium-136-rust-skrifa-build-error.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs.than chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs
---- chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs.than 2025-04-29 08:36:33.385071420 +0200
-+++ chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs 2025-04-29 08:42:21.465525421 +0200
-@@ -94,7 +94,7 @@ impl<'a> GlyphNames<'a> {
- _ => None,
- };
- // If name is empty string, synthesize it
-- if name.as_ref().is_none_or(|s| s.is_empty()) {
-+ if name.is_none() || name.as_ref().map_or(false, |s| s.is_empty()) {
- return Some(GlyphName::synthesize(glyph_id));
- }
- Some(name.unwrap_or_else(|| GlyphName::synthesize(glyph_id)))
diff --git a/chromium-136-unsupport-clang-flags.patch b/chromium-136-unsupport-clang-flags.patch
deleted file mode 100644
index a004cb0..0000000
--- a/chromium-136-unsupport-clang-flags.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -up chromium-136.0.7103.48/build/config/compiler/BUILD.gn.than chromium-136.0.7103.48/build/config/compiler/BUILD.gn
---- chromium-136.0.7103.48/build/config/compiler/BUILD.gn.than 2025-04-28 15:44:08.883499599 +0200
-+++ chromium-136.0.7103.48/build/config/compiler/BUILD.gn 2025-04-28 15:44:47.624639772 +0200
-@@ -622,12 +622,6 @@ config("compiler") {
- cflags += [ "-ffp-contract=off" ]
- }
-
-- # Enable ELF CREL (see crbug.com/357878242) for all platforms that use ELF
-- # (excluding toolchains that use an older version of LLVM).
-- if (is_linux && !llvm_android_mainline &&
-- default_toolchain != "//build/toolchain/cros:target") {
-- cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
-- }
- }
-
- # C11/C++11 compiler flags setup.
-diff -up chromium-136.0.7103.48/tools/licenses/licenses.py.than chromium-136.0.7103.48/tools/licenses/licenses.py
diff --git a/chromium-138-el9-ffmpeg-deprecated-apis.patch b/chromium-138-el9-ffmpeg-deprecated-apis.patch
deleted file mode 100644
index dc230c0..0000000
--- a/chromium-138-el9-ffmpeg-deprecated-apis.patch
+++ /dev/null
@@ -1,158 +0,0 @@
-https://chromium-review.googlesource.com/c/chromium/src/+/6506529
-
-Revert CL rolls ffmpeg as it breaks the build due to old ffmpeg version on EL9
-
-diff -up chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc.me chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc
---- chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc.me 2025-06-23 23:34:26.000000000 +0200
-+++ chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc 2025-06-25 15:13:17.958054182 +0200
-@@ -263,22 +263,22 @@ AVCodecID VideoCodecToCodecID(VideoCodec
- static VideoCodecProfile ProfileIDToVideoCodecProfile(int profile) {
- // Clear out the CONSTRAINED & INTRA flags which are strict subsets of the
- // corresponding profiles with which they're used.
-- profile &= ~AV_PROFILE_H264_CONSTRAINED;
-- profile &= ~AV_PROFILE_H264_INTRA;
-+ profile &= ~FF_PROFILE_H264_CONSTRAINED;
-+ profile &= ~FF_PROFILE_H264_INTRA;
- switch (profile) {
-- case AV_PROFILE_H264_BASELINE:
-+ case FF_PROFILE_H264_BASELINE:
- return H264PROFILE_BASELINE;
-- case AV_PROFILE_H264_MAIN:
-+ case FF_PROFILE_H264_MAIN:
- return H264PROFILE_MAIN;
-- case AV_PROFILE_H264_EXTENDED:
-+ case FF_PROFILE_H264_EXTENDED:
- return H264PROFILE_EXTENDED;
-- case AV_PROFILE_H264_HIGH:
-+ case FF_PROFILE_H264_HIGH:
- return H264PROFILE_HIGH;
-- case AV_PROFILE_H264_HIGH_10:
-+ case FF_PROFILE_H264_HIGH_10:
- return H264PROFILE_HIGH10PROFILE;
-- case AV_PROFILE_H264_HIGH_422:
-+ case FF_PROFILE_H264_HIGH_422:
- return H264PROFILE_HIGH422PROFILE;
-- case AV_PROFILE_H264_HIGH_444_PREDICTIVE:
-+ case FF_PROFILE_H264_HIGH_444_PREDICTIVE:
- return H264PROFILE_HIGH444PREDICTIVEPROFILE;
- default:
- DVLOG(1) << "Unknown profile id: " << profile;
-@@ -289,23 +289,23 @@ static VideoCodecProfile ProfileIDToVide
- static int VideoCodecProfileToProfileID(VideoCodecProfile profile) {
- switch (profile) {
- case H264PROFILE_BASELINE:
-- return AV_PROFILE_H264_BASELINE;
-+ return FF_PROFILE_H264_BASELINE;
- case H264PROFILE_MAIN:
-- return AV_PROFILE_H264_MAIN;
-+ return FF_PROFILE_H264_MAIN;
- case H264PROFILE_EXTENDED:
-- return AV_PROFILE_H264_EXTENDED;
-+ return FF_PROFILE_H264_EXTENDED;
- case H264PROFILE_HIGH:
-- return AV_PROFILE_H264_HIGH;
-+ return FF_PROFILE_H264_HIGH;
- case H264PROFILE_HIGH10PROFILE:
-- return AV_PROFILE_H264_HIGH_10;
-+ return FF_PROFILE_H264_HIGH_10;
- case H264PROFILE_HIGH422PROFILE:
-- return AV_PROFILE_H264_HIGH_422;
-+ return FF_PROFILE_H264_HIGH_422;
- case H264PROFILE_HIGH444PREDICTIVEPROFILE:
-- return AV_PROFILE_H264_HIGH_444_PREDICTIVE;
-+ return FF_PROFILE_H264_HIGH_444_PREDICTIVE;
- default:
- DVLOG(1) << "Unknown VideoCodecProfile: " << profile;
- }
-- return AV_PROFILE_UNKNOWN;
-+ return FF_PROFILE_UNKNOWN;
- }
-
- SampleFormat AVSampleFormatToSampleFormat(AVSampleFormat sample_format,
-@@ -441,7 +441,7 @@ bool AVCodecContextToAudioDecoderConfig(
- // TODO(dalecurtis): Just use the profile from the codec context if ffmpeg
- // ever starts supporting xHE-AAC.
- // FFmpeg provides the (defined_profile - 1) for AVCodecContext::profile
-- if (codec_context->profile == AV_PROFILE_UNKNOWN ||
-+ if (codec_context->profile == FF_PROFILE_UNKNOWN ||
- codec_context->profile == mp4::AAC::kXHeAAcType - 1) {
- // Errors aren't fatal here, so just drop any MediaLog messages.
- NullMediaLog media_log;
-@@ -659,16 +659,16 @@ bool AVStreamToVideoDecoderConfig(const
- break;
- case VideoCodec::kVP9:
- switch (codec_context->profile) {
-- case AV_PROFILE_VP9_0:
-+ case FF_PROFILE_VP9_0:
- profile = VP9PROFILE_PROFILE0;
- break;
-- case AV_PROFILE_VP9_1:
-+ case FF_PROFILE_VP9_1:
- profile = VP9PROFILE_PROFILE1;
- break;
-- case AV_PROFILE_VP9_2:
-+ case FF_PROFILE_VP9_2:
- profile = VP9PROFILE_PROFILE2;
- break;
-- case AV_PROFILE_VP9_3:
-+ case FF_PROFILE_VP9_3:
- profile = VP9PROFILE_PROFILE3;
- break;
- default:
-diff -up chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter.cc.me chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter.cc
---- chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter.cc.me 2026-05-05 15:25:38.693195463 +0200
-+++ chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter.cc 2026-05-05 15:26:52.282371003 +0200
-@@ -64,17 +64,17 @@ bool GenerateAdtsHeader(int codec,
- UNSAFE_TODO(hdr[1]) |= 1;
-
- switch (audio_profile) {
-- case AV_PROFILE_AAC_MAIN:
-+ case FF_PROFILE_AAC_MAIN:
- break;
-- case AV_PROFILE_AAC_HE:
-- case AV_PROFILE_AAC_HE_V2:
-- case AV_PROFILE_AAC_LOW:
-+ case FF_PROFILE_AAC_HE:
-+ case FF_PROFILE_AAC_HE_V2:
-+ case FF_PROFILE_AAC_LOW:
- UNSAFE_TODO(hdr[2]) |= (1 << 6);
- break;
-- case AV_PROFILE_AAC_SSR:
-+ case FF_PROFILE_AAC_SSR:
- UNSAFE_TODO(hdr[2]) |= (2 << 6);
- break;
-- case AV_PROFILE_AAC_LTP:
-+ case FF_PROFILE_AAC_LTP:
- UNSAFE_TODO(hdr[2]) |= (3 << 6);
- break;
- default:
-diff -up chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc.me chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc
---- chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc.me 2026-05-05 15:27:26.490652155 +0200
-+++ chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc 2026-05-05 15:27:34.149195358 +0200
-@@ -40,7 +40,7 @@ class FFmpegAACBitstreamConverterTest :
- base::byte_span_from_ref(base::allow_nonunique_obj, test_parameters_),
- 0);
- test_parameters_.codec_id = AV_CODEC_ID_AAC;
-- test_parameters_.profile = AV_PROFILE_AAC_MAIN;
-+ test_parameters_.profile = FF_PROFILE_AAC_MAIN;
- test_parameters_.ch_layout.nb_channels = 2;
- test_parameters_.extradata = extradata_header_;
- test_parameters_.extradata_size = sizeof(extradata_header_);
-@@ -126,7 +126,7 @@ TEST_F(FFmpegAACBitstreamConverterTest,
-
- EXPECT_EQ(profile, kAacMainProfile);
-
-- test_parameters_.profile = AV_PROFILE_AAC_HE;
-+ test_parameters_.profile = FF_PROFILE_AAC_HE;
- FFmpegAACBitstreamConverter converter_he(&test_parameters_);
-
- test_packet = ScopedAVPacket::Allocate();
-@@ -139,7 +139,7 @@ TEST_F(FFmpegAACBitstreamConverterTest,
-
- EXPECT_EQ(profile, kAacLowComplexityProfile);
-
-- test_parameters_.profile = AV_PROFILE_AAC_ELD;
-+ test_parameters_.profile = FF_PROFILE_AAC_ELD;
- FFmpegAACBitstreamConverter converter_eld(&test_parameters_);
-
- test_packet = ScopedAVPacket::Allocate();
diff --git a/chromium-148-el9-ffmpeg-build-error.patch b/chromium-148-el9-ffmpeg-build-error.patch
deleted file mode 100644
index 9f25c5e..0000000
--- a/chromium-148-el9-ffmpeg-build-error.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-FIx build error with system ffmpeg-5.1.4 on el9:
-
-../../media/ffmpeg/ffmpeg_common.cc:1008:10: error: use of undeclared identifier 'AV_CH_LAYOUT_5POINT1POINT4_BACK'
- 1008 | case AV_CH_LAYOUT_5POINT1POINT4_BACK:
- | ^
-../../media/ffmpeg/ffmpeg_common.cc:1010:10: error: use of undeclared identifier 'AV_CH_LAYOUT_7POINT1POINT4_BACK'
- 1010 | case AV_CH_LAYOUT_7POINT1POINT4_BACK:
-
-diff -up chromium-148.0.7778.96/media/ffmpeg/ffmpeg_common.cc.me chromium-148.0.7778.96/media/ffmpeg/ffmpeg_common.cc
---- chromium-148.0.7778.96/media/ffmpeg/ffmpeg_common.cc.me 2026-05-08 09:06:12.206525759 +0200
-+++ chromium-148.0.7778.96/media/ffmpeg/ffmpeg_common.cc 2026-05-08 09:15:14.258873177 +0200
-@@ -1005,10 +1005,12 @@ ChannelLayout ChannelLayoutToChromeChann
- case AV_CH_FRONT_LEFT | AV_CH_FRONT_RIGHT | AV_CH_LOW_FREQUENCY |
- AV_CH_BACK_CENTER:
- return CHANNEL_LAYOUT_3_1_BACK;
-+#if LIBAVCODEC_VERSION_MAJOR < 59
- case AV_CH_LAYOUT_5POINT1POINT4_BACK:
- return CHANNEL_LAYOUT_5_1_4;
- case AV_CH_LAYOUT_7POINT1POINT4_BACK:
- return CHANNEL_LAYOUT_7_1_4;
-+#endif
- default:
- // FFmpeg channel_layout is 0 for .wav and .mp3. Attempt to guess layout
- // based on the channel count.
diff --git a/chromium-148-rust-1.95-bytemuck-ftbfs.patch b/chromium-148-rust-1.95-bytemuck-ftbfs.patch
deleted file mode 100644
index b911b71..0000000
--- a/chromium-148-rust-1.95-bytemuck-ftbfs.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-Fix build error with rustc 1.95
-
-error[E0425]: cannot find type `LaneCount` in module `core::simd`
- --> ../../third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs:234:15
- |
-234 | core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- | ^^^^^^^^^ not found in `core::simd`
-error[E0405]: cannot find trait `SupportedLaneCount` in module `core::simd`
- --> ../../third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs:234:41
- |
-234 | core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- | ^^^^^^^^^^^^^^^^^^ not found in `core::simd`
-error[E0425]: cannot find type `LaneCount` in module `core::simd`
- --> ../../third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs:155:15
- |
-155 | core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- | ^^^^^^^^^ not found in `core::simd`
-error[E0405]: cannot find trait `SupportedLaneCount` in module `core::simd`
- --> ../../third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs:155:41
- |
-155 | core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
-
-diff -up chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs.me chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
---- chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs.me 2026-04-28 23:05:57.000000000 +0200
-+++ chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs 2026-05-09 20:39:28.808258788 +0200
-@@ -152,7 +152,6 @@ impl_unsafe_marker_for_simd!(
- unsafe impl<T, const N: usize> Pod for core::simd::Simd<T, N>
- where
- T: core::simd::SimdElement + Pod,
-- core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- {
- }
-
-@@ -165,6 +164,7 @@ where
- unsafe impl<T, const N: usize> Pod for core::simd::Simd<T, N>
- where
- T: core::simd::SimdElement + Pod,
-+ core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- {
- }
-
-diff -up chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs.me chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
---- chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs.me 2026-04-28 23:05:57.000000000 +0200
-+++ chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs 2026-05-09 20:39:28.808258788 +0200
-@@ -231,7 +231,6 @@ impl_unsafe_marker_for_simd!(
- unsafe impl<T, const N: usize> Zeroable for core::simd::Simd<T, N>
- where
- T: core::simd::SimdElement + Zeroable,
-- core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- {
- }
-
-@@ -244,6 +243,7 @@ where
- unsafe impl<T, const N: usize> Zeroable for core::simd::Simd<T, N>
- where
- T: core::simd::SimdElement + Zeroable,
-+ core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- {
- }
-
diff --git a/chromium-151-el9-build-error-system-ffmpeg5.patch b/chromium-151-el9-build-error-system-ffmpeg5.patch
deleted file mode 100644
index 4d07064..0000000
--- a/chromium-151-el9-build-error-system-ffmpeg5.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Fix FTBFS with ffmpeg-5.x
-../../media/ffmpeg/ffmpeg_common.cc:911:16: error: use of undeclared identifier 'AV_SPHERICAL_HALF_EQUIRECTANGULAR'; did you mean 'AV_SPHERICAL_EQUIRECTANGULAR'?
- 911 | case AV_SPHERICAL_HALF_EQUIRECTANGULAR:
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | AV_SPHERICAL_EQUIRECTANGULAR
-/usr/include/ffmpeg/libavutil/spherical.h:56:5: note: 'AV_SPHERICAL_EQUIRECTANGULAR' declared here
- 56 | AV_SPHERICAL_EQUIRECTANGULAR,
- | ^
-../../media/ffmpeg/ffmpeg_common.cc:911:16: error: duplicate case value 'AV_SPHERICAL_EQUIRECTANGULAR'
- 911 | case AV_SPHERICAL_HALF_EQUIRECTANGULAR:
- | ^
-../../media/ffmpeg/ffmpeg_common.cc:908:16: note: previous case defined here
- 908 | case AV_SPHERICAL_EQUIRECTANGULAR:
-
-diff -up chromium-151.0.7922.71/media/ffmpeg/ffmpeg_common.cc.me chromium-151.0.7922.71/media/ffmpeg/ffmpeg_common.cc
---- chromium-151.0.7922.71/media/ffmpeg/ffmpeg_common.cc.me 2026-08-01 07:16:39.987060192 -0400
-+++ chromium-151.0.7922.71/media/ffmpeg/ffmpeg_common.cc 2026-08-01 07:25:18.201727436 -0400
-@@ -908,9 +908,11 @@ bool AVStreamToVideoDecoderConfig(const
- case AV_SPHERICAL_EQUIRECTANGULAR:
- spatial_format.projection_type = VideoProjectionType::kEquirect360;
- break;
-+ #ifdef AV_SPHERICAL_HALF_EQUIRECTANGULAR
- case AV_SPHERICAL_HALF_EQUIRECTANGULAR:
- spatial_format.projection_type = VideoProjectionType::kEquirect180;
- break;
-+ #endif
- case AV_SPHERICAL_EQUIRECTANGULAR_TILE: {
- const uint32_t kEquirect180Threshold = 0x30000000;
- if (spherical->bound_left >= kEquirect180Threshold &&
diff --git a/chromium-151-el9-ffmpeg-5.1.x.patch b/chromium-151-el9-ffmpeg-5.1.x.patch
deleted file mode 100644
index 3f99cae..0000000
--- a/chromium-151-el9-ffmpeg-5.1.x.patch
+++ /dev/null
@@ -1,136 +0,0 @@
-diff -up chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.cc.el9-ffmpeg-5.1.x chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.cc
---- chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.cc.el9-ffmpeg-5.1.x 2026-07-28 09:45:19.770842992 +0200
-+++ chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.cc 2026-07-28 10:23:29.074215304 +0200
-@@ -770,8 +770,13 @@ bool AVStreamToVideoDecoderConfig(const
-
- VideoTransformation video_transformation = VideoTransformation();
- VideoSpatialFormat spatial_format;
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ for (int i = 0; i < stream->nb_side_data; i++) {
-+ const auto& side_data = stream->side_data[i];
-+#else
- for (const auto& side_data :
- AVCodecParametersCodedSideToSpan(stream->codecpar)) {
-+#endif
- switch (side_data.type) {
- case AV_PKT_DATA_DISPLAYMATRIX: {
- constexpr size_t kNumElements = 3 * 3;
-diff -up chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.h.el9-ffmpeg-5.1.x chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.h
---- chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.h.el9-ffmpeg-5.1.x 2026-07-22 01:20:22.000000000 +0200
-+++ chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.h 2026-07-28 09:45:19.771816742 +0200
-@@ -119,9 +119,13 @@ inline base::span<AVPacketSideData> AVCo
- // https://ffmpeg.org/doxygen/trunk/structAVCodecParameters.html#a29643cfd94231e2d148a5d17b08d115b
- // ffmpeg documentation: `nb_coded_side_data` is the amount of entries in
- // `coded_side_data`.
-+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(60, 31, 102)
- return UNSAFE_BUFFERS(
- base::span(codecpar->coded_side_data,
- base::checked_cast<size_t>(codecpar->nb_coded_side_data)));
-+#else
-+ return base::span<AVPacketSideData>();
-+#endif
- }
-
- inline base::span<uint8_t> AVCodecParametersExtraDataToSpan(
-diff -up chromium-151.0.7922.47/media/filters/audio_video_metadata_extractor.cc.el9-ffmpeg-5.1.x chromium-151.0.7922.47/media/filters/audio_video_metadata_extractor.cc
---- chromium-151.0.7922.47/media/filters/audio_video_metadata_extractor.cc.el9-ffmpeg-5.1.x 2026-07-22 01:20:22.000000000 +0200
-+++ chromium-151.0.7922.47/media/filters/audio_video_metadata_extractor.cc 2026-07-28 09:45:19.771952981 +0200
-@@ -109,17 +109,33 @@ bool AudioVideoMetadataExtractor::Extrac
- container_info.type = format_context->iformat->name;
- ExtractDictionary(format_context->metadata, &container_info.tags);
-
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ for (unsigned int i = 0; i < format_context->nb_streams; ++i) {
-+ stream_infos_.push_back(StreamInfo());
-+#else
- base::span<AVStream*> format_context_span =
- AVFormatContextToSpan(format_context);
- std::ranges::for_each(format_context_span, [&](AVStream* stream) {
- stream_infos_.emplace_back();
-+#endif
- StreamInfo& info = stream_infos_.back();
-
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ AVStream* stream = format_context->streams[i];
-+ if (!stream)
-+ continue;
-+#else
- if (!stream) {
- return;
- }
-+#endif
-
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ for (int j = 0; j < stream->nb_side_data; j++) {
-+ const AVPacketSideData& sd = stream->side_data[j];
-+#else
- for (const auto& sd : AVCodecParametersCodedSideToSpan(stream->codecpar)) {
-+#endif
- if (sd.type == AV_PKT_DATA_DISPLAYMATRIX) {
- constexpr size_t kNumElements = 3 * 3;
- CHECK_EQ(sd.size, sizeof(int32_t) * kNumElements);
-@@ -143,7 +159,11 @@ bool AudioVideoMetadataExtractor::Extrac
- ExtractDictionary(stream->metadata, &info.tags);
-
- if (!stream->codecpar) {
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ continue;
-+#else
- return;
-+#endif
- }
-
- info.type = avcodec_get_name(stream->codecpar->codec_id);
-@@ -166,7 +186,11 @@ bool AudioVideoMetadataExtractor::Extrac
- reinterpret_cast<const char*>(stream->attached_pic.data),
- stream->attached_pic.size);
- }
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ }
-+#else
- });
-+#endif
-
- extracted_ = true;
- return true;
-diff -up chromium-151.0.7922.47/media/filters/media_file_checker.cc.el9-ffmpeg-5.1.x chromium-151.0.7922.47/media/filters/media_file_checker.cc
---- chromium-151.0.7922.47/media/filters/media_file_checker.cc.el9-ffmpeg-5.1.x 2026-07-22 01:20:22.000000000 +0200
-+++ chromium-151.0.7922.47/media/filters/media_file_checker.cc 2026-07-28 09:45:19.772063149 +0200
-@@ -64,6 +64,10 @@ bool MediaFileChecker::Start(base::TimeD
- // Remember the codec context for any decodable audio or video streams.
- bool found_streams = false;
- std::vector<Decoder> stream_contexts(format_context->nb_streams);
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ for (size_t i = 0; i < format_context->nb_streams; ++i) {
-+ AVCodecParameters* cp = format_context->streams[i]->codecpar;
-+#else
- base::span<AVStream*> format_context_span =
- AVFormatContextToSpan(format_context);
- std::ranges::transform(
-@@ -85,9 +89,26 @@ bool MediaFileChecker::Start(base::TimeD
- }
- }
-
-+#endif
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ if (cp->codec_type == AVMEDIA_TYPE_AUDIO ||
-+ cp->codec_type == AVMEDIA_TYPE_VIDEO) {
-+ auto context = AVStreamToAVCodecContext(format_context->streams[i]);
-+ if (!context)
-+ continue;
-+ const AVCodec* codec = avcodec_find_decoder(cp->codec_id);
-+ if (codec && avcodec_open2(context.get(), codec, nullptr) >= 0) {
-+ auto loop = std::make_unique<FFmpegDecodingLoop>(context.get());
-+ stream_contexts[i] = {std::move(context), std::move(loop)};
-+ found_streams = true;
-+ }
-+ }
-+ }
-+#else
- return Decoder{};
- });
-
-+#endif
- if (!found_streams)
- return false;
-
diff --git a/chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch b/chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch
deleted file mode 100644
index 95b51c3..0000000
--- a/chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc.me chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc
---- chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc.me 2025-09-05 02:43:56.666833745 +0200
-+++ chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc 2025-09-05 03:09:01.121397898 +0200
-@@ -486,7 +486,7 @@ bool FFmpegVideoDecoder::ConfigureDecode
-
- codec_context_->opaque = this;
- codec_context_->get_buffer2 = GetVideoBufferImpl;
-- codec_context_->flags |= AV_CODEC_FLAG_COPY_OPAQUE;
-+ //codec_context_->flags |= AV_CODEC_FLAG_COPY_OPAQUE;
-
- if (decode_nalus_) {
- codec_context_->flags2 |= AV_CODEC_FLAG2_CHUNKS;
diff --git a/chromium-workaround-system-ffmpeg-whitelist.patch b/chromium-workaround-system-ffmpeg-whitelist.patch
new file mode 100644
index 0000000..1b3960f
--- /dev/null
+++ b/chromium-workaround-system-ffmpeg-whitelist.patch
@@ -0,0 +1,35 @@
+diff -up chromium-158.0.8127.36/media/ffmpeg/ffmpeg_common.cc.workaround-system-ffmpeg-whitelist chromium-158.0.8127.36/media/ffmpeg/ffmpeg_common.cc
+--- chromium-158.0.8127.36/media/ffmpeg/ffmpeg_common.cc.workaround-system-ffmpeg-whitelist 2026-11-17 10:57:05.948768429 +0100
++++ chromium-158.0.8127.36/media/ffmpeg/ffmpeg_common.cc 2026-11-17 10:57:05.959467493 +0100
+@@ -74,6 +74,8 @@ const char* GetAllowedVideoDecoders() {
+ void ApplyCodecContextSecuritySettings(AVCodecContext* codec_context) {
+ // Future versions of ffmpeg may copy the allow list from the format
+ // context.
++ // Workaround for codec whitelist with system ffmpeg
++#if 0
+ if (!codec_context->codec_whitelist) {
+ // Note: FFmpeg will try to free this string, so we must duplicate it.
+ codec_context->codec_whitelist =
+@@ -81,6 +83,7 @@ void ApplyCodecContextSecuritySettings(A
+ ? GetAllowedAudioDecoders()
+ : GetAllowedVideoDecoders());
+ }
++#endif
+
+ // Note: This is security sensitive. FFmpeg may not always continue safely
+ // in the presence of errors. See https://crbug.com/379418979
+diff -up chromium-158.0.8127.36/media/filters/ffmpeg_glue.cc.workaround-system-ffmpeg-whitelist chromium-158.0.8127.36/media/filters/ffmpeg_glue.cc
+--- chromium-158.0.8127.36/media/filters/ffmpeg_glue.cc.workaround-system-ffmpeg-whitelist 2026-11-17 10:57:05.956575598 +0100
++++ chromium-158.0.8127.36/media/filters/ffmpeg_glue.cc 2026-11-17 11:49:15.506720138 +0100
+@@ -137,8 +137,11 @@ FFmpegGlue::FFmpegGlue(FFmpegURLProtocol
+ // memory usage.
+ //
+ // Note: FFmpeg will try to free these strings, so we must duplicate them.
++ // Workaround for codec whitelist with system ffmpeg
++#if 0
+ format_context_->codec_whitelist = av_strdup(GetAllowedAudioDecoders());
+ format_context_->format_whitelist = av_strdup(kAllowedDemuxers);
++#endif
+ }
+
+ bool FFmpegGlue::OpenContext(bool is_local_file) {
diff --git a/chromium.spec b/chromium.spec
index cfab270..69c751e 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -9,6 +9,13 @@
%define _lto_cflags %{nil}
%global _default_patch_fuzz 2
+# define rust_target
+%ifarch ppc64le
+%global rust_target powerpc64le-unknown-linux-gnu
+%else
+%global rust_target %{_arch}-unknown-linux-gnu
+%endif
+
# enable|disable system build flags
%global system_build_flags 0
@@ -52,6 +59,11 @@
# enable|disable system esbuild
%global system_esbuild 1
+%global system_ninja 1
+%global ninja_version 1.13.2
+
+%global typescript_version 7.0.2
+
# set nodejs_version
%global nodejs_version v22.22.0
@@ -201,7 +213,7 @@
%global bundledoubleconversion 0
%global bundlelibXNVCtrl 0
%global bundlelibusbx 0
-%global bundlelibsecret 0
+%global bundlelibsecret 1
%global bundleopus 0
%global bundlelcms2 0
%global bundlesimdutf 1
@@ -268,7 +280,7 @@
%endif
Name: chromium
-Version: 157.0.8103.78
+Version: 158.0.8127.36
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -337,21 +349,14 @@ Patch94: chromium-148-v8-sanitize-build-error.patch
Patch96: chromium-142-crabbyavif-ftbfs-old-rust.patch
# system ffmpeg
-# need for old ffmpeg 5.x on epel9
-Patch128: chromium-138-el9-ffmpeg-deprecated-apis.patch
-Patch129: chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch
-Patch130: chromium-148-el9-ffmpeg-build-error.patch
# disable the check
Patch131: chromium-107-proprietary-codecs.patch
# fix tab crash with SIGTRAP error when using system ffmpeg
Patch132: chromium-118-sigtrap_system_ffmpeg.patch
-# need for old ffmpeg 6.0/5.x on epel9 and fedora < 40
-Patch133: chromium-151-el9-ffmpeg-5.1.x.patch
-Patch134: chromium-151-el9-build-error-system-ffmpeg5.patch
# revert, it causes build error: use of undeclared identifier 'AVFMT_FLAG_NOH264PARSE'
Patch135: chromium-133-disable-H.264-video-parser-during-demuxing.patch
# Workaround for youtube stop working
-Patch136: chromium-133-workaround-system-ffmpeg-whitelist.patch
+Patch136: chromium-workaround-system-ffmpeg-whitelist.patch
# fatal error: 'third_party/ffmpeg/libavutil/rational.h' file not found
Patch137: chromium-147-system-ffmpeg.patch
# Workaround for missing AVDynamicHDRSmpte2094App5 in system ffmpeg
@@ -385,39 +390,12 @@ Patch303: chromium-146-ftfs-llvm-octal-notation.patch
# Workaround for clang++ crash with llvm-20 on el9/el10.1/f42, clang++: error: clang frontend command failed with exit code 139
Patch304: chromium-146-llvm-crash.patch
-# disable memory tagging (epel8 on aarch64) due to new feature IFUNC-Resolver
-# it is not supported in old glibc < 2.30, error: fatal error: 'sys/ifunc.h' file not found
-Patch305: chromium-124-el8-arm64-memory_tagging.patch
-Patch306: chromium-127-el8-ifunc-header.patch
-
-# workaround for build error due to old atk version on el8
-Patch307: chromium-134-el8-atk-compiler-error.patch
-# Fix build errors due to old clang18 in el8
-Patch308: chromium-136-unsupport-clang-flags.patch
-Patch309: chromium-132-el8-unsupport-rustc-flags.patch
-
# Fix rhbz#2387446, FTBFS with rust-1.89.0
Patch310: chromium-139-rust-FTBFS-suppress-warnings.patch
# enable fstack-protector-strong
Patch311: chromium-123-fstack-protector-strong.patch
-# Fix FTBFS:
-# ERROR at //build/rust/crubit/BUILD.gn:12:5:
-# Unable to load third_party/rust-toolchain/lib/third_party/crubit/support/rs_std/BUILD.gn
-# "$crubit_src_dir/support/rs_std:rs_std_cpp",
-# Patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
-Patch312: chromium-ftbfs-crubit.patch
-
-# Fix FTBFS:
-# ERROR Unresolved dependencies
-# Patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
-Patch313: chromium-ftbfs-private-verification-tokens.patch
-
-# old rust version causes build error on el8:
-# error[E0599]: no method named `is_none_or` found for enum `Option` in the current scope
-Patch314: chromium-136-rust-skrifa-build-error.patch
-
# error with old rustc
Patch315: chromium-145-rustc-ftbfs.patch
@@ -464,9 +442,6 @@ Patch357: chromium-134-type-mismatch-error.patch
# set clang_lib path
Patch358: chromium-rust-clanglib.patch
-# fix FTBFS with rustc 1.95
-Patch359: chromium-148-rust-1.95-bytemuck-ftbfs.patch
-
# PowerPC64 LE support
# Timothy Pearson's patchset
# https://gitlab.raptorengineering.com/raptor-engineering-public/chromium/openpower-patches
@@ -505,6 +480,7 @@ Patch396: skia-vsx-instructions.patch
Patch397: 0001-Implement-support-for-ppc64-on-Linux.patch
Patch398: 0001-Implement-support-for-PPC64-on-Linux.patch
Patch399: 0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
+Patch400: 0002-Add-pregenerated-config-for-libaom-on-ppc64.patch
Patch401: fix-rustc.patch
Patch402: fix-rust-linking.patch
Patch403: fix-breakpad-compile.patch
@@ -578,11 +554,23 @@ BuildRequires: openssl-devel
# License - Apache-2.0, https://github.com/microsoft/TypeScript?tab=Apache-2.0-1-ov-file
# curl -fL https://github.com/microsoft/TypeScript/archive/refs/tags/v7.0.2.tar.gz -o TypeScript-7.0.2.tar.gz
-Source14: TypeScript-7.0.2.tar.gz
+Source14: TypeScript-%{typescript_version}.tar.gz
# vendor archive created by create-typesctipt-archive.sh
-Source15: TypeScript-7.0.2-vendor-archive.tar.gz
+Source15: TypeScript-%{typescript_version}-vendor-archive.tar.gz
+
+Source20: rustc-1.100.0-src.tar.xz
+# crubut license - Apache-2.0
+# https://github.com/google/crubit
+Source22: crubit.tar.xz
+# Additional official Rust release source tarballs for EPEL 9 (1.97 -> 1.98 -> 1.99)
+Source24: https://static.rust-lang.org/dist/rustc-1.98.0-src.tar.xz
+Source25: https://static.rust-lang.org/dist/rustc-1.99.1-src.tar.xz
+# ninja License - Apache-2.0
+# https://github.com/ninja-build/ninja/archive/v1.13.2/ninja-1.13.2.tar.gz
+Source26: ninja-%{ninja_version}.tar.gz
BuildRequires: golang
+BuildRequires: llvm-devel
BuildRequires: clang
BuildRequires: clang-tools-extra
BuildRequires: llvm
@@ -1126,13 +1114,6 @@ Qt6 UI for chromium.
%patch -P96 -p1 -b .crabbyavif-ftbfs-old-rust
%if ! %{bundleffmpegfree}
-%if 0%{?rhel} == 9
-%patch -P128 -p1 -b .el9-ffmpeg-deprecated-apis
-%patch -P129 -p1 -b .el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE
-%patch -P130 -p1 -b .el9-ffmpeg-build-error
-%patch -P133 -p1 -b .el9-ffmpeg-5.1.x
-%endif
-%patch -P134 -p1 -b .el9-ffmpeg-5.1.x
%patch -P131 -p1 -b .prop-codecs
%patch -P132 -p1 -b .sigtrap_system_ffmpeg
%patch -P135 -p1 -b .disable-H.264-video-parser-during-demuxing
@@ -1147,12 +1128,6 @@ Qt6 UI for chromium.
%patch -P141 -p1 -b .dma_buf_export_sync_file-conflict
%endif
-%if (0%{?rhel} && 0%{?rhel} < 10) || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 2)
-%patch -P142 -p1 -b .rust-1.88-build-error
-%patch -P143 -p1 -b .rust-1.88-enable-unstable_features
-%patch -P144 -p1 -b .rust-1.88-undefined-symbol
-%endif
-
%patch -P150 -p1 -b .qt6
%patch -P300 -p1 -b .swiftshader-missing-include
@@ -1164,21 +1139,9 @@ Qt6 UI for chromium.
%patch -P304 -p1 -b .llvm-crash
%endif
-%if 0%{?rhel} == 8
-%ifarch aarch64
-%patch -P305 -p1 -b .el8-memory_tagging
-%patch -P306 -p1 -b .el8-ifunc-header
-%endif
-%patch -P307 -p1 -b .el8-atk-compiler-error
-%patch -P308 -p1 -b .unsupport-clang-flags
-%patch -P309 -p1 -b .el8-unsupport-rustc-flags
-%patch -P314 -p1 -b .rust-skrifa-build-error
-%endif
%patch -P315 -p1 -b .rustc-ftbfs
%patch -P310 -p1 -b .rust-FTBFS-suppress-warnings
%patch -P311 -p1 -b .fstack-protector-strong
-%patch -P312 -p1 -b .ftbfs-crubit
-%patch -P313 -p1 -b .ftbfs-private-verification-tokens
%if 0%{?rhel} && 0%{?rhel} < 10
%patch -P354 -p1 -b .split-threshold-for-reg-with-hint
@@ -1212,8 +1175,6 @@ Qt6 UI for chromium.
%patch -P358 -p1 -b .rust-clang_lib
-%patch -P359 -p1 -b .ftbfs-with-rustc-1.95
-
%ifarch ppc64le
%patch -P360 -p1 -b .add-ppc64-architecture-string
%patch -P361 -p1 -b .0001-sandbox-Enable-seccomp_bpf-for-ppc64
@@ -1239,6 +1200,7 @@ Qt6 UI for chromium.
%patch -P397 -p1 -b .0001-Implement-support-for-ppc64-on-Linux
%patch -P398 -p1 -b .0001-Implement-support-for-PPC64-on-Linux
%patch -P399 -p1 -b .0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-
+%patch -P400 -p1 -b .0002-Add-pregenerated-config-for-libaom-on-ppc64
%patch -P401 -p1 -b .fix-rustc
%patch -P402 -p1 -b .fix-rust-linking
%patch -P403 -p1 -b .fix-breakpad-compile
@@ -1263,8 +1225,6 @@ Qt6 UI for chromium.
%patch -P502 -p1 -b .flatpak-widevine
%endif
-%patch -P521 -p1 -b .disable-ai
-
# Upstream patches
# Change shebang in all relevant files in this directory and all subdirectories
@@ -1280,6 +1240,9 @@ sed -i 's|/opt/google/chrome-remote-desktop|%{crd_path}|g' remoting/host/setup/d
# bz#2265957, add correct platform
sed -i "s/Linux x86_64/Linux %{_arch}/" components/embedder_support/user_agent_utils.cc
+# Allow build with system libraries
+sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' tools/generate_shim_headers/generate_shim_headers.py
+
# Add correct path for nodejs binary
mkdir -p third_party/node/linux/node-linux-x64/bin
%if %{system_nodejs}
@@ -1305,15 +1268,16 @@ ln -sf ../../%{chromebuilddir}/gn buildtools/linux64/gn
mkdir -p third_party/gperf/cipd/bin
ln -fs $(which gperf) third_party/gperf/cipd/bin/gperf
-# Remove bundle rustc and replace it with system rustc
-mkdir -p third_party/rust-toolchain/bin/
-ln -fs $(which rustc) third_party/rust-toolchain/bin/rustc
-
-# remove bundle python3 and replace it with system one
-# fix FTBFS on aarch64, ppc64le
# ERROR at //build/toolchain/concurrent_links.gni:156:19: Script returned non-zero exit code.
-%ifnarch x86_64
+mkdir -p third_party/cpython3/host/bin
cp $(which python3) third_party/cpython3/host/bin/python3
+
+# Fix FTBFS due to old python3 (version 3.9.25) on epel9
+# /mojo/public/tools/bindings/generators/mojom_rust_generator.py", line 196, in <module>
+# ) -> str | None:
+# TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
+%if 0%{?rhel} == 9
+sed -i '1i from __future__ import annotations' mojo/public/tools/bindings/generators/mojom_rust_generator.py
%endif
%if %{bundlelibusbx}
@@ -1329,10 +1293,30 @@ cp -a $(pkg-config --variable=includedir libusb-1.0)/libusb-1.0/libusb.h third_p
ln -sf %{_includedir}/simdutf.h third_party/simdutf/simdutf.h
%endif
+# Unpack official Rust 1.100.0 source (pre-vendored with .cargo/config.toml included)
+tar xf %{SOURCE20} -C %{_builddir}
+
+# Unpack Crubit and its vendored crates into third_party/rust-toolchain/crubit/lib/third_party/crubit
+mkdir -p third_party/rust-toolchain/crubit/lib/third_party
+tar xf %{SOURCE22} -C third_party/rust-toolchain/crubit/lib/third_party
+
+# On EPEL 9, unpack the 1.98.0 and 1.99.0 source tarballs
+%if 0%{?rhel} == 9
+tar xf %{SOURCE24} -C %{_builddir}
+tar xf %{SOURCE25} -C %{_builddir}
+%endif
+
%build
+# Bootstrap and replace old ninja on EL9
+%if 0%{?rhel} == 9
+tar xf %{SOURCE26} -C %{_builddir}
+pushd %{_builddir}/ninja-%{ninja_version}
+%set_build_flags
+%python3 configure.py --bootstrap --verbose
+popd
+export PATH="%{_builddir}/ninja-%{ninja_version}:$PATH"
-%if ! %{system_nodejs}
-# Build nodejs and Replace bundle binary
+# Boostrap and Replace old nodejs om EL9
export CXX=c++
tar xf %{SOURCE12}
pushd node-%{nodejs_version}
@@ -1345,15 +1329,184 @@ popd
%endif
# Build tsgo and replace bundle binary
-ver=7.0.2
-tar xf %{SOURCE14} && tar xf %{SOURCE15} -C TypeScript-$ver/tsc
-pushd TypeScript-$ver/tsc/internal/bundled/libs
+tar xf %{SOURCE14} && tar xf %{SOURCE15} -C TypeScript-%{typescript_version}/tsc
+pushd TypeScript-%{typescript_version}/tsc/internal/bundled/libs
patch -p2 < ../../../../../third_party/typescript/linux-amd64/3pp/patches/typescript_native_preview.patch
popd
-pushd TypeScript-$ver/tsc
+pushd TypeScript-%{typescript_version}/tsc
go build -o tsgo ./cmd/tsgo
popd
-cp -a TypeScript-$ver/tsc/tsgo third_party/typescript/linux-amd64/src/lib/tsc
+cp -a TypeScript-%{typescript_version}/tsc/tsgo third_party/typescript/linux-amd64/src/lib/tsc
+
+# ==============================================================================
+# 0. Select or Bootstrap Stage 0 Rust & Cargo Toolcahin
+# ==============================================================================
+%if 0%{?rhel}
+# Hop 1: System rustc (1.97) -> Stage 1 rustc + std/proc_macro (1.98.0)
+cat > %{_builddir}/bootstrap-1.98.toml << EOF
+change-id = 999999
+
+[llvm]
+download-ci-llvm = false
+link-shared = true
+
+[build]
+rustc = "/usr/bin/rustc"
+cargo = "/usr/bin/cargo"
+submodules = false
+locked-deps = true
+vendor = true
+extended = false
+tools = []
+docs = false
+compiler-docs = false
+optimized-compiler-builtins = false
+
+[rust]
+channel = "stable"
+debuginfo-level = 0
+deny-warnings = false
+
+[target.%{rust_target}]
+llvm-config = "/usr/bin/llvm-config"
+EOF
+
+pushd %{_builddir}/rustc-1.98.0-src
+python3 x.py build --stage 1 --config %{_builddir}/bootstrap-1.98.toml \
+ compiler/rustc library
+popd
+
+# Hop 2: Stage 1 rustc (1.98.0) -> Stage 1 rustc + library + cargo (1.99.1)
+cat > %{_builddir}/bootstrap-1.99.toml << EOF
+change-id = 999999
+
+[llvm]
+download-ci-llvm = false
+link-shared = true
+
+[build]
+rustc = "%{_builddir}/rustc-1.98.0-src/build/%{rust_target}/stage1/bin/rustc"
+cargo = "/usr/bin/cargo"
+submodules = false
+locked-deps = true
+vendor = true
+extended = false
+tools = []
+docs = false
+compiler-docs = false
+optimized-compiler-builtins = false
+
+[rust]
+channel = "stable"
+debuginfo-level = 0
+deny-warnings = false
+
+[target.%{rust_target}]
+llvm-config = "/usr/bin/llvm-config"
+EOF
+
+pushd %{_builddir}/rustc-1.99.1-src
+python3 x.py build --stage 1 --skip-stage0-validation --config %{_builddir}/bootstrap-1.99.toml \
+ compiler/rustc library cargo
+
+cp -f build/%{rust_target}/stage1-tools-bin/cargo build/%{rust_target}/stage1/bin/cargo
+popd
+
+STAGE0_RUSTC="%{_builddir}/rustc-1.99.1-src/build/%{rust_target}/stage1/bin/rustc"
+STAGE0_CARGO="%{_builddir}/rustc-1.99.1-src/build/%{rust_target}/stage1/bin/cargo"
+%else
+# Fedora already provides Rust & Cargo 1.100+
+STAGE0_RUSTC="/usr/bin/rustc"
+STAGE0_CARGO="/usr/bin/cargo"
+%endif
+
+# ==============================================================================
+# 1. Configure rustc-1.100.0-src as a Nightly-Enabled Stage 2 Toolchain
+# ==============================================================================
+pushd %{_builddir}/rustc-1.100.0-src
+
+cat > %{_builddir}/bootstrap-final.toml << EOF
+change-id = 999999
+
+[llvm]
+download-ci-llvm = false
+link-shared = true
+
+[build]
+rustc = "${STAGE0_RUSTC}"
+cargo = "${STAGE0_CARGO}"
+submodules = false
+locked-deps = true
+vendor = true
+build-stage = 2
+docs = false
+compiler-docs = false
+extended = false
+tools = []
+optimized-compiler-builtins = false
+
+[rust]
+channel = "nightly"
+debuginfo-level = 0
+dist-src = false
+deny-warnings = false
+
+[target.%{rust_target}]
+llvm-config = "/usr/bin/llvm-config"
+EOF
+
+# ==============================================================================
+# 2. Build and Install the Pristine Stage 2 Sysroot via Official Tarballs
+# ==============================================================================
+python3 x.py dist --stage 2 --skip-stage0-validation \
+ --config %{_builddir}/bootstrap-final.toml \
+ rust-std rustc rustc-dev
+
+mkdir -p %{_builddir}/rust-sysroot
+for tarball in build/dist/*.tar.xz; do
+ tar xf "$tarball" -C build/dist/
+done
+
+for installer in build/dist/*/install.sh; do
+ bash "$installer" --prefix=%{_builddir}/rust-sysroot --disable-ldconfig
+done
+popd
+
+# ==============================================================================
+# 3. Patch & Compile Crubit (cc_bindings_from_rs)
+# ==============================================================================
+CHROMIUM_ROOT="$(pwd)"
+pushd third_party/rust-toolchain/crubit/lib/third_party/crubit
+export RUSTC="%{_builddir}/rust-sysroot/bin/rustc"
+RUSTC_BOOTSTRAP=1 \
+RUSTFLAGS="-Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,\$ORIGIN/../lib" \
+${STAGE0_CARGO} build --offline --locked --release -p cc_bindings_from_rs --bin cc_bindings_from_rs
+
+mkdir -p "${CHROMIUM_ROOT}/third_party/rust-toolchain/crubit/bin"
+cp -a target/release/cc_bindings_from_rs "${CHROMIUM_ROOT}/third_party/rust-toolchain/crubit/bin/"
+popd
+
+# ==============================================================================
+# 4. Stage Sysroot & Shared Libraries Before Chromium GN Build
+# ==============================================================================
+# Link system rustfmt and libclang into the custom sysroot for Chromium's bindgen actions
+ln -sf /usr/bin/rustfmt %{_builddir}/rust-sysroot/bin/rustfmt
+mkdir -p %{_builddir}/rust-sysroot/lib64
+ln -sf /usr/lib64/libclang.so* %{_builddir}/rust-sysroot/lib64/
+
+# Populate third_party/rust-toolchain with rustc + rustfmt + libclang + stdlib
+cp -an %{_builddir}/rust-sysroot/* third_party/rust-toolchain/
+
+# Stage shared libraries for Crubit ($ORIGIN/../lib -> third_party/rust-toolchain/crubit/lib)
+mkdir -p third_party/rust-toolchain/crubit/lib
+cp -a %{_builddir}/rust-sysroot/lib/*.so* third_party/rust-toolchain/crubit/lib/
+cp -an %{_builddir}/rust-sysroot/lib/rustlib/%{rust_target}/lib/libstd-*.so \
+ third_party/rust-toolchain/crubit/lib/
+
+# Ensure GN does not fail if libprofiler_builtins was not built
+if ! ls third_party/rust-toolchain/lib/rustlib/%{rust_target}/lib/libprofiler_builtins-*.rlib >/dev/null 2>&1; then
+ sed -i '/"profiler_builtins",/d' build/rust/std/BUILD.gn
+fi
# reduce warnings
FLAGS=' -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument'
@@ -1398,10 +1551,10 @@ export RUSTC_BOOTSTRAP=1
# set rustc version
# Fix error: multiple input filenames provided, caused by rustc_wrapper
-rustc_version="$(rustc -V | cut -d' ' -f-2 | sed 's/ /-/')"
+rustc_version="$($RUSTC -V | cut -d' ' -f-2 | sed 's/ /-/')"
# set rust bindgen root
rust_bindgen_root="$(which bindgen | sed 's#/s\?bin/.*##')"
-rust_sysroot_absolute="$(rustc --print sysroot)"
+rust_sysroot_absolute="$($RUSTC --print sysroot)"
# set clang version
clang_version="$(clang --version | sed -n 's/clang version //p' | cut -d. -f1)"
@@ -1452,7 +1605,8 @@ CHROMIUM_CORE_GN_DEFINES+=' use_lld=true'
CHROMIUM_CORE_GN_DEFINES+=" rust_sysroot_absolute=\"$rust_sysroot_absolute\""
CHROMIUM_CORE_GN_DEFINES+=" rust_bindgen_root=\"$rust_bindgen_root\""
CHROMIUM_CORE_GN_DEFINES+=" rustc_version=\"$rustc_version\""
-
+CHROMIUM_CORE_GN_DEFINES+=" added_rust_stdlib_libs=[\"addr2line\",\"adler2\",\"gimli\",\"miniz_oxide\"]"
+CHROMIUM_CORE_GN_DEFINES+=" rust_crubit_root=\"//third_party/rust-toolchain/crubit/\""
CHROMIUM_CORE_GN_DEFINES+=' use_sysroot=false'
%ifarch aarch64
@@ -1956,6 +2110,213 @@ fi
%endif
%changelog
+* Sat Nov 21 2026 Than Ngo <than@redhat.com> - 158.0.8127.36-1
+- Update to 158.0.8127.36, include 204 security fixes
+ * CVE-2026-121101: Missing authorization in DevTools
+ * CVE-2026-130904: Incorrect authorization in SiteSettings
+ * CVE-2026-130905: UI misrepresentation in SVG
+ * CVE-2026-130906: Incorrect authorization in DevTools
+ * CVE-2026-130907: Use after free in Autofill
+ * CVE-2026-130908: Missing authorization in Passwords
+ * CVE-2026-130909: Use after free in Extensions
+ * CVE-2026-130910: Protection mechanism failure in ANGLE
+ * CVE-2026-130911: Race condition in DevTools
+ * CVE-2026-130912: Improper state validation in Network
+ * CVE-2026-130913: Incorrect reference resolution in Mobile
+ * CVE-2026-130914: Uninitialized resource in ANGLE
+ * CVE-2026-130915: Use after free in CSS
+ * CVE-2026-130916: Missing authorization in DevTools
+ * CVE-2026-130917: Use after free in Browser
+ * CVE-2026-130918: Use after free in Views
+ * CVE-2026-130919: Race condition in Printing
+ * CVE-2026-130920: Information leak in Payments
+ * CVE-2026-130921: Nonce reuse in WebRTC
+ * CVE-2026-130922: UI misrepresentation in UI
+ * CVE-2026-130923: Out of bounds write in V8
+ * CVE-2026-130924: Incorrect authorization in WebAppInstalls
+ * CVE-2026-130925: Race condition in Downloads
+ * CVE-2026-130926: Confused deputy in Sync
+ * CVE-2026-130927: Incorrect authorization in DevTools
+ * CVE-2026-130928: Code injection in Mobile
+ * CVE-2026-130929: Use after free in Chromoting
+ * CVE-2026-130930: Use after free in Ozone
+ * CVE-2026-130931: Incorrect authorization in Extensions
+ * CVE-2026-130932: Improper resource exposure in Core
+ * CVE-2026-130933: Information leak in Paint
+ * CVE-2026-130934: Incorrect authorization in Autofill
+ * CVE-2026-130935: Information leak in Referrer
+ * CVE-2026-130936: Information leak in Media
+ * CVE-2026-130937: Incorrect authorization in Navigation
+ * CVE-2026-130938: Use after free in Accessibility
+ * CVE-2026-130939: Missing authorization in LocalNetworkAccess
+ * CVE-2026-130940: Improper state validation in GPU
+ * CVE-2026-130941: Incorrect authorization in HTML
+ * CVE-2026-130942: Observable discrepancy in Extensions
+ * CVE-2026-130943: Use after free in Chromecast
+ * CVE-2026-130944: Use after free in Omnibox
+ * CVE-2026-130945: Use after free in VR
+ * CVE-2026-130946: Incorrect authorization in PerformanceAPIs
+ * CVE-2026-130947: Integer overflow in Autofill
+ * CVE-2026-130948: Use after free in Omnibox
+ * CVE-2026-130949: UI misrepresentation in Passwords
+ * CVE-2026-130950: Type confusion in V8
+ * CVE-2026-130951: Use after free in Plugins
+ * CVE-2026-130952: Uninitialized resource in Network
+ * CVE-2026-130953: Incorrect authorization in Core
+ * CVE-2026-130954: Incorrect reference resolution in ANGLE
+ * CVE-2026-130955: UI misrepresentation in Mobile
+ * CVE-2026-130956: Improper input validation in WebAppInstalls
+ * CVE-2026-130957: Improper state validation in Performance
+ * CVE-2026-130958: Uninitialized resource in WebRTC
+ * CVE-2026-130959: Missing authorization in FileSystem
+ * CVE-2026-130960: Use after free in Session
+ * CVE-2026-130961: Incorrect authorization in Media
+ * CVE-2026-130962: Incomplete cleanup in Navigation
+ * CVE-2026-130963: Use after free in WebView
+ * CVE-2026-130964: Confused deputy in DevTools
+ * CVE-2026-130965: Uninitialized resource in Media
+ * CVE-2026-130966: Out of bounds read in Tint
+ * CVE-2026-130967: Incorrect authorization in DevTools
+ * CVE-2026-130968: Use after free in Views
+ * CVE-2026-130969: Incorrect authorization in Omnibox
+ * CVE-2026-130970: Uninitialized resource in GPU
+ * CVE-2026-130971: Out of bounds write in ANGLE
+ * CVE-2026-130972: Observable discrepancy in PictureInPicture
+ * CVE-2026-130973: Incorrect authorization in Sensor
+ * CVE-2026-130974: Use after free in UserEducation
+ * CVE-2026-130975: Use after free in WebAudio
+ * CVE-2026-130976: Use after free in PDFium
+ * CVE-2026-130977: Uninitialized resource in Dawn
+ * CVE-2026-130978: Incorrect authorization in Media
+ * CVE-2026-130979: Use after free in Forms
+ * CVE-2026-130980: Use after free in Layout
+ * CVE-2026-130981: Information leak in Enterprise
+ * CVE-2026-130982: Incorrect authorization in Omnibox
+ * CVE-2026-130983: Incorrect authorization in DevTools
+ * CVE-2026-130984: Incorrect authorization in Canvas
+ * CVE-2026-130985: Improper input validation in DOMStorage
+ * CVE-2026-130986: Incorrect authorization in Sync
+ * CVE-2026-130987: Race condition in Downloads
+ * CVE-2026-130988: Out of bounds read in V8
+ * CVE-2026-130989: Missing authorization in Paint
+ * CVE-2026-130990: Missing authorization in PersistentCache
+ * CVE-2026-130991: Uninitialized resource in Media
+ * CVE-2026-130992: Incorrect authorization in Views
+ * CVE-2026-130993: Use after free in Script
+ * CVE-2026-130994: Use after free in WebGL
+ * CVE-2026-130995: UI misrepresentation in Autofill
+ * CVE-2026-130996: Out of bounds write in ANGLE
+ * CVE-2026-130997: Incomplete cleanup in Autofill
+ * CVE-2026-130998: Improper input validation in Parser
+ * CVE-2026-130999: Use after free in Downloads
+ * CVE-2026-131000: Improper input validation in WebAppInstalls
+ * CVE-2026-131001: Buffer overflow in Video
+ * CVE-2026-131002: Uninitialized resource in GPU
+ * CVE-2026-131003: Confused deputy in TabModel
+ * CVE-2026-131004: Use after free in FedCM
+ * CVE-2026-131005: Use after free in DevTools
+ * CVE-2026-131006: Race condition in CredentialProvider
+ * CVE-2026-131007: Uninitialized resource in GPU
+ * CVE-2026-131008: Use after free in GarbageCollection
+ * CVE-2026-131009: UI misrepresentation in Passwords
+ * CVE-2026-131010: Use after free in Extensions
+ * CVE-2026-131011: Use of uninitialized variable in Speech
+ * CVE-2026-131012: Missing authorization in Services
+ * CVE-2026-131013: Buffer overflow in Skia
+ * CVE-2026-131014: Confused deputy in Grid
+ * CVE-2026-131015: Missing authorization in Mobile
+ * CVE-2026-131016: Incorrect authorization in DevTools
+ * CVE-2026-131017: Information leak in Editing
+ * CVE-2026-131018: Confused deputy in DevTools
+ * CVE-2026-131019: Information leak in ANGLE
+ * CVE-2026-131020: Use after free in WebView
+ * CVE-2026-131021: Use after free in Accessibility
+ * CVE-2026-131022: Use after free in DOM
+ * CVE-2026-131023: Race condition in Core
+ * CVE-2026-131024: Incorrect authorization in iOSWeb
+ * CVE-2026-131025: Out of bounds read in ANGLE
+ * CVE-2026-131026: Information leak in Media
+ * CVE-2026-131027: Observable discrepancy in Browser
+ * CVE-2026-131028: Incorrect authorization in WebAppInstalls
+ * CVE-2026-131029: Improper input validation in Extensions
+ * CVE-2026-131030: Privilege elevation in Sandbox
+ * CVE-2026-131031: Out of bounds write in GPU
+ * CVE-2026-131032: Confused deputy in UI
+ * CVE-2026-131033: Missing authorization in Extensions
+ * CVE-2026-131034: Incorrect authorization in SurfaceCapture
+ * CVE-2026-131035: Out of bounds read in Media
+ * CVE-2026-131036: UI misrepresentation in Autofill
+ * CVE-2026-131037: Improper authentication request restriction in Chromoting
+ * CVE-2026-131038: Missing authorization in Editing
+ * CVE-2026-131039: Use after free in Mojo
+ * CVE-2026-131040: Incorrect authorization in Extensions
+ * CVE-2026-131041: Improper input validation in Editing
+ * CVE-2026-131042: Use after free in V8
+ * CVE-2026-131043: Use after free in HID
+ * CVE-2026-131044: Use after free in Payments
+ * CVE-2026-131045: Incorrect authorization in PerformanceAPIs
+ * CVE-2026-131046: Improper input validation in ChromeDriver
+ * CVE-2026-131047: Race condition in ServiceManager
+ * CVE-2026-131048: Incorrect authorization in GetUserMedia
+ * CVE-2026-131049: Use after free in SignIn
+ * CVE-2026-131050: Use after free in Mojo
+ * CVE-2026-131051: Incorrect authorization in UI
+ * CVE-2026-131052: Race condition in UI
+ * CVE-2026-131053: Missing authorization in Layout
+ * CVE-2026-131054: Out of bounds write in ANGLE
+ * CVE-2026-131055: Improper output encoding in Editing
+ * CVE-2026-131056: Use after free in WebAppInstalls
+ * CVE-2026-131057: Out of bounds read in ANGLE
+ * CVE-2026-131058: UI misrepresentation in WebAppInstalls
+ * CVE-2026-131059: Use after free in Autofill
+ * CVE-2026-131060: Buffer overflow in Media
+ * CVE-2026-131061: Buffer overflow in Color
+ * CVE-2026-131062: Improper synchronization in ScreenCapture
+ * CVE-2026-131063: Use after free in CameraCapture
+ * CVE-2026-131064: Incorrect authorization in WebAppInstalls
+ * CVE-2026-131065: Use after free in Autofill
+ * CVE-2026-131066: Uninitialized resource in Dawn
+ * CVE-2026-131067: Missing authorization in Autofill
+ * CVE-2026-131068: Use after free in DOM
+ * CVE-2026-131069: Information leak in WebGL
+ * CVE-2026-131070: Information leak in DOM
+ * CVE-2026-131071: Confused deputy in Mobile
+ * CVE-2026-131072: Incorrect authorization in HID
+ * CVE-2026-131073: Incorrect authorization in Passwords
+ * CVE-2026-131074: Use after free in DeviceBoundSessionCredentials
+ * CVE-2026-131075: Improper input validation in DevTools
+ * CVE-2026-131076: Uninitialized resource in GPU
+ * CVE-2026-131077: Out of bounds write in Tint
+ * CVE-2026-131078: Use after free in Proxy
+ * CVE-2026-131079: Use after free in Bindings
+ * CVE-2026-131080: UI misrepresentation in Chromium
+ * CVE-2026-131081: Incorrect authorization in Media
+ * CVE-2026-131082: Use after free in CSS
+ * CVE-2026-131083: Uninitialized resource in GPU
+ * CVE-2026-131084: Use after free in XML
+ * CVE-2026-131085: Clickjacking in PermissionElement
+ * CVE-2026-131086: Uninitialized resource in WebRTC
+ * CVE-2026-131087: Type confusion in V8
+ * CVE-2026-131088: Improper input validation in WebAppInstalls
+ * CVE-2026-131089: Buffer overflow in CrashReporting
+ * CVE-2026-131090: Use after free in Geometry
+ * CVE-2026-131091: Missing authorization in Autofill
+ * CVE-2026-131092: Use after free in Mojo
+ * CVE-2026-131093: Use after free in FedCM
+ * CVE-2026-131094: Incorrect authorization in WebUI
+ * CVE-2026-131095: Information leak in Workers
+ * CVE-2026-131096: Missing authorization in Editing
+ * CVE-2026-131097: Missing authorization in V8
+ * CVE-2026-131098: Out of bounds read in V8
+ * CVE-2026-131099: Out of bounds read in ANGLE
+ * CVE-2026-131100: Use after free in Loader
+ * CVE-2026-131101: Out of bounds read in Editing
+ * CVE-2026-131102: UI misrepresentation in FileSystem
+ * CVE-2026-131103: Uninitialized resource in GPU
+ * CVE-2026-131104: Out of bounds read in Tint
+ * CVE-2026-131105: Incorrect authorization in Glic
+ * CVE-2026-131106: Buffer overflow in Partition
+
* Thu Nov 12 2026 Than Ngo <than@redhat.com> - 157.0.8103.78-1
- Update to 157.0.8103.78, include 83 security fixes
* CVE-2026-126885: Use after free in ServiceWorker
diff --git a/disable-ai.patch b/disable-ai.patch
index 82b8e97..6a8fa7c 100644
--- a/disable-ai.patch
+++ b/disable-ai.patch
@@ -962,7 +962,7 @@
namespace sync_sessions {
class SyncSessionsRouterTabHelper;
} // namespace sync_sessions
-@@ -870,10 +864,6 @@ class TabFeatures {
+@@ -863,10 +857,6 @@ class TabFeatures {
std::unique_ptr<contextual_tasks::SearchJourneyTabFeature>
search_journey_tab_feature_;
@@ -987,7 +987,7 @@
} // IsInNormalWindow() end.
if (base::FeatureList::IsEnabled(features::kGlicActor)) {
-@@ -1056,10 +1051,6 @@ void TabFeatures::Init(TabInterface& tab
+@@ -1044,10 +1039,6 @@ void TabFeatures::Init(TabInterface& tab
}
#endif
diff --git a/sources b/sources
index 346f176..1488049 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,9 @@
SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
-SHA512 (chromium-157.0.8103.78-clean.tar.xz) = 0805f64d51751d9e61aeca7708d95d98ae3b810e63254d58e7fbdcb979388f04d9f86b2a4daf1e24f75dd6c8a6414dce54473683fb3152e250bc556ea92b2cb1
SHA512 (TypeScript-7.0.2.tar.gz) = ab381b5d7bf16463f75a19b9b517d8ed94699f14fd49746e72df3f23381df6a1debb057b1d9c939a3d393952ad684dc9200cb964195ba6d62efb6a1536bc835a
SHA512 (TypeScript-7.0.2-vendor-archive.tar.gz) = 015fcc73bda7a0f9c6b6b1bfbc2dae0f4cbf0bace8e95261c81adce93742632982f72acd71be6ed3b71ffc2a91b2674e65b9efbf031e4949bd2775d4dc18e930
+SHA512 (ninja-1.13.2.tar.gz) = c0b401b4db91a2eea01a474ee979b2c6f1daa97b4c8d1f856871ce5f6d567c4b26d6246bc57e2a5f914329302abcd9c00ab0d4394a25f2ad502b6b00a07903d2
+SHA512 (rustc-1.100.0-src.tar.xz) = 35b8ad7f6449d5c68de483d989043e8297fa29b37e6a448ef710d1b4e8f92bc0dd21704a1c924344cf721f1b2f8010fff2b64368d507cffc7cd2b11f2f56c12b
+SHA512 (rustc-1.98.0-src.tar.xz) = d457af66ee9107613c1e58b588ad5f616c5efdc9a2164add4d52b7d7f6d869a580187b5e4b763f1d8ca275c7666e58e6de9d9a5751363758a0ebf01a9528f437
+SHA512 (rustc-1.99.1-src.tar.xz) = 641fb7ebb205cc8fc7a05d79f1353ae4aedf5a1080cd3928da51865b6b7ec721c755992c8bfdcc9fe93893dfac15439093e78580e7a78913a7f1db4e3b6f95e8
+SHA512 (chromium-158.0.8127.36-clean.tar.xz) = b85f9345af2ee91cfc50626a2cc2614fe5701c6734773885a736a4187aee87ba96cbb6300336d19c19ecc05cbaf9826ee711cab458b00ff2765b34afd7a0ac00
+SHA512 (crubit.tar.xz) = 063b800c4b58e56f8ca80708e9b6dca46a2e23da5821b4fe1081377a35751e258e2d8c80ef68f1b23df9e5003bafa697ecb1173eefde0d9c6f98e00a63be8bfc
diff --git a/chromium.spec b/chromium.spec
index 5e9567a..69c751e 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -3590,6 +3590,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-11-14 13:51 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-11-14 13:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 3aa54e55ef0115d66096a8a5e137236cc34dea31
Author : Than Ngo <than@redhat.com>
Date : 2026-11-14T14:51:07+01:00
Stats : +104/-41 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/3aa54e55ef0115d66096a8a5e137236cc34dea31?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/0002-regenerate-xnn-buildgn.patch b/0002-regenerate-xnn-buildgn.patch
index dc33b56..0efc6b3 100644
--- a/0002-regenerate-xnn-buildgn.patch
+++ b/0002-regenerate-xnn-buildgn.patch
@@ -5,13 +5,17 @@ NOTE: Multiple Bazel 8 files have a "cpu:ppc" bug, where it should read "cpu:ppc
This causes various toolchain failures of the form:
While resolving toolchains for target @@rules_python+//python:current_py_toolchain
- @@bazel_tools//tools/python:toolchain_type
+ @@bazel_tools//tools/python:toolchain_type
-Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/xnnpack/BUILD.gn
-+++ chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
-@@ -2252,6 +2252,298 @@ if (current_cpu == "x64" || current_cpu
+This requires a one-time edit of two files in the Bazel cache directory to resolve:
+ external/rules_python+/python/versions.bzl
+ external/rules_python++python+pythons_hub/BUILD.bazel
+
+diff --git a/third_party/xnnpack/BUILD.gn b/third_party/xnnpack/BUILD.gn
+index 7bd25c8..22a25e2 100644
+--- a/third_party/xnnpack/BUILD.gn
++++ b/third_party/xnnpack/BUILD.gn
+@@ -2282,6 +2282,300 @@ if (current_cpu == "x64" || current_cpu == "x86") {
":xx-transposev_riscv64_standalone",
]
}
@@ -37,6 +41,7 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+ ":f16-vcos_ppc64",
+ ":f16-vexp_ppc64",
+ ":f16-vgelu_ppc64",
++ ":f16-vhswish_ppc64",
+ ":f16-vlog_ppc64",
+ ":f16-vsin_ppc64",
+ ":f16-vsqrt_ppc64",
@@ -183,6 +188,7 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+ ":f16-vcos_ppc64_standalone",
+ ":f16-vexp_ppc64_standalone",
+ ":f16-vgelu_ppc64_standalone",
++ ":f16-vhswish_ppc64_standalone",
+ ":f16-vlog_ppc64_standalone",
+ ":f16-vsin_ppc64_standalone",
+ ":f16-vsqrt_ppc64_standalone",
@@ -310,34 +316,10 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
} else {
xnnpack_deps = []
if (build_with_internal_optimization_guide) {
-@@ -70177,6 +70469,8203 @@ if (current_cpu == "riscv64") {
- cflags = []
-
- sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+ }
-+}
+@@ -71232,3 +71526,8259 @@ if (current_cpu == "riscv64") {
+ }
+ }
+ }
+
+if (current_cpu == "ppc64") {
+ if (build_with_chromium) {
@@ -1243,6 +1225,8 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vbinary/gen/f16-vadd-scalar-u1.c",
+ "src/src/f16-vbinary/gen/f16-vaddc-scalar-u1.c",
++ "src/src/f16-vbinary/gen/f16-vmul-scalar-u1.c",
++ "src/src/f16-vbinary/gen/f16-vmulc-scalar-u1.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -1270,6 +1254,8 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vbinary/gen/f16-vadd-scalar-u1.c",
+ "src/src/f16-vbinary/gen/f16-vaddc-scalar-u1.c",
++ "src/src/f16-vbinary/gen/f16-vmul-scalar-u1.c",
++ "src/src/f16-vbinary/gen/f16-vmulc-scalar-u1.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -1458,6 +1444,61 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+ }
+
+ if (build_with_chromium) {
++ source_set("f16-vhswish_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vhswish/gen/f16-vhswish-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-vhswish_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vhswish/gen/f16-vhswish-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
+ source_set("f16-vlog_ppc64") {
+ cflags = []
+
@@ -7626,6 +7667,7 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+ sources = [
+ "src/include/xnnpack.h",
+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-scalar-int-u4.c",
+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
+ ]
@@ -7654,6 +7696,7 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+ sources = [
+ "src/include/xnnpack.h",
+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-scalar-int-u4.c",
+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
+ ]
@@ -8200,7 +8243,6 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
@@ -8233,7 +8275,6 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
@@ -8511,6 +8552,27 @@ Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+ cflags = []
+
+ sources = [
- "src/include/xnnpack.h",
- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
- ]
++ "src/include/xnnpack.h",
++ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++}
diff --git a/chromium.spec b/chromium.spec
index c074491..cfab270 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1212,9 +1212,7 @@ Qt6 UI for chromium.
%patch -P358 -p1 -b .rust-clang_lib
-%if 0%{?fedora} > 41 || (0%{?rhel} == 10 && 0%{?rhel_minor_version} > 2)
%patch -P359 -p1 -b .ftbfs-with-rustc-1.95
-%endif
%ifarch ppc64le
%patch -P360 -p1 -b .add-ppc64-architecture-string
diff --git a/chromium.spec b/chromium.spec
index 0c5b600..cfab270 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -3229,6 +3229,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-11-13 17:54 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-11-13 17:54 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : b05a5390eb6564d35d6b8128e9a3ee3d4f71ca90
Author : Than Ngo <than@redhat.com>
Date : 2026-11-13T18:53:38+01:00
Stats : +2850/-967 in 15 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/b05a5390eb6564d35d6b8128e9a3ee3d4f71ca90?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/.gitignore b/.gitignore
index d4c5676..576186e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,3 +50,5 @@
/linux-arm64-0.28.2.tgz
/linux-ppc64-0.28.2.tgz
/linux-x64-0.28.2.tgz
+/TypeScript-7.0.2.tar.gz
+/TypeScript-7.0.2-vendor-archive.tar.gz
diff --git a/chromium-141-csss_style_sheet.patch b/chromium-141-csss_style_sheet.patch
deleted file mode 100644
index fac8ede..0000000
--- a/chromium-141-csss_style_sheet.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Fix ftbfs
-
-v8/include/cppgc/visitor.h:440:19: error: invalid application of 'sizeof' to an incomplete type 'blink::CSSStyleSheet'
- 440 | static_assert(sizeof(T), "Pointee type must be fully defined.");
-
-diff -up chromium-141.0.7390.37/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py.ftbfs-csss_style_sheet chromium-141.0.7390.37/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py
---- chromium-141.0.7390.37/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py.ftbfs-csss_style_sheet 2025-09-23 22:21:14.000000000 +0200
-+++ chromium-141.0.7390.37/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py 2025-10-01 17:55:51.303926035 +0200
-@@ -433,6 +433,7 @@ def generate_observable_array(observable
- header_node.accumulator.add_include_headers([
- component_export_header(api_component, for_testing),
- "third_party/blink/renderer/bindings/core/v8/idl_types.h",
-+ "third_party/blink/renderer/core/css/css_style_sheet.h",
- "third_party/blink/renderer/platform/bindings/observable_array.h",
- ])
- source_node.accumulator.add_include_headers([
diff --git a/chromium-144-rust-clanglib.patch b/chromium-144-rust-clanglib.patch
deleted file mode 100644
index 981fe52..0000000
--- a/chromium-144-rust-clanglib.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-diff -up chromium-144.0.7559.31/build/config/clang/BUILD.gn.rust-clang_lib chromium-144.0.7559.31/build/config/clang/BUILD.gn
---- chromium-144.0.7559.31/build/config/clang/BUILD.gn.rust-clang_lib 2025-12-17 01:06:32.000000000 +0100
-+++ chromium-144.0.7559.31/build/config/clang/BUILD.gn 2025-12-23 19:01:33.876897379 +0100
-@@ -177,7 +177,21 @@ template("clang_lib") {
- }
- } else if (is_apple) {
- _dir = "darwin"
-- } else if (is_linux || is_chromeos) {
-+ } else if (is_linux) {
-+ if (current_cpu == "x64") {
-+ _dir = "x86_64-redhat-linux-gnu"
-+ } else if (current_cpu == "x86") {
-+ _dir = "i386-redhat-linux-gnu"
-+ } else if (current_cpu == "arm64") {
-+ _dir = "aarch64-redhat-linux-gnu"
-+ } else if (current_cpu == "arm") {
-+ _dir = "armhf-redhat-linux-gnu"
-+ } else if (current_cpu == "ppc64") {
-+ _dir = "ppc64le-redhat-linux-gnu"
-+ } else {
-+ assert(false) # Unhandled cpu type
-+ }
-+ } else if (is_chromeos) {
- if (current_cpu == "x64") {
- _dir = "x86_64-unknown-linux-gnu"
- } else if (current_cpu == "x86") {
-diff -up chromium-144.0.7559.31/build/rust/rust_bindgen_generator.gni.rust-clang_lib chromium-144.0.7559.31/build/rust/rust_bindgen_generator.gni
---- chromium-144.0.7559.31/build/rust/rust_bindgen_generator.gni.rust-clang_lib 2025-12-17 01:06:32.000000000 +0100
-+++ chromium-144.0.7559.31/build/rust/rust_bindgen_generator.gni 2025-12-23 19:21:34.335924481 +0100
-@@ -26,14 +26,14 @@ if (!use_chromium_rust_toolchain &&
-
- # On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in
- # ../lib.
--_libclang_path = rust_bindgen_root
-+_libclang_path = clang_base_path
- if (!use_chromium_rust_toolchain &&
- (host_cpu == "ppc64" || host_cpu == "s390x")) {
- _libclang_path = rust_sysroot_absolute + "/lib64"
- } else if (host_os == "win") {
- _libclang_path += "/bin"
- } else {
-- _libclang_path += "/lib"
-+ _libclang_path += "/lib64"
- }
-
- # Template to build Rust/C bindings with bindgen.
-diff -up chromium-144.0.7559.31/build/rust/rust_bindgen.gni.rust-clang_lib chromium-144.0.7559.31/build/rust/rust_bindgen.gni
---- chromium-144.0.7559.31/build/rust/rust_bindgen.gni.rust-clang_lib 2025-12-17 01:06:32.000000000 +0100
-+++ chromium-144.0.7559.31/build/rust/rust_bindgen.gni 2025-12-23 19:22:12.089755683 +0100
-@@ -19,14 +19,14 @@ if (host_os == "win") {
-
- # On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in
- # ../lib.
--_libclang_path = rust_bindgen_root
-+_libclang_path = clang_base_path
- if (!use_chromium_rust_toolchain &&
- (current_cpu == "ppc64" || current_cpu == "s390x")) {
- _libclang_path = rust_sysroot_absolute + "/lib64"
- } else if (host_os == "win") {
- _libclang_path += "/bin"
- } else {
-- _libclang_path += "/lib"
-+ _libclang_path += "/lib64"
- }
-
- # Template to build Rust/C bindings with bindgen.
diff --git a/chromium-152-build-error-libpng_for_testonly.patch b/chromium-152-build-error-libpng_for_testonly.patch
deleted file mode 100644
index 0f21fa6..0000000
--- a/chromium-152-build-error-libpng_for_testonly.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -up chromium-152.0.7977.75/chrome/test/BUILD.gn.me chromium-152.0.7977.75/chrome/test/BUILD.gn
---- chromium-152.0.7977.75/chrome/test/BUILD.gn.me 2026-09-02 17:07:32.105877798 +0700
-+++ chromium-152.0.7977.75/chrome/test/BUILD.gn 2026-09-02 17:06:28.862176940 +0700
-@@ -8451,7 +8458,7 @@ if (!is_android) {
- "//testing/gtest",
- "//third_party/hunspell",
- "//third_party/icu",
-- "//third_party/libpng:libpng_for_testonly",
-+ "//third_party/libpng",
- "//ui/base:test_support",
- "//ui/events:test_support",
- "//ui/ozone",
-@@ -8840,7 +8847,7 @@ if (!is_android && !is_chromeos_device)
- "//testing/gtest",
- "//third_party/hunspell",
- "//third_party/icu",
-- "//third_party/libpng:libpng_for_testonly",
-+ "//third_party/libpng",
- "//ui/base:base_interactive_ui_tests",
- "//ui/base:ozone_buildflags",
- "//ui/base:test_support",
-@@ -9776,7 +9783,7 @@ if (!is_android) {
- "//testing/gtest",
- "//third_party/hunspell",
- "//third_party/icu",
-- "//third_party/libpng:libpng_for_testonly",
-+ "//third_party/libpng",
- "//ui/base:test_support",
- "//ui/resources:ui_test_pak",
- "//ui/views",
-diff -up chromium-152.0.7977.75/tools/imagediff/BUILD.gn.me chromium-152.0.7977.75/tools/imagediff/BUILD.gn
---- chromium-152.0.7977.75/tools/imagediff/BUILD.gn.me 2026-09-02 17:07:50.950086627 +0700
-+++ chromium-152.0.7977.75/tools/imagediff/BUILD.gn 2026-09-02 17:10:02.754225724 +0700
-@@ -48,7 +48,7 @@ if (current_toolchain == imagediff_toolc
- deps = [
- "//base",
- "//build/win:default_exe_manifest",
-- "//third_party/libpng:libpng_for_testonly",
-+ "//third_party/libpng",
- "//third_party/zlib",
- ]
- }
-diff -up chromium-152.0.7977.75/ui/gfx/BUILD.gn.me chromium-152.0.7977.75/ui/gfx/BUILD.gn
---- chromium-152.0.7977.75/ui/gfx/BUILD.gn.me 2026-09-02 17:10:35.639911698 +0700
-+++ chromium-152.0.7977.75/ui/gfx/BUILD.gn 2026-09-02 17:10:45.586021920 +0700
-@@ -897,7 +897,7 @@ test("gfx_unittests") {
- "//skia:skcms",
- "//testing/gtest",
- "//third_party/icu:icuuc",
-- "//third_party/libpng:libpng_for_testonly",
-+ "//third_party/libpng",
- "//third_party/zlib",
- "//ui/base",
- "//ui/gfx/animation",
diff --git a/chromium-build-error-libpng_for_testonly.patch b/chromium-build-error-libpng_for_testonly.patch
new file mode 100644
index 0000000..a143a12
--- /dev/null
+++ b/chromium-build-error-libpng_for_testonly.patch
@@ -0,0 +1,45 @@
+diff -up chromium-157.0.8103.38/chrome/test/BUILD.gn.me chromium-157.0.8103.38/chrome/test/BUILD.gn
+--- chromium-157.0.8103.38/chrome/test/BUILD.gn.me 2026-11-04 10:49:01.080817714 +0100
++++ chromium-157.0.8103.38/chrome/test/BUILD.gn 2026-11-04 10:51:24.266052678 +0100
+@@ -4319,7 +4319,7 @@ if (!is_android) {
+ "//testing/gtest",
+ "//third_party/hunspell",
+ "//third_party/icu",
+- "//third_party/libpng:libpng_for_testonly",
++ "//third_party/libpng",
+ "//ui/base:test_support",
+ "//ui/events:test_support",
+ "//ui/ozone",
+@@ -4951,7 +4951,7 @@ if (!is_android) {
+ "//testing/gtest",
+ "//third_party/hunspell",
+ "//third_party/icu",
+- "//third_party/libpng:libpng_for_testonly",
++ "//third_party/libpng",
+ "//ui/base:test_support",
+ "//ui/resources:ui_test_pak",
+ "//ui/views",
+diff -up chromium-157.0.8103.38/tools/imagediff/BUILD.gn.me chromium-157.0.8103.38/tools/imagediff/BUILD.gn
+--- chromium-157.0.8103.38/tools/imagediff/BUILD.gn.me 2026-11-04 10:51:38.218181946 +0100
++++ chromium-157.0.8103.38/tools/imagediff/BUILD.gn 2026-11-04 10:51:50.050435652 +0100
+@@ -48,7 +48,7 @@ if (current_toolchain == imagediff_toolc
+ deps = [
+ "//base",
+ "//build/win:default_exe_manifest",
+- "//third_party/libpng:libpng_for_testonly",
++ "//third_party/libpng",
+ "//third_party/zlib",
+ ]
+ }
+diff -up chromium-157.0.8103.38/ui/gfx/BUILD.gn.me chromium-157.0.8103.38/ui/gfx/BUILD.gn
+--- chromium-157.0.8103.38/ui/gfx/BUILD.gn.me 2026-11-04 10:52:00.047509928 +0100
++++ chromium-157.0.8103.38/ui/gfx/BUILD.gn 2026-11-04 10:52:10.689515260 +0100
+@@ -899,7 +899,7 @@ test("gfx_unittests") {
+ "//skia:skcms",
+ "//testing/gtest",
+ "//third_party/icu:icuuc",
+- "//third_party/libpng:libpng_for_testonly",
++ "//third_party/libpng",
+ "//third_party/zlib",
+ "//ui/base",
+ "//ui/gfx/animation",
diff --git a/chromium-csss_style_sheet.patch b/chromium-csss_style_sheet.patch
new file mode 100644
index 0000000..3e949d3
--- /dev/null
+++ b/chromium-csss_style_sheet.patch
@@ -0,0 +1,16 @@
+Fix ftbfs
+
+v8/include/cppgc/visitor.h:440:19: error: invalid application of 'sizeof' to an incomplete type 'blink::CSSStyleSheet'
+ 440 | static_assert(sizeof(T), "Pointee type must be fully defined.");
+
+diff -up chromium-157.0.8103.38/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py.me chromium-157.0.8103.38/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py
+--- chromium-157.0.8103.38/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py.me 2026-11-04 11:05:06.998601241 +0100
++++ chromium-157.0.8103.38/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py 2026-11-04 11:06:16.775415550 +0100
+@@ -531,6 +531,7 @@ def generate_observable_array(observable
+ [
+ component_export_header(api_component, for_testing),
+ "third_party/blink/renderer/bindings/core/v8/idl_types.h",
++ "third_party/blink/renderer/core/css/css_style_sheet.h",
+ "third_party/blink/renderer/platform/bindings/observable_array.h",
+ ]
+ )
diff --git a/chromium-disable-eula-popup.patch b/chromium-disable-eula-popup.patch
deleted file mode 100644
index 138d44d..0000000
--- a/chromium-disable-eula-popup.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up chromium-156.0.8078.47/chrome/browser/first_run/first_run.h.me chromium-156.0.8078.47/chrome/browser/first_run/first_run.h
---- chromium-156.0.8078.47/chrome/browser/first_run/first_run.h.me 2026-10-27 17:44:12.180031165 +0100
-+++ chromium-156.0.8078.47/chrome/browser/first_run/first_run.h 2026-10-27 17:44:55.586434323 +0100
-@@ -74,7 +74,7 @@ struct MasterPrefs {
- bool confirm_to_quit;
- #endif
- #if BUILDFLAG(IS_LINUX)
-- bool eula_required = true;
-+ bool eula_required = false;
- #endif
- };
-
diff --git a/chromium-ftbfs-crubit.patch b/chromium-ftbfs-crubit.patch
index 31e76d6..66b8f31 100644
--- a/chromium-ftbfs-crubit.patch
+++ b/chromium-ftbfs-crubit.patch
@@ -1,19 +1,8 @@
-ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
---- a/chrome/browser/devtools/chrome_devtools_session.cc
-+++ b/chrome/browser/devtools/chrome_devtools_session.cc
-@@ -78,11 +78,6 @@ ChromeDevToolsSession::ChromeDevToolsSes
- cast_handler_ = std::make_unique<CastHandler>(
- agent_host->GetWebContents(), dispatcher());
- }
-- if (IsDomainAvailableToUntrustedClient<StorageHandler>() ||
-- channel->GetClient()->IsTrusted()) {
-- storage_handler_ = std::make_unique<StorageHandler>(
-- agent_host->GetWebContents(), dispatcher());
-- }
- }
- if (agent_host->GetWebContents() &&
- (agent_host->GetType() == content::DevToolsAgentHost::kTypePage ||
+pulled from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
+
+This is not part of the official ungoogled-chromium patch set
+
--- a/components/cbor/BUILD.gn
+++ b/components/cbor/BUILD.gn
@@ -12,7 +12,7 @@ buildflag_header("buildflags") {
@@ -43,9 +32,264 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
deps += [
"//components/cbor/rust:cbor_rust_bindings",
"//components/cbor/rust:cbor_rust_unittests",
+--- a/components/qr_code_generator/BUILD.gn
++++ b/components/qr_code_generator/BUILD.gn
+@@ -2,6 +2,8 @@
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
+
++import("//build/buildflag_header.gni")
++import("//build/config/rust.gni")
+ import("//testing/libfuzzer/fuzzer_test.gni")
+
+ declare_args() {
+@@ -9,6 +11,7 @@ declare_args() {
+ enable_qr_print = false
+ }
+
++# Error type shared between C++ and Rust.
+ source_set("error") {
+ public = [ "error.h" ]
+ }
+@@ -30,6 +33,17 @@ source_set("bitmap_generator") {
+ ]
+ }
+
++# TODO(https://crbug.com/533546009): After Crubit bakes and sticks on the
++# Stable release channel, then it should be okay to assume that
++# `enable_cpp_api_from_rust` will be forever true (and remove
++# `cxx::bridge`-related bits of QR code generator in this `BUILD.gn` file, bits
++# in `.cc` files, and the whole `qr_code_generator_ffi_glue.rs` file).
++buildflag_header("cpp_api_from_rust_buildflags") {
++ header = "cpp_api_from_rust_buildflags.h"
++ flags = [ "ENABLE_CPP_API_FROM_RUST=$enable_cpp_api_from_rust" ]
++ visibility = [ ":qr_code_generator" ]
++}
++
+ source_set("qr_code_generator") {
+ # Enforces that `qr_code_generator.h` does not #include headers from private
+ # `deps`, which also stops GN from forwarding the Crubit bindings' hard_deps
+@@ -37,16 +51,35 @@ source_set("qr_code_generator") {
+ check_includes_strict = true
+ public = [ "qr_code_generator.h" ]
+ sources = [ "qr_code_generator.cc" ]
+- deps = [
+- "//build/rust/crubit",
+- "//third_party/rust/qr_code/v2:cpp_api_from_rust",
+- ]
++ deps = [ ":cpp_api_from_rust_buildflags" ]
++ if (enable_cpp_api_from_rust) {
++ deps += [
++ "//build/rust/crubit",
++ "//third_party/rust/qr_code/v2:cpp_api_from_rust",
++ ]
++ } else {
++ deps += [ ":qr_code_generator_ffi_glue" ]
++ }
+ public_deps = [
+ ":error",
+ "//base",
+ ]
+ }
+
++if (!enable_cpp_api_from_rust) {
++ rust_static_library("qr_code_generator_ffi_glue") {
++ allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
++ crate_root = "qr_code_generator_ffi_glue.rs"
++ sources = [ "qr_code_generator_ffi_glue.rs" ]
++ cxx_bindings = [ "qr_code_generator_ffi_glue.rs" ]
++ visibility = [ ":qr_code_generator" ]
++ deps = [
++ ":error",
++ "//third_party/rust/qr_code/v2:lib",
++ ]
++ }
++}
++
+ source_set("unit_tests") {
+ testonly = true
+ sources = [
+--- a/components/qr_code_generator/qr_code_generator.cc
++++ b/components/qr_code_generator/qr_code_generator.cc
+@@ -10,10 +10,17 @@
+
+ #include "base/check.h"
+ #include "base/check_op.h"
++#include "base/containers/span_rust.h"
+ #include "base/numerics/safe_conversions.h"
++#include "components/qr_code_generator/cpp_api_from_rust_buildflags.h"
++
++#if BUILDFLAG(ENABLE_CPP_API_FROM_RUST)
+ #include "third_party/crubit/support/rs_std/iterator_adapter.h"
+ #include "third_party/crubit/support/rs_std/slice_ref.h"
+ #include "third_party/rust/qr_code/v2/qr_code.h"
++#else
++#include "components/qr_code_generator/qr_code_generator_ffi_glue.rs.h"
++#endif
+
+ namespace qr_code_generator {
+
+@@ -22,6 +29,7 @@ GeneratedCode::~GeneratedCode() = defaul
+ GeneratedCode::GeneratedCode(GeneratedCode&&) = default;
+ GeneratedCode& GeneratedCode::operator=(GeneratedCode&&) = default;
+
++#if BUILDFLAG(ENABLE_CPP_API_FROM_RUST)
+ Error RustErrorToCppError(const ::qr_code::types::QrError& rust_error) {
+ if (rust_error == ::qr_code::types::QrError::MakeDataTooLong()) {
+ return Error::kInputTooLong;
+@@ -63,5 +71,32 @@ base::expected<GeneratedCode, Error> Gen
+ CHECK_EQ(code.data.size(), static_cast<size_t>(code.qr_size * code.qr_size));
+ return code;
+ }
++#else
++base::expected<GeneratedCode, Error> GenerateCode(
++ base::span<const uint8_t> in,
++ std::optional<int> min_version) {
++ rust::Slice<const uint8_t> rs_in = base::SpanToRustSlice(in);
++
++ // `min_version` might come from a fuzzer and therefore we use a lenient
++ // `saturated_cast` instead of a `checked_cast`.
++ int16_t rs_min_version =
++ base::saturated_cast<int16_t>(min_version.value_or(0));
++
++ std::vector<uint8_t> result_pixels;
++ size_t result_width = 0;
++ Error result_error = Error::kUnknownError;
++ bool result_is_success = generate_qr_code_using_rust(
++ rs_in, rs_min_version, result_pixels, result_width, result_error);
++
++ if (!result_is_success) {
++ return base::unexpected(result_error);
++ }
++ GeneratedCode code;
++ code.data = std::move(result_pixels);
++ code.qr_size = base::checked_cast<int>(result_width);
++ CHECK_EQ(code.data.size(), static_cast<size_t>(code.qr_size * code.qr_size));
++ return code;
++}
++#endif
+
+ } // namespace qr_code_generator
+--- a/components/qr_code_generator/qr_code_generator_ffi_glue.rs
++++ b/components/qr_code_generator/qr_code_generator_ffi_glue.rs
+@@ -0,0 +1,106 @@
++// Copyright 2023 The Chromium Authors
++// Use of this source code is governed by a BSD-style license that can be
++// found in the LICENSE file.
++
++use cxx::CxxVector;
++use qr_code::types::{Color, EcLevel, QrError};
++use qr_code::{QrCode, Version};
++use std::pin::Pin;
++
++#[cxx::bridge(namespace = "qr_code_generator")]
++mod ffi {
++ #[repr(u8)]
++ enum Error {
++ kUnknownError = 0,
++ kInputTooLong = 1,
++ }
++
++ extern "C++" {
++ include!("components/qr_code_generator/error.h");
++ type Error;
++ }
++
++ extern "Rust" {
++ fn generate_qr_code_using_rust(
++ data: &[u8],
++ min_version: i16,
++ out_pixels: Pin<&mut CxxVector<u8>>,
++ out_qr_size: &mut usize,
++ out_error: &mut Error,
++ ) -> bool;
++ }
++}
++
++/// Translates `data` into a QR code.
++///
++/// `min_version` can request a minimum QR code version.
++fn generate(data: &[u8], min_version: Option<i16>) -> Result<QrCode, QrError> {
++ let mut qr_code = QrCode::new(data)?;
++
++ let actual_version = match qr_code.version() {
++ Version::Micro(_) => panic!("QrCode::new should not generate micro QR codes"),
++ Version::Normal(actual_version) => actual_version,
++ };
++
++ match min_version {
++ None => (),
++ Some(min_version) if actual_version >= min_version => (),
++ Some(min_version) => {
++ // If `actual_version` < `min_version`, then re-encode using `min_version`
++ qr_code = QrCode::with_version(data, Version::Normal(min_version), EcLevel::M)?;
++ }
++ }
++
++ Ok(qr_code)
++}
++
++/// Translates `data` into a QR code.
++///
++/// `min_version` can request a minimum QR code version (e.g. if the caller
++/// requires that the QR code has a certain minimal width and height; for
++/// example, QR code version 5 translates into 37x37 QR pixels). Setting
++/// `min_version` to 0 means that the caller doesn't have any QR version
++/// requirements.
++///
++/// On success returns `true` and populates `out_pixels` and `out_qr_size`. On
++/// failure returns `false` and populates `out_error`.
++pub fn generate_qr_code_using_rust(
++ data: &[u8],
++ min_version: i16,
++ mut out_pixels: Pin<&mut CxxVector<u8>>,
++ out_qr_size: &mut usize,
++ out_error: &mut ffi::Error,
++) -> bool {
++ let min_version = match min_version {
++ 0 => None,
++ 1..=40 => Some(min_version),
++ _ => {
++ *out_error = ffi::Error::kUnknownError;
++ return false;
++ }
++ };
++
++ match generate(data, min_version) {
++ Err(err) => {
++ *out_error = match err {
++ QrError::DataTooLong => ffi::Error::kInputTooLong,
++ _ => ffi::Error::kUnknownError,
++ };
++ false
++ }
++ Ok(qr_code) => {
++ *out_qr_size = qr_code.width();
++
++ assert!(out_pixels.is_empty());
++ for color in qr_code.into_colors() {
++ let u8_value = match color {
++ Color::Light => 0,
++ Color::Dark => 1,
++ };
++ out_pixels.as_mut().push(u8_value);
++ }
++
++ true
++ }
++ }
++}
--- a/components/web_package/BUILD.gn
+++ b/components/web_package/BUILD.gn
-@@ -51,8 +51,6 @@ source_set("web_package_rust_impl") {
+@@ -7,6 +7,7 @@ import("//testing/libfuzzer/fuzzer_test.
+ source_set("web_package_headers") {
+ visibility = [ ":*" ]
+ sources = [
++ "input_reader.h",
+ "signed_web_bundles/constants.h",
+ "signed_web_bundles/identity_validator.h",
+ "signed_web_bundles/integrity_block_parser.h",
+@@ -51,8 +52,6 @@ source_set("web_package_rust_impl") {
"//components/base32",
"//components/cbor",
"//components/web_package/mojom",
@@ -54,20 +298,15 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
"//mojo/public/cpp/bindings",
"//net",
"//services/network/public/mojom",
-@@ -67,12 +65,10 @@ static_library("web_package") {
- "signed_web_bundles/signed_web_bundle_signature_stack.cc",
- "signed_web_bundles/signed_web_bundle_signature_stack_entry.cc",
- "web_bundle_builder.cc",
-- "web_bundle_parser_factory.cc",
- "web_bundle_utils.cc",
- ]
+@@ -61,6 +60,7 @@ source_set("web_package_rust_impl") {
- deps = [
-- ":web_package_rust_impl",
- "//base",
- "//components/base32",
- "//components/cbor",
-@@ -115,7 +111,6 @@ source_set("mojom_mapped_types_rust_impl
+ static_library("web_package") {
+ sources = [
++ "input_reader.cc",
+ "signed_web_bundles/identity_validator.cc",
+ "signed_web_bundles/signed_web_bundle_id.cc",
+ "signed_web_bundles/signed_web_bundle_integrity_block.cc",
+@@ -115,7 +115,6 @@ source_set("mojom_mapped_types_rust_impl
deps = [
":mojom_mapped_types_headers",
"//base",
@@ -75,15 +314,326 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
"//crypto",
"//mojo/public/cpp/bindings",
]
-@@ -159,8 +154,6 @@ source_set("unit_tests") {
- ":web_package",
+@@ -160,7 +159,6 @@ source_set("unit_tests") {
"//base/test:test_support",
"//components/cbor",
-- "//components/web_package/rust:web_package_rust_unittests",
+ "//components/web_package/rust:web_package_rust_unittests",
- "//components/web_package/signed_web_bundles/rust:signed_web_bundles_rust_unittests",
"//components/web_package/test_support",
"//mojo/public/cpp/bindings",
"//mojo/public/cpp/test_support:test_utils",
+--- a/components/web_package/input_reader.cc
++++ b/components/web_package/input_reader.cc
+@@ -0,0 +1,193 @@
++// Copyright 2022 The Chromium Authors
++// Use of this source code is governed by a BSD-style license that can be
++// found in the LICENSE file.
++
++#include "components/web_package/input_reader.h"
++
++#include <algorithm>
++#include <utility>
++
++#include "base/numerics/checked_math.h"
++#include "base/strings/string_util.h"
++#include "base/strings/string_view_util.h"
++#include "components/cbor/constants.h"
++#include "components/cbor/values.h"
++
++namespace web_package {
++
++namespace {
++
++// This array must be kept in sync with the `CBORType` enum.
++constexpr std::array kAcceptedCBORTypes = {
++ // clang-format off
++ CBORType::kUnsignedInt,
++ CBORType::kNegativeInt,
++ CBORType::kByteString,
++ CBORType::kTextString,
++ CBORType::kArray,
++ CBORType::kMap,
++ CBORType::kSimpleValue,
++ // clang-format on
++};
++
++std::optional<int64_t> DecodeValueToNegative(uint64_t value) {
++ auto negative_value = -base::CheckedNumeric<int64_t>(value) - 1;
++ if (!negative_value.IsValid()) {
++ return std::nullopt;
++ }
++ return static_cast<int64_t>(negative_value.ValueOrDie());
++}
++
++std::optional<int64_t> DecodeValueToUnsigned(uint64_t value) {
++ auto unsigned_value = base::CheckedNumeric<int64_t>(value);
++ if (!unsigned_value.IsValid()) {
++ return std::nullopt;
++ }
++ return static_cast<int64_t>(unsigned_value.ValueOrDie());
++}
++
++} // namespace
++
++InputReader::InputReader(base::span<const uint8_t> buf) : buf_(buf) {}
++
++InputReader::~InputReader() = default;
++
++std::optional<uint8_t> InputReader::ReadByte() {
++ uint8_t b;
++ if (!buf_.ReadU8BigEndian(b)) {
++ return std::nullopt;
++ }
++ return {b};
++}
++
++std::optional<base::span<const uint8_t>> InputReader::ReadBytes(size_t n) {
++ return buf_.Read(n);
++}
++
++std::optional<std::string_view> InputReader::ReadString(size_t n) {
++ auto bytes = buf_.Read(n);
++ if (!bytes) {
++ return std::nullopt;
++ }
++ if (!base::IsStringUTF8(base::as_string_view(*bytes))) {
++ return std::nullopt;
++ }
++ return base::as_string_view(*bytes);
++}
++
++std::optional<uint64_t> InputReader::ReadCBORHeader(CBORType expected_type) {
++ auto pair = ReadTypeAndArgument();
++ if (!pair || pair->first != expected_type) {
++ return std::nullopt;
++ }
++ return pair->second;
++}
++
++std::optional<CBORHeader> InputReader::ReadCBORHeader() {
++ auto pair = ReadTypeAndArgument();
++ if (!pair) {
++ return std::nullopt;
++ }
++
++ const auto& [type, additional_info] = *pair;
++ switch (type) {
++ case CBORType::kSimpleValue: {
++ using SimpleValue = cbor::Value::SimpleValue;
++ if (additional_info == std::to_underlying(SimpleValue::TRUE_VALUE)) {
++ return {{true}};
++ } else if (additional_info ==
++ std::to_underlying(SimpleValue::FALSE_VALUE)) {
++ return {{false}};
++ } else {
++ return std::nullopt;
++ }
++ }
++ case CBORType::kUnsignedInt:
++ case CBORType::kNegativeInt: {
++ std::optional<int64_t> value =
++ type == CBORType::kUnsignedInt
++ ? DecodeValueToUnsigned(additional_info)
++ : DecodeValueToNegative(additional_info);
++ if (!value) {
++ return std::nullopt;
++ }
++ return {{*value}};
++ }
++ case CBORType::kByteString:
++ case CBORType::kTextString: {
++ using StringInfo = CBORHeader::StringInfo;
++ using StringType = CBORHeader::StringInfo::StringType;
++
++ return {{StringInfo{.type = type == CBORType::kByteString
++ ? StringType::kByteString
++ : StringType::kTextString,
++ .byte_length = additional_info}}};
++ }
++ case CBORType::kArray:
++ case CBORType::kMap: {
++ using ContainerInfo = CBORHeader::ContainerInfo;
++ using ContainerType = CBORHeader::ContainerInfo::ContainerType;
++
++ return {{ContainerInfo{.type = type == CBORType::kArray
++ ? ContainerType::kArray
++ : ContainerType::kMap,
++ .size = additional_info}}};
++ }
++ }
++}
++
++// https://datatracker.ietf.org/doc/html/rfc8949.html#section-3
++std::optional<std::pair<CBORType, uint64_t>>
++InputReader::ReadTypeAndArgument() {
++ std::optional<uint8_t> first_byte = ReadByte();
++ if (!first_byte) {
++ return std::nullopt;
++ }
++
++ // There are more CBOR types in the standard than we accept. To avoid mishits
++ // during `static_cast<CBORType>`, it's safer to validate the type beforehand.
++ uint8_t type_byte = (*first_byte & cbor::constants::kMajorTypeMask) >>
++ cbor::constants::kMajorTypeBitShift;
++ if (!std::ranges::contains(kAcceptedCBORTypes, type_byte,
++ &std::to_underlying<CBORType>)) {
++ return std::nullopt;
++ }
++
++ CBORType type = static_cast<CBORType>(type_byte);
++ uint8_t b = *first_byte & cbor::constants::kAdditionalInformationMask;
++
++ if (b <= 23) {
++ return std::make_pair(type, b);
++ }
++ if (b == 24) {
++ auto content = ReadByte();
++ if (!content || *content < 24) {
++ return std::nullopt;
++ }
++ return std::make_pair(type, *content);
++ }
++ if (b == 25) {
++ uint16_t content;
++ if (!ReadBigEndian(&content) || content >> 8 == 0) {
++ return std::nullopt;
++ }
++ return std::make_pair(type, content);
++ }
++ if (b == 26) {
++ uint32_t content;
++ if (!ReadBigEndian(&content) || content >> 16 == 0) {
++ return std::nullopt;
++ }
++ return std::make_pair(type, content);
++ }
++ if (b == 27) {
++ uint64_t content;
++ if (!ReadBigEndian(&content) || content >> 32 == 0) {
++ return std::nullopt;
++ }
++ return std::make_pair(type, content);
++ }
++ return std::nullopt;
++}
++
++} // namespace web_package
+--- a/components/web_package/input_reader.h
++++ b/components/web_package/input_reader.h
+@@ -0,0 +1,113 @@
++// Copyright 2022 The Chromium Authors
++// Use of this source code is governed by a BSD-style license that can be
++// found in the LICENSE file.
++
++#ifndef COMPONENTS_WEB_PACKAGE_INPUT_READER_H_
++#define COMPONENTS_WEB_PACKAGE_INPUT_READER_H_
++
++#include <optional>
++#include <string_view>
++#include <variant>
++
++#include "base/containers/span.h"
++#include "base/containers/span_reader.h"
++#include "base/memory/stack_allocated.h"
++#include "base/types/id_type.h"
++
++namespace web_package {
++
++// https://datatracker.ietf.org/doc/html/rfc8949.html#section-3.1
++enum class CBORType {
++ kUnsignedInt = 0,
++ kNegativeInt = 1,
++ kByteString = 2,
++ kTextString = 3,
++ kArray = 4,
++ kMap = 5,
++ // kTag = 6,
++ kSimpleValue = 7,
++ // kFloatValue = 7,
++};
++
++struct CBORHeader {
++ struct StringInfo {
++ enum class StringType {
++ kByteString,
++ kTextString,
++ } type;
++ uint64_t byte_length;
++ };
++ struct ContainerInfo {
++ enum class ContainerType {
++ kArray,
++ kMap,
++ } type;
++ uint64_t size;
++ };
++
++ const std::variant<bool, int64_t, StringInfo, ContainerInfo> data;
++};
++
++// The maximum length of the CBOR item header (type and argument).
++// https://datatracker.ietf.org/doc/html/rfc8949.html#section-3
++// When the additional information (the low-order 5 bits of the first
++// byte) is 27, the argument's value is held in the following 8 bytes.
++constexpr uint64_t kMaxCBORItemHeaderSize = 9;
++
++// A utility class for reading various values from input buffer.
++class InputReader {
++ STACK_ALLOCATED();
++
++ public:
++ explicit InputReader(base::span<const uint8_t> buf);
++
++ InputReader(const InputReader&) = delete;
++ InputReader& operator=(const InputReader&) = delete;
++
++ ~InputReader();
++
++ size_t CurrentOffset() const { return buf_.num_read(); }
++ size_t Size() const { return buf_.remaining(); }
++
++ std::optional<uint8_t> ReadByte();
++
++ template <typename T>
++ requires(std::is_integral_v<T> && std::is_unsigned_v<T>)
++ bool ReadBigEndian(T* out) {
++ if constexpr (sizeof(T) == 1) {
++ return buf_.ReadU8BigEndian(*out);
++ } else if constexpr (sizeof(T) == 2) {
++ return buf_.ReadU16BigEndian(*out);
++ } else if constexpr (sizeof(T) == 4) {
++ return buf_.ReadU32BigEndian(*out);
++ } else {
++ static_assert(sizeof(T) == 8);
++ return buf_.ReadU64BigEndian(*out);
++ }
++ }
++
++ std::optional<base::span<const uint8_t>> ReadBytes(size_t n);
++
++ std::optional<std::string_view> ReadString(size_t n);
++
++ // Parses the type and argument of a CBOR item from the input head. If parsed
++ // successfully and the type matches `expected_type`, returns the argument.
++ // Otherwise returns nullopt.
++ std::optional<uint64_t> ReadCBORHeader(CBORType expected_type);
++
++ // Parses the type and argument of a CBOR item from the input head. If parsed
++ // successfully, returns type and:
++ // * value for kUnsignedInt/kNegativeInt;
++ // * value_size for kTextString/kByteString/kMap/kArray.
++ // Otherwise returns nullopt.
++ std::optional<CBORHeader> ReadCBORHeader();
++
++ private:
++ std::optional<std::pair<CBORType, uint64_t>> ReadTypeAndArgument();
++
++ base::SpanReader<const uint8_t> buf_;
++};
++
++} // namespace web_package
++
++#endif // COMPONENTS_WEB_PACKAGE_INPUT_READER_H_
--- a/components/web_package/signed_web_bundles/ecdsa_p256_sha256_signature.cc
+++ b/components/web_package/signed_web_bundles/ecdsa_p256_sha256_signature.cc
@@ -9,7 +9,8 @@
@@ -134,7 +684,7 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
} // namespace web_package
--- a/components/web_package/signed_web_bundles/integrity_block_parser.cc
+++ b/components/web_package/signed_web_bundles/integrity_block_parser.cc
-@@ -4,17 +4,19 @@
+@@ -4,16 +4,19 @@
#include "components/web_package/signed_web_bundles/integrity_block_parser.h"
@@ -151,13 +701,13 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
+#include "base/strings/to_string.h"
#include "base/types/expected.h"
#include "base/types/expected_macros.h"
- #include "components/cbor/reader.h"
++#include "components/cbor/reader.h"
+#include "components/cbor/writer.h"
+#include "components/web_package/mojom/web_bundle_parser.mojom-forward.h"
#include "components/web_package/mojom/web_bundle_parser.mojom.h"
#include "components/web_package/signed_web_bundles/constants.h"
#include "components/web_package/signed_web_bundles/ecdsa_p256_public_key.h"
-@@ -22,56 +24,11 @@
+@@ -21,56 +24,11 @@
#include "components/web_package/signed_web_bundles/ed25519_public_key.h"
#include "components/web_package/signed_web_bundles/ed25519_signature.h"
#include "components/web_package/signed_web_bundles/integrity_block_attributes.h"
@@ -214,7 +764,7 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
IntegrityBlockParser::IntegrityBlockParser(
mojom::BundleDataSource& data_source,
WebBundleParser::ParseIntegrityBlockCallback callback)
-@@ -103,37 +60,103 @@ void IntegrityBlockParser::OnIntegrityBl
+@@ -102,37 +60,103 @@ void IntegrityBlockParser::OnIntegrityBl
RunErrorCallback("Error reading the integrity block.");
return;
}
@@ -343,7 +893,7 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
}
std::move(complete_callback_)
-@@ -141,13 +164,74 @@ void IntegrityBlockParser::OnIntegrityBl
+@@ -140,13 +164,74 @@ void IntegrityBlockParser::OnIntegrityBl
std::move(integrity_block), nullptr));
}
@@ -462,7 +1012,7 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
--- a/components/web_package/signed_web_bundles/rust/BUILD.gn
+++ b/components/web_package/signed_web_bundles/rust/BUILD.gn
-@@ -10,7 +10,6 @@ rust_static_library("signed_web_bundles_
+@@ -11,7 +11,6 @@ rust_static_library("signed_web_bundles_
sources = [
"constants.rs",
"integrity_block.rs",
@@ -555,8 +1105,8 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
return digest;
}
---- a/components/web_package/signed_web_bundles/signed_web_bundle_utils.cc
-+++ b/components/web_package/signed_web_bundles/signed_web_bundle_utils.cc
+--- a/components/web_package/signed_web_bundles/signed_web_bundle_utils.cc
++++ b/components/web_package/signed_web_bundles/signed_web_bundle_utils.cc
@@ -5,18 +5,37 @@
#include "components/web_package/signed_web_bundles/signed_web_bundle_utils.h"
@@ -601,120 +1151,993 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
}
} // namespace web_package
---- a/components/webapps/isolated_web_apps/bundle_operations/bundle_operations.cc
-+++ b/components/webapps/isolated_web_apps/bundle_operations/bundle_operations.cc
-@@ -79,16 +79,7 @@ void ReadSignedWebBundleIdInsecurely(
- const base::FilePath& path,
- base::OnceCallback<void(base::expected<web_package::SignedWebBundleId,
- std::string>)> callback) {
-- UnsecureSignedWebBundleIdReader::GetWebBundleId(
-- path,
-- base::BindOnce([](base::expected<web_package::SignedWebBundleId,
-- UnusableSwbnFileError> result) {
-- return result.transform_error([](const UnusableSwbnFileError& error) {
-- return "Failed to read the integrity block of the "
-- "signed web bundle: " +
-- error.message();
+--- a/components/web_package/web_bundle_parser.cc
++++ b/components/web_package/web_bundle_parser.cc
+@@ -7,33 +7,175 @@
+ #include <algorithm>
+ #include <memory>
+ #include <optional>
+-#include <string>
+ #include <string_view>
+-#include <utility>
+-#include <vector>
+
+ #include "base/check.h"
+ #include "base/compiler_specific.h"
+-#include "base/containers/flat_map.h"
++#include "base/containers/span.h"
+ #include "base/functional/bind.h"
+ #include "base/functional/callback.h"
+ #include "base/logging.h"
+-#include "base/memory/raw_ref.h"
+ #include "base/memory/weak_ptr.h"
+ #include "base/notreached.h"
+-#include "base/numerics/safe_conversions.h"
+-#include "base/strings/strcat.h"
++#include "base/numerics/checked_math.h"
++#include "base/strings/string_number_conversions.h"
+ #include "base/strings/string_util.h"
+-#include "base/strings/string_view_util.h"
++#include "base/strings/stringprintf.h"
++#include "components/cbor/reader.h"
++#include "components/web_package/input_reader.h"
+ #include "components/web_package/mojom/web_bundle_parser.mojom.h"
+-#include "components/web_package/rust/web_package_rust.h"
+ #include "components/web_package/signed_web_bundles/integrity_block_parser.h"
++#include "components/web_package/web_bundle_utils.h"
+ #include "mojo/public/cpp/bindings/remote.h"
++#include "net/http/http_util.h"
+
+ namespace web_package {
+
+ namespace {
+
++// The number of bytes used to specify the length of the web bundle.
++// https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#name-trailing-length
++constexpr uint64_t kTrailingLengthNumBytes = 8;
++
++// The maximum size of the section-lengths CBOR item.
++constexpr uint64_t kMaxSectionLengthsCBORSize = 8192;
++
++// The maximum size of a metadata section allowed in this implementation.
++constexpr uint64_t kMaxMetadataSectionSize = 1 * 1024 * 1024;
++
++// The maximum size of the response header CBOR.
++constexpr uint64_t kMaxResponseHeaderLength = 512 * 1024;
++
++// The initial buffer size for reading an item from the response section.
++constexpr uint64_t kInitialBufferSizeForResponse = 4096;
++
++// The first byte of WebBundle format >=b2 (Array of length 5).
++constexpr uint8_t kBundleHeadByte = 0x85;
++// The first byte of WebBundle format b1 (Array of length 6).
++constexpr uint8_t kBundleB1HeadByte = 0x86;
++
++// CBOR of the magic string "🌐📦".
++// MetadataParser::ParseMagicBytes() checks the first byte (0x85) and this.
++//
++// The first 10 bytes of the web bundle format are:
++// 85 -- Array of length 5
++// 48 -- Byte string of length 8
++// F0 9F 8C 90 F0 9F 93 A6 -- "🌐📦" in UTF-8
++const uint8_t kBundleMagicBytes[] = {
++ 0x48, 0xF0, 0x9F, 0x8C, 0x90, 0xF0, 0x9F, 0x93, 0xA6,
++};
++
++// CBOR of the version string "b2\0\0".
++// 44 -- Byte string of length 4
++// 62 32 00 00 -- "b2\0\0"
++const uint8_t kVersionB2MagicBytes[] = {
++ 0x44, 0x62, 0x32, 0x00, 0x00,
++};
++// CBOR of the version string "b1\0\0".
++// 44 -- Byte string of length 4
++// 62 31 00 00 -- "b1\0\0"
++const uint8_t kVersionB1MagicBytes[] = {
++ 0x44, 0x62, 0x31, 0x00, 0x00,
++};
++
++// Section names.
++constexpr char kCriticalSection[] = "critical";
++constexpr char kIndexSection[] = "index";
++constexpr char kPrimarySection[] = "primary";
++constexpr char kResponsesSection[] = "responses";
++
++// A list of (section-name, length) pairs.
++using SectionLengths = std::vector<std::pair<std::string, uint64_t>>;
++
++// A map from section name to (offset, length) pair.
++using SectionOffsets = std::map<std::string, std::pair<uint64_t, uint64_t>>;
++
++bool IsMetadataSection(const std::string& name) {
++ return (name == kCriticalSection || name == kIndexSection ||
++ name == kPrimarySection);
++}
++
++// Parses a `section-lengths` CBOR item.
++// https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#name-bundle-sections
++// section-lengths = [* (section-name: tstr, length: uint) ]
++std::optional<SectionLengths> ParseSectionLengths(
++ base::span<const uint8_t> data) {
++ cbor::Reader::DecoderError error;
++ std::optional<cbor::Value> value = cbor::Reader::Read(data, &error);
++ if (!value.has_value() || !value->is_array()) {
++ return std::nullopt;
++ }
++
++ const cbor::Value::ArrayValue& array = value->GetArray();
++ if (array.size() % 2 != 0) {
++ return std::nullopt;
++ }
++
++ SectionLengths result;
++ for (size_t i = 0; i < array.size(); i += 2) {
++ if (!array[i].is_string() || !array[i + 1].is_unsigned()) {
++ return std::nullopt;
++ }
++ result.emplace_back(array[i].GetString(), array[i + 1].GetUnsigned());
++ }
++ return result;
++}
++
++struct ParsedHeaders {
++ base::flat_map<std::string, std::string> headers;
++ base::flat_map<std::string, std::string> pseudos;
++};
++
++// https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#name-responses
++// headers = {* bstr => bstr}
++std::optional<ParsedHeaders> ConvertCBORValueToHeaders(
++ const cbor::Value& headers_value) {
++ // |headers_value| of headers must be a map.
++ if (!headers_value.is_map()) {
++ return std::nullopt;
++ }
++
++ ParsedHeaders result;
++
++ for (const auto& item : headers_value.GetMap()) {
++ if (!item.first.is_bytestring() || !item.second.is_bytestring()) {
++ return std::nullopt;
++ }
++ std::string_view name = item.first.GetBytestringAsString();
++ std::string_view value = item.second.GetBytestringAsString();
++
++ // If name contains any upper-case or non-ASCII characters, return an error.
++ // This matches the requirement in Section 8.1.2 of [RFC7540].
++ if (!base::IsStringASCII(name) ||
++ std::ranges::any_of(name, base::IsAsciiUpper<char>)) {
++ return std::nullopt;
++ }
++
++ if (!name.empty() && name[0] == ':') {
++ // pseudos[name] must not exist, because CBOR maps cannot contain
++ // duplicate keys. This is ensured by cbor::Reader.
++ DCHECK(!result.pseudos.contains(name));
++ result.pseudos.insert(
++ std::make_pair(std::string(name), std::string(value)));
++ continue;
++ }
++
++ // Both name and value must be valid.
++ if (!net::HttpUtil::IsValidHeaderName(name) ||
++ !net::HttpUtil::IsValidHeaderValue(value)) {
++ return std::nullopt;
++ }
++
++ // headers[name] must not exist, because CBOR maps cannot contain duplicate
++ // keys. This is ensured by cbor::Reader.
++ DCHECK(!result.headers.contains(name));
++
++ result.headers.insert(
++ std::make_pair(std::string(name), std::string(value)));
++ }
++
++ return result;
++}
+
+ GURL ParseExchangeURL(std::string_view str, const GURL& base_url) {
+ DCHECK(base_url.is_empty() || base_url.is_valid());
+@@ -128,9 +270,7 @@ class WebBundleParser::MetadataParser
+ RunErrorCallback("Error reading bundle length.");
+ return;
+ }
+- const uint64_t unsigned_file_length =
+- base::checked_cast<uint64_t>(file_length);
+- if (unsigned_file_length < rust::TRAILING_LENGTH_NUM_BYTES) {
++ if (static_cast<uint64_t>(file_length) < kTrailingLengthNumBytes) {
+ RunErrorCallback("Error reading bundle length.");
+ return;
+ }
+@@ -138,10 +278,9 @@ class WebBundleParser::MetadataParser
+ // Read the last 8 bytes of the file that correspond to the trailing length
+ // field of the web bundle.
+ data_source_->get()->Read(
+- unsigned_file_length - rust::TRAILING_LENGTH_NUM_BYTES,
+- rust::TRAILING_LENGTH_NUM_BYTES,
++ file_length - kTrailingLengthNumBytes, kTrailingLengthNumBytes,
+ base::BindOnce(&MetadataParser::ParseWebBundleLength,
+- weak_factory_.GetWeakPtr(), unsigned_file_length));
++ weak_factory_.GetWeakPtr(), file_length));
+ }
+
+ void ParseWebBundleLength(const uint64_t file_length,
+@@ -156,20 +295,30 @@ class WebBundleParser::MetadataParser
+ // the start of the bundle, instead of assuming that the start of the file
+ // is also the start of the bundle. This allows the bundle to be appended to
+ // another format such as a generic self-extracting executable."
+- // https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#name-trailing-length
+- auto bundle_offset = rust::parse_trailing_length(*data, file_length);
+- if (!bundle_offset.has_value()) {
+- RunErrorCallback(bundle_offset.error().message);
++ // https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#section-4.1.1-3
++ InputReader input(*data);
++ uint64_t web_bundle_length;
++ if (!input.ReadBigEndian(&web_bundle_length)) {
++ RunErrorCallback("Error reading bundle length.");
++ return;
++ }
++
++ if (web_bundle_length > file_length) {
++ RunErrorCallback("Invalid bundle length.");
+ return;
+ }
+- ReadMagicBytes(*bundle_offset);
++ const uint64_t web_bundle_offset = file_length - web_bundle_length;
++ ReadMagicBytes(web_bundle_offset);
+ }
+
+ void ReadMagicBytes(const uint64_t offset_in_stream) {
+ // First, we will parse the CBOR header of the top level array (1-byte),
+ // `magic`, `version`, and the CBOR header of `section-lengths`.
++ const uint64_t length = 1 + sizeof(kBundleMagicBytes) +
++ sizeof(kVersionB2MagicBytes) +
++ kMaxCBORItemHeaderSize;
+ data_source_->get()->Read(
+- offset_in_stream, rust::INITIAL_BUNDLE_HEADER_BUFFER_SIZE,
++ offset_in_stream, length,
+ base::BindOnce(&MetadataParser::ParseMagicBytes,
+ weak_factory_.GetWeakPtr(), offset_in_stream));
+ }
+@@ -182,23 +331,83 @@ class WebBundleParser::MetadataParser
+ return;
+ }
+
+- auto res = rust::parse_magic_and_version(*data, offset_in_stream);
+- if (!res.has_value()) {
+- const auto& error = res.error();
+- RunErrorCallback(error.message,
+- error.is_version_error
+- ? mojom::BundleParseErrorType::kVersionError
+- : mojom::BundleParseErrorType::kFormatError);
++ InputReader input(*data);
++
++ // Read the first byte denoting a CBOR array size. It must be equal to 0x85
++ // (5).
++ const auto array_size = input.ReadByte();
++ if (!array_size) {
++ RunErrorCallback("Missing CBOR array size byte.");
+ return;
+ }
+
+- uint64_t next_offset = res->next_read_offset;
+- uint64_t next_length = res->next_read_length;
++ // Let kBundleB1HeadByte pass this check, to report custom error message for
++ // b1 bundles.
++ if (*array_size != kBundleHeadByte && *array_size != kBundleB1HeadByte) {
++ RunErrorCallback("Wrong magic bytes.");
++ return;
++ }
++
++ // Check the magic bytes "48 F0 9F 8C 90 F0 9F 93 A6".
++ const auto magic = input.ReadBytes(sizeof(kBundleMagicBytes));
++ if (!magic || !std::ranges::equal(*magic, kBundleMagicBytes)) {
++ RunErrorCallback("Wrong magic bytes.");
++ return;
++ }
++
++ // Let version be the result of reading 5 bytes from stream.
++ const auto version = input.ReadBytes(sizeof(kVersionB2MagicBytes));
++ if (!version) {
++ RunErrorCallback("Cannot read version bytes.");
++ return;
++ }
++ if (!std::ranges::equal(*version, kVersionB2MagicBytes)) {
++ const char* message;
++ if (std::ranges::equal(*version, kVersionB1MagicBytes)) {
++ message =
++ "Bundle format version is 'b1' which is no longer supported."
++ " Currently supported version is: 'b2'";
++ } else {
++ message =
++ "Version error: bundle format does not correspond to the specifed "
++ "version. Currently supported version is: 'b2'";
++ }
++ RunErrorCallback(message, mojom::BundleParseErrorType::kVersionError);
++ return;
++ }
++ if (*array_size != kBundleHeadByte) {
++ RunErrorCallback("Wrong CBOR array size of the top-level structure");
++ return;
++ }
++
++ const auto section_lengths_length =
++ input.ReadCBORHeader(CBORType::kByteString);
++ if (!section_lengths_length) {
++ RunErrorCallback("Cannot parse the size of section-lengths.");
++ return;
++ }
++
++ // https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#name-top-level-structure
++ // "The section-lengths array is embedded in a byte string to facilitate
++ // reading it from a network. This byte string MUST be less than 8192
++ // (8*1024) bytes long, and parsers MUST NOT load any data from a
++ // section-lengths item longer than this."
++ if (*section_lengths_length >= kMaxSectionLengthsCBORSize) {
++ RunErrorCallback(
++ "The section-lengths CBOR must be smaller than 8192 bytes.");
++ return;
++ }
++
++ // In the next step, we will parse the content of `section-lengths`,
++ // and the CBOR header of `sections`.
++ const uint64_t length = *section_lengths_length + kMaxCBORItemHeaderSize;
++
++ offset_in_stream += input.CurrentOffset();
+ data_source_->get()->Read(
+- next_offset, next_length,
++ offset_in_stream, length,
+ base::BindOnce(&MetadataParser::ParseBundleHeader,
+- weak_factory_.GetWeakPtr(), next_offset,
+- res->section_lengths_len));
++ weak_factory_.GetWeakPtr(), offset_in_stream,
++ *section_lengths_length));
+ }
+
+ void ParseBundleHeader(uint64_t offset_in_stream,
+@@ -208,39 +417,109 @@ class WebBundleParser::MetadataParser
+ RunErrorCallback("Error reading bundle header.");
+ return;
+ }
++ InputReader input(*data);
++
++ // webbundle = [
++ // magic: h'F0 9F 8C 90 F0 9F 93 A6',
++ // version: bytes .size 4,
++ // section-lengths: bytes .cbor section-lengths, <==== here
++ // sections: [* any ],
++ // length: bytes .size 8, ; Big-endian number of bytes in the bundle.
++ // ]
++ const auto section_lengths_bytes = input.ReadBytes(section_lengths_length);
++ if (!section_lengths_bytes) {
++ RunErrorCallback("Cannot read section-lengths.");
++ return;
++ }
++ // https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#name-bundle-sections
++ // section-lengths = [* (section-name: tstr, length: uint) ]
++ const auto section_lengths = ParseSectionLengths(*section_lengths_bytes);
++ if (!section_lengths) {
++ RunErrorCallback("Cannot parse section-lengths.");
++ return;
++ }
++
++ // webbundle = [
++ // magic: h'F0 9F 8C 90 F0 9F 93 A6',
++ // version: bytes .size 4,
++ // section-lengths: bytes .cbor section-lengths,
++ // sections: [* any ], <==== here
++ // length: bytes .size 8, ; Big-endian number of bytes in the bundle.
++ // ]
++ const auto num_sections = input.ReadCBORHeader(CBORType::kArray);
++ if (!num_sections) {
++ RunErrorCallback("Cannot parse the number of sections.");
++ return;
++ }
+
+- auto res = rust::parse_bundle_header(*data, section_lengths_length,
+- offset_in_stream);
+- if (!res.has_value()) {
+- RunErrorCallback(res.error().message);
++ // "The sections array contains the sections' content. The length of this
++ // array MUST be exactly half the length of the section-lengths array, and
++ // parsers MUST NOT load any data if that is not the case."
++ if (*num_sections != section_lengths->size()) {
++ RunErrorCallback("Unexpected number of sections.");
+ return;
+ }
+
+- responses_section_offset_ = res->responses_offset;
+- responses_section_length_ = res->responses_length;
+- metadata_sections_to_read_ = std::move(res->metadata_sections);
++ const uint64_t sections_start = offset_in_stream + input.CurrentOffset();
++ uint64_t current_offset = sections_start;
++
++ // Convert |section_lengths| to |section_offsets_|.
++ for (const auto& pair : *section_lengths) {
++ const std::string& name = pair.first;
++ const uint64_t length = pair.second;
++ bool added = section_offsets_
++ .insert(std::make_pair(
++ name, std::make_pair(current_offset, length)))
++ .second;
++ if (!added) {
++ RunErrorCallback("Duplicated section.");
++ return;
++ }
++
++ if (!base::CheckAdd(current_offset, length)
++ .AssignIfValid(¤t_offset)) {
++ RunErrorCallback("Integer overflow calculating section offsets.");
++ return;
++ }
++ }
++
++ // "The "responses" section MUST appear after the other three sections
++ // defined here, and parsers MUST NOT load any data if that is not the
++ // case."
++ if (section_lengths->empty() ||
++ section_lengths->back().first != kResponsesSection) {
++ RunErrorCallback("Responses section is not the last in section-lengths.");
++ return;
++ }
+
++ // Initialize |metadata_|.
+ metadata_ = mojom::BundleMetadata::New();
+ metadata_->version = mojom::BundleFormatVersion::kB2;
+
+- ReadMetadataSections(/*section_index=*/0);
++ ReadMetadataSections(section_offsets_.begin());
+ }
+
+ // https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#name-bundle-sections
+- void ReadMetadataSections(size_t section_index) {
+- if (section_index < metadata_sections_to_read_.size()) {
+- const auto& section = metadata_sections_to_read_[section_index];
+- if (section.length > rust::MAX_METADATA_SECTION_SIZE) {
++ void ReadMetadataSections(SectionOffsets::const_iterator section_iter) {
++ for (; section_iter != section_offsets_.end(); ++section_iter) {
++ const auto& name = section_iter->first;
++ if (!IsMetadataSection(name)) {
++ continue;
++ }
++ const uint64_t section_offset = section_iter->second.first;
++ const uint64_t section_length = section_iter->second.second;
++ if (section_length > kMaxMetadataSectionSize) {
+ RunErrorCallback(
+ "Metadata sections larger than 1MB are not supported.");
+ return;
+ }
+
+ data_source_->get()->Read(
+- section.offset, section.length,
++ section_offset, section_length,
+ base::BindOnce(&MetadataParser::ParseMetadataSection,
+- weak_factory_.GetWeakPtr(), section_index,
+- section.length));
++ weak_factory_.GetWeakPtr(), section_iter,
++ section_length));
++ // This loop will be resumed by ParseMetadataSection().
+ return;
+ }
+
+@@ -253,7 +532,7 @@ class WebBundleParser::MetadataParser
+ RunSuccessCallback();
+ }
+
+- void ParseMetadataSection(size_t section_index,
++ void ParseMetadataSection(SectionOffsets::const_iterator section_iter,
+ uint64_t expected_data_length,
+ const std::optional<std::vector<uint8_t>>& data) {
+ if (!data || data->size() != expected_data_length) {
+@@ -261,56 +540,152 @@ class WebBundleParser::MetadataParser
+ return;
+ }
+
+- const auto& name = metadata_sections_to_read_[section_index].name;
+- if (name == rust::INDEX_SECTION) {
+- auto res = rust::parse_index_section(*data, responses_section_offset_,
+- responses_section_length_);
+- if (!res.has_value()) {
+- RunErrorCallback(res.error().message);
++ // Parse the section contents as a CBOR item.
++ cbor::Reader::DecoderError error;
++ std::optional<cbor::Value> section_value =
++ cbor::Reader::Read(*data, &error);
++ if (!section_value) {
++ RunErrorCallback(std::string("Error parsing section contents as CBOR: ") +
++ cbor::Reader::ErrorCodeToString(error));
++ return;
++ }
++
++ const auto& name = section_iter->first;
++ // Note: Parse*Section() delete |this| on failure.
++ if (name == kIndexSection) {
++ if (!ParseIndexSection(*section_value)) {
+ return;
+ }
+- std::vector<std::pair<GURL, mojom::BundleResponseLocationPtr>> requests;
+- requests.reserve(res->size());
+- for (const auto& entry : *res) {
+- GURL parsed_url = ParseExchangeURL(entry.url, base_url_);
+- if (!parsed_url.is_valid()) {
+- std::string message = base::StrCat({"Index section: exchange URL \"",
+- entry.url, "\" is not valid."});
+- if (base_url_.is_empty()) {
+- message += " (Relative URLs are not allowed in this context.)";
+- }
+- RunErrorCallback(message);
+- return;
+- }
+- requests.emplace_back(
+- std::move(parsed_url),
+- mojom::BundleResponseLocation::New(entry.offset, entry.length));
+- }
+- metadata_->requests =
+- base::flat_map<GURL, mojom::BundleResponseLocationPtr>(
+- std::move(requests));
+- } else if (name == rust::CRITICAL_SECTION) {
+- if (auto res = rust::parse_critical_section(*data); !res.has_value()) {
+- RunErrorCallback(res.error().message);
++ } else if (name == kCriticalSection) {
++ if (!ParseCriticalSection(*section_value)) {
+ return;
+ }
+- } else if (name == rust::PRIMARY_SECTION) {
+- auto res = rust::parse_primary_section(*data);
+- if (!res.has_value()) {
+- RunErrorCallback(res.error().message);
++ } else if (name == kPrimarySection) {
++ if (!ParsePrimarySection(*section_value)) {
+ return;
+ }
+- GURL parsed_url = ParseExchangeURL(*res, base_url_);
+- if (!parsed_url.is_valid()) {
+- RunErrorCallback("Primary URL is not a valid exchange URL.");
+- return;
+- }
+- metadata_->primary_url = std::move(parsed_url);
+ } else {
+ NOTREACHED();
+ }
+ // Read the next metadata section.
+- ReadMetadataSections(section_index + 1);
++ ReadMetadataSections(++section_iter);
++ }
++
++ // https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#name-the-index-section
++ // The index section has the following structure:
++ // index = {* whatwg-url => [ location-in-responses ] }
++ // location-in-responses = (offset: uint, length: uint)
++ bool ParseIndexSection(const cbor::Value& section_value) {
++ // |section_value| of index section must be a map.
++ if (!section_value.is_map()) {
++ RunErrorCallback("Index section must be a map.");
++ return false;
++ }
++
++ base::flat_map<GURL, mojom::BundleResponseLocationPtr> requests;
++
++ auto responses_section = section_offsets_.find(kResponsesSection);
++ CHECK(responses_section != section_offsets_.end());
++ const uint64_t responses_section_offset = responses_section->second.first;
++ const uint64_t responses_section_length = responses_section->second.second;
++
++ // For each (url, responses) entry in the index map.
++ for (const auto& item : section_value.GetMap()) {
++ if (!item.first.is_string()) {
++ RunErrorCallback("Index section: key must be a string.");
++ return false;
++ }
++ if (!item.second.is_array()) {
++ RunErrorCallback("Index section: value must be an array.");
++ return false;
++ }
++ const std::string& url = item.first.GetString();
++ const cbor::Value::ArrayValue& responses_array = item.second.GetArray();
++
++ GURL parsed_url = ParseExchangeURL(url, base_url_);
++
++ if (!parsed_url.is_valid()) {
++ std::string message = base::StringPrintf(
++ "Index section: exchange URL \"%s\" is not valid.", url.c_str());
++ if (base_url_.is_empty()) {
++ message += " (Relative URLs are not allowed in this context.)";
++ }
++ RunErrorCallback(message);
++ return false;
++ }
++
++ if (responses_array.size() != 2) {
++ RunErrorCallback(
++ "Index section: the size of a response array per URL should be "
++ "exactly 2.");
++ return false;
++ }
++ if (!responses_array[0].is_unsigned() ||
++ !responses_array[1].is_unsigned()) {
++ RunErrorCallback(
++ "Index section: offset and length values must be unsigned.");
++ return false;
++ }
++ uint64_t offset = responses_array[0].GetUnsigned();
++ uint64_t length = responses_array[1].GetUnsigned();
++
++ uint64_t response_end;
++ if (!base::CheckAdd(offset, length).AssignIfValid(&response_end) ||
++ response_end > responses_section_length) {
++ RunErrorCallback("Index section: response out of range.");
++ return false;
++ }
++ uint64_t offset_within_stream = responses_section_offset + offset;
++
++ requests.insert(std::make_pair(
++ parsed_url,
++ mojom::BundleResponseLocation::New(offset_within_stream, length)));
++ }
++
++ metadata_->requests = std::move(requests);
++ return true;
++ }
++
++ // https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#critical-section
++ // critical = [*tstr]
++ bool ParseCriticalSection(const cbor::Value& section_value) {
++ if (!section_value.is_array()) {
++ RunErrorCallback("Critical section must be an array.");
++ return false;
++ }
++ // "If the client has not implemented a section named by one of the items in
++ // this list, the client MUST fail to parse the bundle as a whole."
++ for (const cbor::Value& elem : section_value.GetArray()) {
++ if (!elem.is_string()) {
++ RunErrorCallback("Non-string element in the critical section.");
++ return false;
++ }
++ const auto& section_name = elem.GetString();
++ if (!IsMetadataSection(section_name) &&
++ section_name != kResponsesSection) {
++ RunErrorCallback("Unknown critical section.");
++ return false;
++ }
++ }
++ return true;
++ }
++
++ // https://github.com/WICG/webpackage/blob/main/extensions/primary-section.md
++ // primary = whatwg-url
++ bool ParsePrimarySection(const cbor::Value& section_value) {
++ if (!section_value.is_string()) {
++ RunErrorCallback("Primary section must be a string.");
++ return false;
++ }
++
++ GURL parsed_url = ParseExchangeURL(section_value.GetString(), base_url_);
++
++ if (!parsed_url.is_valid()) {
++ RunErrorCallback("Primary URL is not a valid exchange URL.");
++ return false;
++ }
++ metadata_->primary_url = std::move(parsed_url);
++ return true;
+ }
+
+ void RunSuccessCallback() {
+@@ -319,14 +694,12 @@ class WebBundleParser::MetadataParser
+ nullptr));
+ }
+
+- void RunErrorCallback(std::string_view message,
++ void RunErrorCallback(const std::string& message,
+ mojom::BundleParseErrorType error_type =
+ mojom::BundleParseErrorType::kFormatError) {
+ DLOG(ERROR) << "Parsing web bundle error: " << message;
+- // Avoids an extra temporary std::string allocation in Mojo's New().
+- auto err = mojom::BundleMetadataParseError::New();
+- err->type = error_type;
+- err->message = message;
++ mojom::BundleMetadataParseErrorPtr err =
++ mojom::BundleMetadataParseError::New(error_type, message);
+ std::move(complete_callback_)
+ .Run(base::BindOnce(std::move(result_callback_), nullptr,
+ std::move(err)));
+@@ -337,9 +710,7 @@ class WebBundleParser::MetadataParser
+ std::optional<uint64_t> start_reading_offset_;
+ ParseMetadataCallback result_callback_;
+ ParsingCompleteCallback complete_callback_;
+- rs_std::Vec<rust::SectionOffsetEntry> metadata_sections_to_read_;
+- uint64_t responses_section_offset_ = 0;
+- uint64_t responses_section_length_ = 0;
++ SectionOffsets section_offsets_;
+ mojom::BundleMetadataPtr metadata_;
+ base::WeakPtrFactory<MetadataParser> weak_factory_{this};
+ };
+@@ -373,7 +744,7 @@ class WebBundleParser::ResponseParser
+ override {
+ CHECK(!result_callback_.is_null());
+ complete_callback_ = std::move(callback);
+- StartWithBufferSize(rust::INITIAL_BUFFER_SIZE_FOR_RESPONSE);
++ StartWithBufferSize(kInitialBufferSizeForResponse);
+ }
+
+ private:
+@@ -384,36 +755,115 @@ class WebBundleParser::ResponseParser
+ base::BindOnce(&ResponseParser::ParseResponseHeader,
+ weak_factory_.GetWeakPtr(), length));
+ }
++ // https://www.ietf.org/archive/id/draft-ietf-wpack-bundled-responses-01.html#name-responses
++ // responses = [*response]
++ // response = [headers: bstr .cbor headers, payload: bstr]
++ // headers = {* bstr => bstr}
+ void ParseResponseHeader(uint64_t expected_data_length,
+ const std::optional<std::vector<uint8_t>>& data) {
+ if (!data || data->size() != expected_data_length) {
+ RunErrorCallback("Error reading response header.");
+ return;
+ }
++ InputReader input(*data);
++
++ // |response| must be an array of length 2 (headers and payload).
++ auto num_elements = input.ReadCBORHeader(CBORType::kArray);
++ if (!num_elements || *num_elements != 2) {
++ RunErrorCallback("Array size of response must be 2.");
++ return;
++ }
+
+- auto parse_res =
+- rust::parse_response(*data, response_offset_, response_length_);
+- if (!parse_res.has_value()) {
+- RunErrorCallback(parse_res.error().message);
++ auto header_length = input.ReadCBORHeader(CBORType::kByteString);
++ if (!header_length) {
++ RunErrorCallback("Cannot parse response header length.");
+ return;
+ }
+- if (parse_res->needs_more_data) {
++
++ // "The length of the headers byte string in a response MUST be less than
++ // 524288 (512*1024) bytes, and recipients MUST fail to load a response with
++ // longer headers"
++ if (*header_length >= kMaxResponseHeaderLength) {
++ RunErrorCallback("Response header is too big.");
++ return;
++ }
++
++ // If we don't have enough data for the headers and the CBOR header of the
++ // payload, re-read with a larger buffer size.
++ const uint64_t required_buffer_size = std::min(
++ input.CurrentOffset() + *header_length + kMaxCBORItemHeaderSize,
++ response_length_);
++ if (data->size() < required_buffer_size) {
+ DVLOG(1) << "Re-reading response header with a buffer of size "
+- << parse_res->required_buffer_size;
+- StartWithBufferSize(parse_res->required_buffer_size);
++ << required_buffer_size;
++ StartWithBufferSize(required_buffer_size);
++ return;
++ }
++
++ // Parse headers.
++ auto headers_bytes = input.ReadBytes(*header_length);
++ if (!headers_bytes) {
++ RunErrorCallback("Cannot read response headers.");
++ return;
++ }
++ cbor::Reader::DecoderError error;
++ std::optional<cbor::Value> headers_value =
++ cbor::Reader::Read(*headers_bytes, &error);
++ if (!headers_value) {
++ RunErrorCallback("Cannot parse response headers.");
++ return;
++ }
++
++ auto parsed_headers = ConvertCBORValueToHeaders(*headers_value);
++ if (!parsed_headers) {
++ RunErrorCallback("Cannot parse response headers.");
++ return;
++ }
++
++ // "Each response's headers MUST include a :status pseudo-header with
++ // exactly 3 ASCII decimal digits and MUST NOT include any other
++ // pseudo-headers."
++ const auto pseudo_status = parsed_headers->pseudos.find(":status");
++ if (parsed_headers->pseudos.size() != 1 ||
++ pseudo_status == parsed_headers->pseudos.end()) {
++ RunErrorCallback(
++ "Response headers map must have exactly one pseudo-header, :status.");
++ return;
++ }
++ int status;
++ const auto& status_str = pseudo_status->second;
++ if (status_str.size() != 3 ||
++ !std::ranges::all_of(status_str, base::IsAsciiDigit<char>) ||
++ !base::StringToInt(status_str, &status)) {
++ RunErrorCallback(":status must be 3 ASCII decimal digits.");
++ return;
++ }
++
++ // Parse payload.
++ auto payload_length = input.ReadCBORHeader(CBORType::kByteString);
++ if (!payload_length) {
++ RunErrorCallback("Cannot parse response payload length.");
++ return;
++ }
++
++ // "If a response's payload is not empty, its headers MUST include a
++ // Content-Type header (Section 8.3 of [I-D.ietf-httpbis-semantics])."
++ if (*payload_length > 0 &&
++ !parsed_headers->headers.contains("content-type")) {
++ RunErrorCallback("Non-empty response must have a content-type header.");
++ return;
++ }
++
++ if (input.CurrentOffset() + *payload_length != response_length_) {
++ RunErrorCallback("Unexpected payload length.");
+ return;
+ }
+
+ mojom::BundleResponsePtr response = mojom::BundleResponse::New();
+- response->response_code = parse_res->response_code;
+- response->response_headers = base::MakeFlatMap<std::string, std::string>(
+- parse_res->headers, {}, [](const rust::HeaderEntry& header) {
+- return std::make_pair(
+- std::string(base::as_string_view(header.name.to_span())),
+- std::string(base::as_string_view(header.value.to_span())));
- });
-- }).Then(std::move(callback)));
-+ std::move(callback);
- }
+- response->payload_offset = parse_res->payload_offset;
+- response->payload_length = parse_res->payload_length;
++ response->response_code = status;
++ response->response_headers = std::move(parsed_headers->headers);
++ response->payload_offset = response_offset_ + input.CurrentOffset();
++ response->payload_length = *payload_length;
+ RunSuccessCallback(std::move(response));
+ }
- void ValidateSignedWebBundleSignatures(
-@@ -96,20 +87,6 @@ void ValidateSignedWebBundleSignatures(
- const base::FilePath& path,
- const web_package::SignedWebBundleId& expected_web_bundle_id,
- base::OnceCallback<void(IntegrityBlockResult)> callback) {
-- auto create_reader = base::BindOnce(
-- &SignedWebBundleReader::Create, path,
-- IwaOrigin(expected_web_bundle_id).origin().GetURL(),
-- /*verify_signatures=*/true,
-- base::BindOnce(&OnTrustAndSignaturesOfBundleChecked,
-- browser_context->GetWeakPtr(), expected_web_bundle_id,
-- std::move(callback)));
--
-- if (auto* provider = IwaClient::GetInstance()->GetRuntimeDataProvider()) {
-- provider->OnBestEffortRuntimeDataReady().Post(FROM_HERE,
-- std::move(create_reader));
-- } else {
-- std::move(create_reader).Run();
-- }
- }
+@@ -423,15 +873,13 @@ class WebBundleParser::ResponseParser
+ nullptr));
+ }
- void CloseBundle(content::BrowserContext* browser_context,
---- a/components/webapps/isolated_web_apps/reading/BUILD.gn
-+++ b/components/webapps/isolated_web_apps/reading/BUILD.gn
-@@ -14,8 +14,6 @@ source_set("reading") {
- "response_reader_registry.h",
- "response_reader_registry_factory.cc",
- "response_reader_registry_factory.h",
-- "signed_web_bundle_reader.cc",
-- "signed_web_bundle_reader.h",
- "validator.cc",
- "validator.h",
+- void RunErrorCallback(const std::string_view message,
++ void RunErrorCallback(const std::string& message,
+ mojom::BundleParseErrorType error_type =
+ mojom::BundleParseErrorType::kFormatError) {
+- auto err = mojom::BundleResponseParseError::New();
+- err->type = error_type;
+- err->message = message;
+ std::move(complete_callback_)
+- .Run(base::BindOnce(std::move(result_callback_), nullptr,
+- std::move(err)));
++ .Run(base::BindOnce(
++ std::move(result_callback_), nullptr,
++ mojom::BundleResponseParseError::New(error_type, message)));
+ }
+
+ const raw_ref<mojo::Remote<mojom::BundleDataSource>> data_source_;
+--- a/third_party/blink/renderer/core/BUILD.gn
++++ b/third_party/blink/renderer/core/BUILD.gn
+@@ -407,7 +407,6 @@ component("core") {
+ deps = [
+ ":font_resource",
+ ":generate_eventhandler_names",
+- ":ift_custom_font_data",
+ ":make_deprecation_info",
+ ":xml_ffi",
+ "//base",
+@@ -463,7 +462,6 @@ component("core") {
+ allow_circular_includes_from = [
+ ":core_generated",
+ ":core_hot",
+- ":ift_custom_font_data",
+ "//third_party/blink/renderer/core/animation",
+ "//third_party/blink/renderer/core/exported",
+ "//third_party/blink/renderer/core/probe",
+@@ -504,23 +502,6 @@ blink_core_sources("font_resource") {
+ "//third_party/blink/public/common",
+ "//third_party/blink/renderer/platform:font_rust_headers",
]
---- a/components/webapps/isolated_web_apps/reading/response_reader_factory.cc
-+++ b/components/webapps/isolated_web_apps/reading/response_reader_factory.cc
-@@ -45,19 +45,6 @@ void IsolatedWebAppResponseReaderFactory
- DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
- DCHECK(!web_bundle_id.is_for_proxy_mode());
-
-- auto create_reader = base::BindOnce(
-- &SignedWebBundleReader::Create, web_bundle_path,
-- IwaOrigin(web_bundle_id).origin().GetURL(), verify_signatures,
-- base::BindOnce(&IsolatedWebAppResponseReaderFactory::OnReaderCreated,
-- weak_ptr_factory_.GetWeakPtr(), web_bundle_path,
-- web_bundle_id, std::move(callback)));
+-}
-
-- if (auto* provider = IwaClient::GetInstance()->GetRuntimeDataProvider()) {
-- provider->OnBestEffortRuntimeDataReady().Post(FROM_HERE,
-- std::move(create_reader));
-- } else {
-- std::move(create_reader).Run();
-- }
+-# Like ":font_resource", css/ift_custom_font_data.cc includes
+-# //third_party/blink/renderer/platform:font_rust_headers, so it is kept on a
+-# headerless target. Its header (in core's sources) only forward declares the
+-# Crubit-backed types. It includes core headers, so ":core" lists it in
+-# allow_circular_includes_from.
+-blink_core_sources("ift_custom_font_data") {
+- public = []
+- sources = [ "css/ift_custom_font_data.cc" ]
+-
+- deps = [
+- ":font_resource_header",
+- "//services/network/public/cpp",
+- "//third_party/blink/public/common",
+- "//third_party/blink/renderer/platform:font_rust_headers",
+- ]
}
- void IsolatedWebAppResponseReaderFactory::OnReaderCreated(
---- a/services/data_decoder/data_decoder_service.cc
-+++ b/services/data_decoder/data_decoder_service.cc
-@@ -63,9 +63,6 @@ void DataDecoderService::BindXmlParser(
- void DataDecoderService::BindWebBundleParserFactory(
- mojo::PendingReceiver<web_package::mojom::WebBundleParserFactory>
- receiver) {
-- mojo::MakeSelfOwnedReceiver(
-- std::make_unique<web_package::WebBundleParserFactory>(),
-- std::move(receiver));
+ # Certain sources should be compiled with heavy optimization enabled.
+--- a/third_party/blink/renderer/core/css/build.gni
++++ b/third_party/blink/renderer/core/css/build.gni
+@@ -531,7 +531,6 @@ blink_core_sources_css = [
+ "hash_tools.h",
+ "if_condition.cc",
+ "if_condition.h",
+- "ift_custom_font_data.h",
+ "inline_css_style_declaration.cc",
+ "inline_css_style_declaration.h",
+ "invalidation/invalidation_flags.cc",
+@@ -936,7 +935,6 @@ blink_core_tests_css = [
+ "font_size_functions_test.cc",
+ "font_update_invalidation_test.cc",
+ "force_dark_test.cc",
+- "ift_custom_font_data_test.cc",
+ "invalidation/invalidation_set_test.cc",
+ "invalidation/pending_invalidations_test.cc",
+ "invalidation/style_invalidator_test.cc",
+--- a/third_party/blink/renderer/core/css/remote_font_face_source.cc
++++ b/third_party/blink/renderer/core/css/remote_font_face_source.cc
+@@ -14,7 +14,6 @@
+ #include "third_party/blink/renderer/core/css/css_custom_font_data.h"
+ #include "third_party/blink/renderer/core/css/css_font_face.h"
+ #include "third_party/blink/renderer/core/css/font_face_set_document.h"
+-#include "third_party/blink/renderer/core/css/ift_custom_font_data.h"
+ #include "third_party/blink/renderer/core/dom/document.h"
+ #include "third_party/blink/renderer/core/frame/local_dom_window.h"
+ #include "third_party/blink/renderer/core/frame/local_frame.h"
+@@ -219,9 +218,6 @@ void RemoteFontFaceSource::NotifyFinishe
+ DCHECK(!custom_font_data_);
+ if (resource->PassedIntegrityChecks() || !check_integrity) {
+ custom_font_data_ = font->GetCustomFontData();
+- if (RuntimeEnabledFeatures::IncrementalFontTransferEnabled()) {
+- ift_custom_font_data_ = IftCustomFontData::MaybeCreate(this, *font);
+- }
+ }
+ url_ = resource->Url().GetString();
+
+@@ -349,9 +345,6 @@ const SimpleFontData* RemoteFontFaceSour
+
+ histograms_.RecordFallbackTime();
+
+- CustomFontData* custom_font_data =
+- ift_custom_font_data_ ? ift_custom_font_data_.Get()
+- : MakeGarbageCollected<CustomFontData>();
+ return MakeGarbageCollected<SimpleFontData>(
+ custom_font_data_->GetFontPlatformData(
+ font_description.EffectiveFontSize(),
+@@ -368,7 +361,7 @@ const SimpleFontData* RemoteFontFaceSour
+ font_description.ResolveFontFeatures(),
+ font_description.Orientation(), font_description.VariationSettings(),
+ font_description.GetFontPalette()),
+- custom_font_data);
++ MakeGarbageCollected<CustomFontData>());
}
- void DataDecoderService::BindGzipper(
---- a/services/network/web_bundle/web_bundle_url_loader_factory.cc
-+++ b/services/network/web_bundle/web_bundle_url_loader_factory.cc
-@@ -586,25 +586,6 @@ bool WebBundleURLLoaderFactory::HasError
-
- void WebBundleURLLoaderFactory::SetBundleStream(
- mojo::ScopedDataPipeConsumerHandle body) {
-- if (HasError())
-- return;
-- mojo::PendingRemote<web_package::mojom::BundleDataSource> data_source;
-- source_ = std::make_unique<BundleDataSource>(
-- data_source.InitWithNewPipeAndPassReceiver(), std::move(body),
-- std::move(web_bundle_memory_quota_consumer_),
-- base::BindOnce(&WebBundleURLLoaderFactory::OnMemoryQuotaExceeded,
-- weak_ptr_factory_.GetWeakPtr()),
-- base::BindOnce(&WebBundleURLLoaderFactory::OnDataCompleted,
-- weak_ptr_factory_.GetWeakPtr()));
--
-- mojo::MakeSelfOwnedReceiver(std::make_unique<web_package::WebBundleParser>(
-- std::move(data_source), bundle_url_),
-- parser_.BindNewPipeAndPassReceiver());
--
-- parser_->ParseMetadata(
-- /*offset=*/std::nullopt,
-- base::BindOnce(&WebBundleURLLoaderFactory::OnMetadataParsed,
-- weak_ptr_factory_.GetWeakPtr()));
+ const SimpleFontData* RemoteFontFaceSource::CreateLoadingFallbackFontData(
+@@ -451,7 +444,6 @@ void RemoteFontFaceSource::Trace(Visitor
+ visitor->Trace(face_);
+ visitor->Trace(font_selector_);
+ visitor->Trace(custom_font_data_);
+- visitor->Trace(ift_custom_font_data_);
+ CSSFontFaceSource::Trace(visitor);
+ FontResourceClient::Trace(visitor);
}
+--- a/third_party/blink/renderer/core/css/remote_font_face_source.h
++++ b/third_party/blink/renderer/core/css/remote_font_face_source.h
+@@ -18,7 +18,6 @@ class CSSFontFace;
+ class Document;
+ class FontCustomPlatformData;
+ class FontSelector;
+-class IftCustomFontData;
+
+ class RemoteFontFaceSource final : public CSSFontFaceSource,
+ public FontResourceClient {
+@@ -158,8 +157,6 @@ class RemoteFontFaceSource final : publi
+
+ // |nullptr| if font is not loaded or failed to decode.
+ Member<const FontCustomPlatformData> custom_font_data_;
+- // |nullptr| if font is not an IFT font.
+- Member<IftCustomFontData> ift_custom_font_data_;
+ // |nullptr| if font is not loaded or failed to decode.
+ String url_;
- mojo::PendingRemote<mojom::URLLoaderClient>
--- a/third_party/blink/renderer/core/loader/resource/font_resource.cc
+++ b/third_party/blink/renderer/core/loader/resource/font_resource.cc
@@ -44,7 +44,6 @@
@@ -807,7 +2230,36 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
bool cors_failed_;
--- a/third_party/blink/renderer/platform/BUILD.gn
+++ b/third_party/blink/renderer/platform/BUILD.gn
-@@ -186,6 +186,18 @@ group("make_platform_generated") {
+@@ -209,7 +209,6 @@ source_set("character_property_data") {
+ source_set("font_rust_headers") {
+ visibility += [ "//third_party/blink/renderer/core:*" ]
+ public = [
+- "fonts/ift/ift_patcher.h",
+ "fonts/opentype/font_format_check.h",
+ ]
+ configs += [
+@@ -219,11 +218,9 @@ source_set("font_rust_headers") {
+ "//third_party/blink/renderer:non_test_config",
+ ]
+ public_deps = [
++ ":font_format_check",
+ ":platform_export",
+- "fonts:font_format_bindings",
+- "fonts:ift_patcher_bindings",
+ "//base",
+- "//build/rust/crubit",
+ "//skia",
+ "//third_party/blink/renderer/platform/wtf",
+ ]
+@@ -233,7 +230,6 @@ source_set("font_rust_support") {
+ public = []
+ sources = [
+ "fonts/font_custom_platform_data.cc",
+- "fonts/ift/ift_patcher.cc",
+ "fonts/opentype/font_format_check.cc",
+ "fonts/web_font_decoder.cc",
+ "fonts/web_font_typeface_factory.cc",
+@@ -258,6 +254,18 @@ source_set("font_rust_support") {
]
}
@@ -818,53 +2270,65 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
+ cxx_bindings = [ crate_root ]
+ deps = [
+ "//third_party/rust/font_types/v0_12:lib",
-+ "//third_party/rust/read_fonts/v0_43:lib",
-+ "//third_party/rust/skrifa/v0_46:lib",
++ "//third_party/rust/read_fonts/v0_45:lib",
++ "//third_party/rust/skrifa/v0_48:lib",
+ ]
+}
+
rust_static_library("rustfft_ffi") {
allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
crate_root = "audio/rustfft_ffi.rs"
-@@ -253,7 +265,6 @@ group("blink_platform_public_deps") {
- "//third_party/boringssl",
- "//third_party/libwebp",
- "//third_party/ots",
-- "//third_party/woff2:woff2_dec",
- "//ui/gfx/animation/keyframe",
- "//url",
- "//v8",
-@@ -713,8 +724,6 @@ component("platform") {
- "fonts/generic_font_family_settings.cc",
- "fonts/generic_font_family_settings.h",
- "fonts/glyph_metrics_map.h",
-- "fonts/ift/ift_patcher.cc",
-- "fonts/ift/ift_patcher.h",
- "fonts/opentype/color_table_lookup.cc",
- "fonts/opentype/color_table_lookup.h",
- "fonts/opentype/font_format_check.cc",
-@@ -1795,7 +1804,6 @@ component("platform") {
- ":allow_discouraged_type",
- ":blink_platform_public_deps",
- ":platform_export",
-- "//build/rust/crubit",
- "//components/language_detection/core",
- "//gpu/command_buffer/client:raster_interface",
- "//media/capture:capture_lib",
-@@ -1822,9 +1830,8 @@ component("platform") {
- "//ui/native_theme/features",
+@@ -2305,7 +2313,6 @@ source_set("blink_platform_unittests_sou
+ "fonts/font_test.cc",
+ "fonts/font_test_utilities.cc",
+ "fonts/generic_font_family_settings_test.cc",
+- "fonts/ift/ift_patcher_test.cc",
+ "fonts/opentype/color_table_lookup_test.cc",
+ "fonts/opentype/font_format_check_test.cc",
+ "fonts/opentype/font_settings_test.cc",
+@@ -2604,12 +2611,10 @@ source_set("blink_platform_unittests_sou
]
- deps = [
+
+ deps += [
+ ":font_format_check",
- ":rustfft_ffi",
+ ":bridge_ice_controller_tests",
+ ":font_rust_headers",
+ ":rustfft_ffi_unittests",
- "fonts:font_format_bindings",
- "fonts:ift_patcher_bindings",
- "//base:base_static",
- "//base/allocator:buildflags",
- "//build:chromecast_buildflags",
+- "//build/rust/crubit",
+ ]
+
+ data_deps = [ ":blink_platform_unittests_data" ]
+--- a/third_party/blink/renderer/platform/fonts/BUILD.gn
++++ b/third_party/blink/renderer/platform/fonts/BUILD.gn
+@@ -1,23 +1,3 @@
+-# Copyright 2026 The Chromium Authors
+-# Use of this source code is governed by a BSD-style license that can be
+-# found in the LICENSE file.
+-
+-import("//build/rust/rust_static_library.gni")
+-
+-rust_static_library("font_format") {
+- crate_root = "opentype/format_check.rs"
+- sources = [ crate_root ]
+- cpp_api_from_rust = {
+- target_name = "font_format_bindings"
+- cpp_namespace = "font_format"
+- }
+- deps = [
+- "//third_party/rust/font_types/v0_12:lib",
+- "//third_party/rust/read_fonts/v0_45:lib",
+- "//third_party/rust/skrifa/v0_48:lib",
+- ]
+-}
+-
+ rust_static_library("ift_patcher_rs") {
+ crate_root = "ift/ift_patcher.rs"
+ sources = [ crate_root ]
--- a/third_party/blink/renderer/platform/fonts/font_custom_platform_data.cc
+++ b/third_party/blink/renderer/platform/fonts/font_custom_platform_data.cc
-@@ -328,7 +328,8 @@ FontCustomPlatformData* FontCustomPlatfo
+@@ -356,7 +356,8 @@ FontCustomPlatformData* FontCustomPlatfo
SharedBuffer* buffer,
String& ots_parse_message) {
DCHECK(buffer);
@@ -874,7 +2338,7 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
if (!decode_result.has_value()) {
ots_parse_message = std::move(decode_result).error();
return nullptr;
---- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
+--- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
+++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
@@ -7,6 +7,7 @@
#include "base/containers/span.h"
@@ -1291,3 +2755,121 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_WEB_FONT_DECODER_H_
+--- a/third_party/blink/renderer/platform/fonts/web_font_decoder_test.cc
++++ b/third_party/blink/renderer/platform/fonts/web_font_decoder_test.cc
+@@ -8,8 +8,6 @@
+ #include <utility>
+
+ #include "testing/gtest/include/gtest/gtest.h"
+-#include "third_party/blink/renderer/platform/fonts/ift/ift_patcher.h"
+-#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"
+ #include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
+ #include "third_party/blink/renderer/platform/wtf/shared_buffer.h"
+ #include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
+@@ -18,26 +16,18 @@
+
+ namespace blink {
+
+-namespace {
+-
+-scoped_refptr<SharedBuffer> LoadFont(const String& path) {
+- std::optional<Vector<char>> font_data =
+- test::ReadFromFile(test::PlatformTestDataPath(path));
+- CHECK(font_data.has_value());
+- return SharedBuffer::Create(std::move(*font_data));
+-}
+-
+-} // namespace
+-
+ // Regression test for a font that triggers a large number of OTS warnings
+ // during decoding. Without a bound on the accumulated error string, processing
+ // these warnings dominated decode time and made the OpenType math fuzzer time
+ // out. Verify that the reported error string stays within the budget.
+ TEST(WebFontDecoderTest, ErrorStringIsBoundedOnPathologicalFont) {
+- scoped_refptr<SharedBuffer> font_buffer =
+- LoadFont("open_type_math_support_fuzzer_timeout.ttf");
++ std::optional<Vector<char>> font_data = test::ReadFromFile(
++ test::PlatformTestDataPath("open_type_math_support_fuzzer_timeout.ttf"));
++ ASSERT_TRUE(font_data);
++
++ auto font_buffer = SharedBuffer::Create(std::move(*font_data));
+ base::expected<DecodedWebFont, String> decoded_result =
+- DecodeWebFont(font_buffer.get());
++ DecodedWebFont::Create(font_buffer.get());
+
+ // Messages are accepted until the accumulated string reaches the ~4096 byte
+ // budget, so the result may overshoot by at most one final message. The
+@@ -49,71 +39,10 @@ TEST(WebFontDecoderTest, ErrorStringIsBo
+ }
+
+ TEST(WebFontDecoderTest, EmptyBufferIsError) {
+- scoped_refptr<SharedBuffer> font_buffer = SharedBuffer::Create();
++ auto font_buffer = SharedBuffer::Create();
+ base::expected<DecodedWebFont, String> decoded_result =
+- DecodeWebFont(font_buffer.get());
++ DecodedWebFont::Create(font_buffer.get());
+ ASSERT_FALSE(decoded_result.has_value());
+ }
+
+-TEST(WebFontDecoderTest, IftWoff2WithFeatureEnabledThenCreatesIftPatcher) {
+- ScopedIncrementalFontTransferForTest scoped_ift(true);
+- scoped_refptr<SharedBuffer> font_buffer = LoadFont("roboto-ift.woff2");
+- base::expected<DecodedWebFont, String> decoded_result =
+- DecodeWebFont(font_buffer.get());
+-
+- ASSERT_TRUE(decoded_result.has_value());
+- EXPECT_NE(decoded_result->sk_typeface, nullptr);
+- EXPECT_NE(decoded_result->ift_patcher, nullptr);
+- EXPECT_GT(decoded_result->decoded_size, 0u);
+-}
+-
+-TEST(WebFontDecoderTest, IftTtfWithFeatureEnabledThenCreatesIftPatcher) {
+- ScopedIncrementalFontTransferForTest scoped_ift(true);
+- scoped_refptr<SharedBuffer> font_buffer = LoadFont("roboto-ift.ttf");
+- base::expected<DecodedWebFont, String> decoded_result =
+- DecodeWebFont(font_buffer.get());
+-
+- ASSERT_TRUE(decoded_result.has_value());
+- EXPECT_NE(decoded_result->sk_typeface, nullptr);
+- EXPECT_NE(decoded_result->ift_patcher, nullptr);
+- EXPECT_GT(decoded_result->decoded_size, 0u);
+-}
+-
+-TEST(WebFontDecoderTest, IftFontWithFeatureDisabledThenIftPatcherIsNull) {
+- ScopedIncrementalFontTransferForTest scoped_ift(false);
+- scoped_refptr<SharedBuffer> font_buffer = LoadFont("roboto-ift.woff2");
+- base::expected<DecodedWebFont, String> decoded_result =
+- DecodeWebFont(font_buffer.get());
+-
+- ASSERT_TRUE(decoded_result.has_value());
+- EXPECT_NE(decoded_result->sk_typeface, nullptr);
+- EXPECT_EQ(decoded_result->ift_patcher, nullptr);
+- EXPECT_GT(decoded_result->decoded_size, 0u);
+-}
+-
+-TEST(WebFontDecoderTest, NonIftFontWithFeatureEnabledThenIftPatcherIsNull) {
+- ScopedIncrementalFontTransferForTest scoped_ift(true);
+- scoped_refptr<SharedBuffer> font_buffer =
+- LoadFont("third_party/Roboto/roboto-regular.woff2");
+- base::expected<DecodedWebFont, String> decoded_result =
+- DecodeWebFont(font_buffer.get());
+-
+- ASSERT_TRUE(decoded_result.has_value());
+- EXPECT_NE(decoded_result->sk_typeface, nullptr);
+- EXPECT_EQ(decoded_result->ift_patcher, nullptr);
+- EXPECT_GT(decoded_result->decoded_size, 0u);
+-}
+-
+-TEST(WebFontDecoderTest, WoffFontWithFeatureEnabledThenIftPatcherIsNull) {
+- ScopedIncrementalFontTransferForTest scoped_ift(true);
+- scoped_refptr<SharedBuffer> font_buffer = LoadFont("Ahem.woff");
+- base::expected<DecodedWebFont, String> decoded_result =
+- DecodeWebFont(font_buffer.get());
+-
+- ASSERT_TRUE(decoded_result.has_value());
+- EXPECT_NE(decoded_result->sk_typeface, nullptr);
+- EXPECT_EQ(decoded_result->ift_patcher, nullptr);
+- EXPECT_GT(decoded_result->decoded_size, 0u);
+-}
+-
+ } // namespace blink
diff --git a/chromium-ftbfs-private-verification-tokens.patch b/chromium-ftbfs-private-verification-tokens.patch
index 9bcefcb..7e11016 100644
--- a/chromium-ftbfs-private-verification-tokens.patch
+++ b/chromium-ftbfs-private-verification-tokens.patch
@@ -1,26 +1,11 @@
-ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
---- a/chrome/browser/BUILD.gn
-+++ b/chrome/browser/BUILD.gn
-@@ -1016,7 +1016,6 @@ source_set("core") {
- "//chrome/browser/preloading/search_preload:feature",
- "//chrome/browser/privacy_sandbox:headers",
- "//chrome/browser/private_ai",
-- "//chrome/browser/private_verification_tokens",
- "//chrome/browser/profiles:misc",
- "//chrome/browser/profiles:profile_io_data",
- "//chrome/browser/profiles:profiles_extra_parts",
-@@ -2248,7 +2247,6 @@ source_set("browser") {
- "//chrome/browser/preloading/search_preload",
- "//chrome/browser/privacy",
- "//chrome/browser/privacy_sandbox:impl",
-- "//chrome/browser/private_verification_tokens",
- "//chrome/browser/profiles:misc",
- "//chrome/browser/profiles:profile_util_impl",
- "//chrome/browser/profiles:profiles_extra_parts_impl",
+pulled from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
+
+This is not part of the official ungoogled-chromium patch set
+
--- a/chrome/browser/browsing_data/BUILD.gn
+++ b/chrome/browser/browsing_data/BUILD.gn
-@@ -125,7 +125,6 @@ source_set("impl") {
+@@ -128,7 +128,6 @@ source_set("impl") {
"//chrome/browser/preloading/prefetch/no_state_prefetch",
"//chrome/browser/preloading/prefetch/search_prefetch",
"//chrome/browser/privacy_sandbox:headers",
@@ -28,7 +13,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//chrome/browser/profiles/keep_alive",
"//chrome/browser/reading_list",
"//chrome/browser/safe_browsing",
-@@ -269,7 +268,6 @@ source_set("unit_tests") {
+@@ -276,7 +275,6 @@ source_set("unit_tests") {
"//chrome/browser/payments/browser_binding:browser_bound_key_deleter",
"//chrome/browser/payments/browser_binding:test_support",
"//chrome/browser/permissions",
@@ -36,7 +21,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//chrome/browser/reading_list",
"//chrome/browser/safe_browsing:verdict_cache_manager_factory",
"//chrome/browser/segmentation_platform",
-@@ -298,7 +296,6 @@ source_set("unit_tests") {
+@@ -307,7 +305,6 @@ source_set("unit_tests") {
"//components/privacy_sandbox:privacy_sandbox_settings_headers",
"//components/privacy_sandbox/privacy_sandbox_attestations",
"//components/privacy_sandbox/privacy_sandbox_attestations:test_support",
@@ -85,7 +70,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
}
--- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
+++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
-@@ -726,29 +726,6 @@ void ChromeBrowsingDataRemoverDelegate::
+@@ -732,29 +732,6 @@ void ChromeBrowsingDataRemoverDelegate::
#endif // BUILDFLAG(IS_CHROMEOS)
}
@@ -115,9 +100,45 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
//////////////////////////////////////////////////////////////////////////////
// DATA_TYPE_CONTENT_SETTINGS
+--- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_factory.cc
++++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_factory.cc
+@@ -30,7 +30,6 @@
+ #include "chrome/browser/permissions/permission_decision_auto_blocker_factory.h"
+ #include "chrome/browser/preloading/prefetch/no_state_prefetch/no_state_prefetch_manager_factory.h"
+ #include "chrome/browser/preloading/prefetch/search_prefetch/search_prefetch_service_factory.h"
+-#include "chrome/browser/private_verification_tokens/private_verification_tokens_service_factory.h"
+ #include "chrome/browser/profiles/profile.h"
+ #include "chrome/browser/reading_list/reading_list_model_factory.h"
+ #include "chrome/browser/safe_browsing/verdict_cache_manager_factory.h"
+@@ -107,7 +106,6 @@ ChromeBrowsingDataRemoverDelegateFactory
+ DependsOn(PermissionActionsHistoryFactory::GetInstance());
+ DependsOn(PermissionDecisionAutoBlockerFactory::GetInstance());
+ DependsOn(prerender::NoStatePrefetchManagerFactory::GetInstance());
+- DependsOn(PrivateVerificationTokensServiceFactory::GetInstance());
+ DependsOn(ProtocolHandlerRegistryFactory::GetInstance());
+ DependsOn(ReadingListModelFactory::GetInstance());
+ DependsOn(safe_browsing::VerdictCacheManagerFactory::GetInstance());
+--- a/chrome/browser/BUILD.gn
++++ b/chrome/browser/BUILD.gn
+@@ -1182,7 +1182,6 @@ source_set("core") {
+ "//chrome/browser/preloading/search_preload:feature",
+ "//chrome/browser/privacy_sandbox:headers",
+ "//chrome/browser/private_ai",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/profiles:misc",
+ "//chrome/browser/profiles:profile_io_data",
+ "//chrome/browser/profiles:profiles_extra_parts",
+@@ -2431,7 +2430,6 @@ source_set("browser") {
+ "//chrome/browser/preloading/search_preload",
+ "//chrome/browser/privacy",
+ "//chrome/browser/privacy_sandbox:impl",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/profiles:misc",
+ "//chrome/browser/profiles:profile_util_impl",
+ "//chrome/browser/profiles:profiles_extra_parts_impl",
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
-@@ -6193,21 +6193,6 @@ ChromeContentBrowserClient::CreateURLLoa
+@@ -6260,22 +6260,6 @@ ChromeContentBrowserClient::CreateURLLoa
result.push_back(std::move(signin_throttle));
}
@@ -136,20 +157,21 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
- }
- }
- }
-
+-
if (auto contextual_tasks_throttle =
contextual_tasks::ContextualTasksURLLoaderThrottle::MaybeCreate(
+ profile, wc_getter)) {
--- a/chrome/browser/component_updater/BUILD.gn
+++ b/chrome/browser/component_updater/BUILD.gn
-@@ -151,7 +151,6 @@ source_set("impl") {
- "//chrome/browser/net",
+@@ -157,7 +157,6 @@ source_set("impl") {
+ "//chrome/browser/net:key_pinning_proto",
"//chrome/browser/page_load_metrics",
"//chrome/browser/permissions",
- "//chrome/browser/private_verification_tokens",
"//chrome/browser/profiles:profile",
"//chrome/browser/update_client",
"//chrome/common",
-@@ -167,7 +166,6 @@ source_set("impl") {
+@@ -174,7 +173,6 @@ source_set("impl") {
"//components/permissions",
"//components/privacy_sandbox:features",
"//components/privacy_sandbox/privacy_sandbox_attestations",
@@ -194,15 +216,15 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
} // namespace component_updater
--- a/chrome/browser/devtools/BUILD.gn
+++ b/chrome/browser/devtools/BUILD.gn
-@@ -433,7 +433,6 @@ static_library("devtools") {
- "//chrome/app:command_ids",
+@@ -445,7 +445,6 @@ static_library("devtools") {
"//chrome/browser/badging",
"//chrome/browser/custom_handlers",
+ "//chrome/browser/origin_gating",
- "//chrome/browser/private_verification_tokens",
"//chrome/browser/ui:browser_window_header",
"//chrome/browser/ui/media_router",
"//chrome/browser/ui/startup",
-@@ -446,7 +445,6 @@ static_library("devtools") {
+@@ -458,7 +457,6 @@ static_library("devtools") {
"//components/origin_gating/core",
"//components/payments/content",
"//components/privacy_sandbox/privacy_sandbox_attestations",
@@ -210,7 +232,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//components/security_state/content",
"//components/subresource_filter/content/browser",
"//components/web_package",
-@@ -672,7 +670,6 @@ if (enable_devtools_frontend) {
+@@ -692,7 +690,6 @@ if (enable_devtools_frontend) {
"//chrome/browser/prefs:util",
"//chrome/browser/preloading:prefs",
"//chrome/browser/preloading:test_support",
@@ -218,7 +240,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//chrome/browser/search_engines",
"//chrome/browser/sync/test/integration:sync_integration_test_support",
"//chrome/browser/ui/autofill",
-@@ -683,7 +680,6 @@ if (enable_devtools_frontend) {
+@@ -704,7 +701,6 @@ if (enable_devtools_frontend) {
"//components/infobars/content",
"//components/javascript_dialogs",
"//components/language/core/browser",
@@ -226,11 +248,103 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//components/ukm:test_support",
"//content/test:test_support",
"//testing/gtest",
+--- a/chrome/browser/devtools/inspector_protocol_config.json
++++ b/chrome/browser/devtools/inspector_protocol_config.json
+@@ -49,9 +49,8 @@
+ },
+ {
+ "domain": "Storage",
+- "include": ["runBounceTrackingMitigations", "getPrivateVerificationTokens", "getPrivateVerificationTokensIssuerConfigs", "clearPrivateVerificationTokens", "deletePrivateVerificationToken", "setPrivateVerificationTokensTracking"],
+- "include_events": ["privateVerificationTokensUpdated"],
+- "async": ["runBounceTrackingMitigations", "getPrivateVerificationTokens", "clearPrivateVerificationTokens", "deletePrivateVerificationToken"]
++ "include": ["runBounceTrackingMitigations"],
++ "async": ["runBounceTrackingMitigations"]
+ },
+ {
+ "domain": "SystemInfo",
+--- a/chrome/browser/devtools/protocol/DEPS
++++ b/chrome/browser/devtools/protocol/DEPS
+@@ -15,10 +15,4 @@ specific_include_rules = {
+ "devtools_iwa_browsertest\\.cc": [
+ "+components/web_package/signed_web_bundles"
+ ],
+- "storage_handler\\.cc": [
+- "+components/private_verification_tokens/common",
+- ],
+- "devtools_protocol_browsertest\\.cc": [
+- "+components/private_verification_tokens/common",
+- ],
+ }
+--- a/chrome/browser/devtools/protocol/devtools_protocol_browsertest.cc
++++ b/chrome/browser/devtools/protocol/devtools_protocol_browsertest.cc
+@@ -2480,51 +2480,6 @@ IN_PROC_BROWSER_TEST_F(DevToolsProtocolT
+ EXPECT_TRUE(first_token->FindDouble("creationTime").has_value());
+ }
+
+- // 3. Verify getPrivateVerificationTokensIssuerConfigs.
+- {
+- SendCommandSync("Storage.getPrivateVerificationTokensIssuerConfigs");
+- ASSERT_TRUE(result());
+- EXPECT_THAT(result()->FindList("configs"),
+- testing::Pointee(testing::IsEmpty()));
+-
+- base::DictValue custom_issuer;
+- custom_issuer.Set("issuerRequestUrl", "https://issuer.example.com/issue");
+- custom_issuer.Set("version", 1);
+- custom_issuer.Set("publicKey",
+- base::Base64Encode(std::vector<uint8_t>{1, 2, 3, 4}));
+- custom_issuer.Set("publicKeyProof",
+- base::Base64Encode(std::vector<uint8_t>{5, 6, 7}));
+- custom_issuer.Set("batchSize", 7);
+- custom_issuer.Set("expiration", "2147483647");
+- base::ListValue redeemers;
+- redeemers.Append("https://redeemer1.example.com");
+- redeemers.Append("https://redeemer2.example.com");
+- custom_issuer.Set("redeemers", std::move(redeemers));
+- custom_issuer.Set("deploymentId", "test-deployment-id");
+-
+- pvt_service_->SetIssuerConfig(
+- private_verification_tokens::PrivateVerificationTokensIssuerConfig::
+- CreateWithCustomIssuer(/*base_config=*/nullptr,
+- std::move(custom_issuer)));
+-
+- SendCommandSync("Storage.getPrivateVerificationTokensIssuerConfigs");
+- ASSERT_TRUE(result());
+- const base::ListValue* configs_list = result()->FindList("configs");
+- ASSERT_THAT(configs_list, testing::Pointee(testing::SizeIs(1)));
+-
+- const base::DictValue* first_config = configs_list->front().GetIfDict();
+- ASSERT_TRUE(first_config);
+- EXPECT_THAT(first_config->FindString("issuerOrigin"),
+- testing::Pointee(testing::Eq(issuer_origin.Serialize())));
+- const base::ListValue* redeemer_origins =
+- first_config->FindList("redeemerOrigins");
+- ASSERT_TRUE(redeemer_origins);
+- EXPECT_EQ(*redeemer_origins, base::ListValue()
+- .Append("https://redeemer1.example.com")
+- .Append("https://redeemer2.example.com"));
+- }
+-
+- // 4. Delete one token by ID.
+ {
+ base::DictValue params;
+ params.Set("tokenId", first_token_id);
+@@ -2539,7 +2494,7 @@ IN_PROC_BROWSER_TEST_F(DevToolsProtocolT
+ testing::Pointee(testing::SizeIs(2)));
+ }
+
+- // 5. Clear all tokens for the issuer.
++ // 4. Clear all tokens for the issuer.
+ {
+ base::DictValue params;
+ params.Set("issuerOrigin", issuer_origin.Serialize());
--- a/chrome/browser/devtools/protocol/storage_handler.cc
+++ b/chrome/browser/devtools/protocol/storage_handler.cc
-@@ -9,54 +9,22 @@
+@@ -7,56 +7,26 @@
+ #include <memory>
+ #include <string>
#include <utility>
- #include <vector>
+-#include <vector>
-#include "base/base64.h"
#include "base/check.h"
@@ -241,6 +355,8 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
-#include "chrome/browser/private_verification_tokens/private_verification_tokens_service.h"
-#include "chrome/browser/private_verification_tokens/private_verification_tokens_service_factory.h"
-#include "chrome/browser/profiles/profile.h"
++#include "chrome/browser/first_party_sets/first_party_sets_policy_service.h"
++#include "chrome/browser/first_party_sets/first_party_sets_policy_service_factory.h"
#include "chrome/browser/profiles/profile_manager.h"
-#include "components/private_verification_tokens/common/private_verification_tokens_database.h"
#include "content/public/browser/btm_service.h"
@@ -264,6 +380,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
-}
-
-} // namespace
++#include "net/first_party_sets/first_party_set_entry.h"
StorageHandler::StorageHandler(content::WebContents* web_contents,
protocol::UberDispatcher* dispatcher)
@@ -283,7 +400,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
// TODO: crbug.com/380896828 - move CDP support for BTM to //content.
void StorageHandler::RunBounceTrackingMitigations(
std::unique_ptr<RunBounceTrackingMitigationsCallback> callback) {
-@@ -82,152 +50,3 @@ void StorageHandler::GotDeletedSites(
+@@ -82,152 +52,3 @@ void StorageHandler::GotDeletedSites(
std::make_unique<protocol::Array<protocol::String>>(sites);
callback->sendSuccess(std::move(deleted_sites));
}
@@ -462,7 +579,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
public:
StorageHandler(content::WebContents* web_contents,
protocol::UberDispatcher* dispatcher);
-@@ -31,41 +24,14 @@ class StorageHandler : public protocol::
+@@ -31,41 +24,19 @@ class StorageHandler : public protocol::
~StorageHandler() override;
private:
@@ -491,7 +608,11 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
- void OnTokensStored() override;
- void OnTokensDeleted() override;
- void OnShutdown() override;
--
++
++
++
++
+
static void GotDeletedSites(
std::unique_ptr<RunBounceTrackingMitigationsCallback> callback,
const std::vector<std::string>& sites);
@@ -506,17 +627,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
#endif // CHROME_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_
--- a/chrome/browser/private_verification_tokens/BUILD.gn
+++ b/chrome/browser/private_verification_tokens/BUILD.gn
-@@ -8,9 +8,7 @@ static_library("private_verification_tok
- "//chrome/browser:*",
- "//chrome/browser/browsing_data:*",
- "//chrome/browser/component_updater:*",
-- "//chrome/browser/devtools:*",
- "//chrome/browser/profiles:profiles_extra_parts_impl",
-- "//chrome/test:*",
- ]
-
- sources = [
-@@ -28,12 +26,6 @@ static_library("private_verification_tok
+@@ -52,12 +52,6 @@ source_set("impl") {
"//chrome/browser/profiles:profile",
"//components/content_settings/core/browser",
"//components/keyed_service/core",
@@ -529,7 +640,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//content/public/browser",
"//net",
"//services/network/public/cpp",
-@@ -53,10 +45,6 @@ source_set("browser_tests") {
+@@ -77,10 +71,6 @@ source_set("browser_tests") {
"//chrome/test:test_support",
"//chrome/test/base:chrome_test_utils",
"//components/content_settings/core/common",
@@ -540,7 +651,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//net:test_support",
"//services/network:test_support",
"//url",
-@@ -77,13 +65,6 @@ source_set("unit_tests") {
+@@ -101,13 +91,7 @@ source_set("unit_tests") {
"//chrome/test:test_support",
"//components/content_settings/core/browser",
"//components/content_settings/core/common",
@@ -549,14 +660,14 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
- "//components/private_verification_tokens/common:private_verification_tokens_metrics",
- "//components/private_verification_tokens/common:private_verification_tokens_parameters",
-- "//components/private_verification_tokens/common:test_support",
+ "//components/private_verification_tokens/common:test_support",
- "//components/private_verification_tokens/common/athm_ffi:athm_ffi_bindings",
"//content/test:test_support",
"//net",
"//services/network:test_support",
--- a/chrome/browser/profiles/BUILD.gn
+++ b/chrome/browser/profiles/BUILD.gn
-@@ -811,7 +811,6 @@ source_set("profiles_extra_parts_impl")
+@@ -829,7 +829,6 @@ source_set("profiles_extra_parts_impl")
"//chrome/browser/privacy_sandbox:headers",
"//chrome/browser/private_ai",
"//chrome/browser/private_insights",
@@ -566,7 +677,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//chrome/browser/reduce_accept_language",
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
-@@ -1360,7 +1360,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1335,7 +1335,6 @@ void ChromeBrowserMainExtraPartsProfiles
PrivacyMetricsServiceFactory::GetInstance();
PrivacySandboxServiceFactory::GetInstance();
PrivacySandboxSettingsFactory::GetInstance();
@@ -576,26 +687,25 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
ProfilePasswordStoreFactory::GetInstance();
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
-@@ -1869,8 +1869,6 @@ if (!is_android) {
- "//chrome/browser/privacy_sandbox:headers",
- "//chrome/browser/privacy_sandbox:test_support",
- "//chrome/browser/private_ai",
-- "//chrome/browser/private_verification_tokens",
+@@ -1453,7 +1453,6 @@ if (!is_android) {
+ "//chrome/browser/preloading/prerender:browser_tests",
+ "//chrome/browser/preloading/search_preload:browser_tests",
+ "//chrome/browser/privacy_sandbox:browser_tests",
- "//chrome/browser/private_verification_tokens:browser_tests",
- "//chrome/browser/profile_resetter",
"//chrome/browser/profile_resetter:browser_tests",
- "//chrome/browser/profiles",
-@@ -5043,7 +5041,6 @@ test("unit_tests") {
+ "//chrome/browser/profiles:browser_tests",
+ "//chrome/browser/push_messaging:browser_tests",
+@@ -2857,7 +2856,6 @@ test("unit_tests") {
"//chrome/browser/preloading/prerender:unit_tests",
"//chrome/browser/privacy_sandbox:unit_tests",
"//chrome/browser/private_ai:unit_tests",
- "//chrome/browser/private_verification_tokens:unit_tests",
- "//chrome/browser/profiles",
- "//chrome/browser/profiles:misc",
- "//chrome/browser/profiles:profile_downloader",
+ "//chrome/browser/profiles:unit_tests",
+ "//chrome/browser/push_messaging:unit_tests",
+ "//chrome/browser/pwc:unit_tests",
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
-@@ -313,7 +313,6 @@ test("components_unittests") {
+@@ -315,7 +315,6 @@ test("components_unittests") {
"//components/power_metrics:unit_tests",
"//components/prefs:unit_tests",
"//components/privacy_sandbox:unit_tests",
@@ -622,3 +732,80 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//mojo/public/cpp/base:protobuf_support",
"//services/network/public/cpp",
"//testing/gmock",
+--- a/components/private_verification_tokens/BUILD.gn
++++ b/components/private_verification_tokens/BUILD.gn
+@@ -22,7 +22,6 @@ source_set("unit_tests") {
+ if (enable_rust) {
+ deps += [
+ "//components/private_verification_tokens/common:privacy_pass_athm_batch_request_unittest",
+- "//components/private_verification_tokens/common/athm_ffi:privacy_pass_unittests",
+ ]
+ }
+ }
+--- a/components/private_verification_tokens/common/BUILD.gn
++++ b/components/private_verification_tokens/common/BUILD.gn
+@@ -194,7 +194,6 @@ source_set("test_support") {
+ sources = [ "private_verification_tokens_test_util.h" ]
+ public_deps = [
+ "//base",
+- "//components/private_verification_tokens/common/athm_ffi:athm_ffi_bindings",
+ ]
+ }
+
+@@ -209,7 +208,6 @@ if (enable_rust) {
+ public_deps = [
+ ":private_verification_tokens_issuer_config",
+ "//base",
+- "//components/private_verification_tokens/common/athm_ffi:athm_ffi_bindings",
+ ]
+ }
+
+@@ -222,7 +220,6 @@ if (enable_rust) {
+ ":private_verification_tokens_parameters",
+ ":private_verification_tokens_public_key",
+ "//base",
+- "//components/private_verification_tokens/common/athm_ffi:athm_ffi_bindings",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//url",
+--- a/content/browser/devtools/protocol_config.json
++++ b/content/browser/devtools/protocol_config.json
+@@ -192,7 +192,7 @@
+ },
+ {
+ "domain": "Storage",
+- "exclude": ["runBounceTrackingMitigations", "getPrivateVerificationTokens", "getPrivateVerificationTokensIssuerConfigs", "clearPrivateVerificationTokens", "deletePrivateVerificationToken", "setPrivateVerificationTokensTracking"],
++ "exclude": ["runBounceTrackingMitigations", "getPrivateVerificationTokens", "clearPrivateVerificationTokens", "deletePrivateVerificationToken", "setPrivateVerificationTokensTracking"],
+ "async": ["getUsageAndQuota", "clearDataForOrigin", "clearDataForStorageKey", "getCookies", "setCookies", "clearCookies", "overrideQuotaForOrigin", "getTrustTokens", "clearTrustTokens", "getStorageBucketList"]
+ },
+ {
+--- a/third_party/blink/public/devtools_protocol/domains/Storage.pdl
++++ b/third_party/blink/public/devtools_protocol/domains/Storage.pdl
+@@ -58,14 +58,6 @@ experimental domain Storage
+ # Base64-encoded serialized token.
+ string token
+
+- # Configuration for a Private Verification Tokens issuer.
+- experimental type PrivateVerificationTokensIssuerConfig extends object
+- properties
+- # Origin of the token issuer.
+- string issuerOrigin
+- # Origins authorized to redeem tokens from this issuer.
+- array of string redeemerOrigins
+-
+
+
+ type StorageBucketsDurability extends string
+@@ -242,12 +234,6 @@ experimental domain Storage
+ returns
+ array of PrivateVerificationToken tokens
+
+- # Returns the configured Private Verification Tokens issuers and their redeemer
+- # origins.
+- experimental command getPrivateVerificationTokensIssuerConfigs
+- returns
+- array of PrivateVerificationTokensIssuerConfig configs
+-
+ # Removes all Private Verification Tokens issued by the provided issuerOrigin.
+ experimental command clearPrivateVerificationTokens
+ parameters
diff --git a/chromium-rust-clanglib.patch b/chromium-rust-clanglib.patch
new file mode 100644
index 0000000..71f8a0f
--- /dev/null
+++ b/chromium-rust-clanglib.patch
@@ -0,0 +1,48 @@
+diff -up chromium-157.0.8103.38/build/config/clang/BUILD.gn.than chromium-157.0.8103.38/build/config/clang/BUILD.gn
+--- chromium-157.0.8103.38/build/config/clang/BUILD.gn.than 2026-11-04 13:28:50.781598048 +0100
++++ chromium-157.0.8103.38/build/config/clang/BUILD.gn 2026-11-04 15:07:50.959537055 +0100
+@@ -205,19 +205,19 @@ template("clang_lib") {
+ _dir = "darwin"
+ } else if (is_linux || is_chromeos) {
+ if (current_cpu == "x64") {
+- _dir = "x86_64-unknown-linux-gnu"
++ _dir = "x86_64-redhat-linux-gnu"
+ } else if (current_cpu == "x86") {
+- _dir = "i386-unknown-linux-gnu"
++ _dir = "i386-redhat-linux-gnu"
+ } else if (current_cpu == "arm") {
+- _dir = "armv7-unknown-linux-gnueabihf"
++ _dir = "armhf-redhat-linux-gnu"
+ } else if (current_cpu == "arm64") {
+- _dir = "aarch64-unknown-linux-gnu"
++ _dir = "aarch64-redhat-linux-gnu"
+ } else if (current_cpu == "loong64") {
+ _dir = "loongarch64-unknown-linux-gnu"
+ } else if (current_cpu == "riscv64") {
+ _dir = "riscv64-unknown-linux-gnu"
+ } else if (current_cpu == "ppc64") {
+- _dir = "ppc64le-unknown-linux-gnu"
++ _dir = "ppc64le-redhat-linux-gnu"
+ } else if (current_cpu == "s390x") {
+ _dir = "s390x-unknown-linux-gnu"
+ } else {
+diff -up chromium-157.0.8103.38/build/rust/rust_bindgen_generator.gni.than chromium-157.0.8103.38/build/rust/rust_bindgen_generator.gni
+--- chromium-157.0.8103.38/build/rust/rust_bindgen_generator.gni.than 2026-11-04 15:08:24.137069212 +0100
++++ chromium-157.0.8103.38/build/rust/rust_bindgen_generator.gni 2026-11-04 15:09:55.586524478 +0100
+@@ -22,14 +22,14 @@ if (!use_chromium_rust_toolchain &&
+
+ # On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in
+ # ../lib.
+-_libclang_path = rust_bindgen_root
++_libclang_path = clang_base_path
+ if (!use_chromium_rust_toolchain &&
+ (host_cpu == "ppc64" || host_cpu == "s390x")) {
+ _libclang_path = rust_sysroot_absolute + "/lib64"
+ } else if (host_os == "win") {
+ _libclang_path += "/bin"
+ } else {
+- _libclang_path += "/lib"
++ _libclang_path += "/lib64"
+ }
+
+ # Template to build Rust/C bindings with bindgen.
diff --git a/chromium-typescript-vendor.patch b/chromium-typescript-vendor.patch
new file mode 100644
index 0000000..c2beced
--- /dev/null
+++ b/chromium-typescript-vendor.patch
@@ -0,0 +1,26 @@
+Ignore TypeScript Go compiler's bundled standard library files.
+
+Traceback (most recent call last):
+ File "/builddir/build/BUILD/chromium-157.0.8103.38/out/Release/../../tools/typescript/ts_library.py", line 366, in <module>
+ main(sys.argv[1:])
+ File "/builddir/build/BUILD/chromium-157.0.8103.38/out/Release/../../tools/typescript/ts_library.py", line 345, in main
+ raise AssertionError(error_msg)
+AssertionError: Undeclared dependencies to definition files encountered while building chrome/browser/resources/accessibility/reading_mode_gdocs_helper
+//out/Release/bundled:/libs/lib.es5.d.ts
+//out/Release/bundled:/libs/lib.es2015.d.ts
+//out/Release/bundled:/libs/lib.es2016.d.ts
+...
+
+diff -up chromium-157.0.8103.38/tools/typescript/validate_tsconfig.py.me chromium-157.0.8103.38/tools/typescript/validate_tsconfig.py
+--- chromium-157.0.8103.38/tools/typescript/validate_tsconfig.py.me 2026-11-12 02:11:20.077682578 -0500
++++ chromium-157.0.8103.38/tools/typescript/validate_tsconfig.py 2026-11-12 02:30:26.671026330 -0500
+@@ -311,6 +311,9 @@ def validateDefinitionDeps(
+
+ missing_inputs = []
+ for f in definitions_files:
++ if f.startswith('bundled:///libs/'):
++ continue
++
+ # File path relative to the current working directory.
+ f_from_cwd = os.path.relpath(f, _CWD).replace('\\', '/')
+ is_gen_file = f_from_cwd.startswith(gen_dir_from_build)
diff --git a/chromium.spec b/chromium.spec
index b9d7368..c074491 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -13,10 +13,6 @@
%global system_build_flags 0
%global numjobs %{_smp_build_ncpus}
-%ifarch x86_64
-# FTBFS workaround for OOM on x86_64
-%global numjobs 16
-%endif
# official builds have less debugging and go faster... but we have to shut some things off.
%global official_build 1
@@ -53,13 +49,8 @@
%global build_headless 0
%endif
-# Temporarily disable system_esbuild by default for the epel build
-# re-enable it once esbuild has been updated
-%global system_esbuild 1
-%global esbuild_version 0.28.2
-%if 0%{?rhel}
+# enable|disable system esbuild
%global system_esbuild 1
-%endif
# set nodejs_version
%global nodejs_version v22.22.0
@@ -71,10 +62,6 @@
%endif
%global system_gn 1
-# epel9 needs newer gn
-%if 0%{?rhel} == 9
-%global system_gn 0
-%endif
# enable gtk4 for fedora and el>9
%global gtk_version 4
@@ -243,7 +230,6 @@
%if 0%{?fedora} || 0%{?rhel} > 9
%global bundlelibopenjpeg2 0
%global bundleharfbuzz 0
-%global bundlebrotli 0
%global bundlelibwebp 0
%endif
%endif
@@ -282,7 +268,7 @@
%endif
Name: chromium
-Version: 156.0.8078.79
+Version: 157.0.8103.78
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -312,7 +298,7 @@ Patch22: chromium-131-fix-qt-ui.pach
# Workaround for build error: ERROR Unresolved dependencies.
#//chrome/test:captured_sites_interactive_tests(//build/toolchain/linux/unbundle:default)
# needs //third_party/libpng:libpng_for_testonly(//build/toolchain/linux/unbundle:default)
-Patch23: chromium-152-build-error-libpng_for_testonly.patch
+Patch23: chromium-build-error-libpng_for_testonly.patch
# patch from Melvin - melvin@pixilab.se
Patch24: glibc-2.42-baud-rate-fix.patch
@@ -320,8 +306,8 @@ Patch24: glibc-2.42-baud-rate-fix.patch
# fix FTBFS with old pipewire on fedora < 44 and epel
Patch25: chromium-153-ftbfs-pipewire-api.patch
-# Disable Eula popup
-Patch26: chromium-disable-eula-popup.patch
+# fix FTBFS with TypeScript Go
+Patch26: chromium-typescript-vendor.patch
# disable enterprise_companion_integration_tests due to Unresolved dependencies
Patch31: chromium-145-disable-enterprise_companion_integration_tests.patch
@@ -339,7 +325,7 @@ Patch91: chromium-108-system-opus.patch
Patch92: chromium-138-checkversion-nodejs.patch
# fix build error
-Patch93: chromium-141-csss_style_sheet.patch
+Patch93: chromium-csss_style_sheet.patch
# revert the patch to fix the build error: "ld.lld: error: undefined symbol: __sanitizer_set_death_callback"
Patch94: chromium-148-v8-sanitize-build-error.patch
@@ -476,7 +462,7 @@ Patch356: chromium-141-use_libcxx_modules.patch
Patch357: chromium-134-type-mismatch-error.patch
# set clang_lib path
-Patch358: chromium-144-rust-clanglib.patch
+Patch358: chromium-rust-clanglib.patch
# fix FTBFS with rustc 1.95
Patch359: chromium-148-rust-1.95-bytemuck-ftbfs.patch
@@ -550,10 +536,8 @@ Patch501: flatpak-Adjust-paths-for-the-sandbox.patch
Patch502: flatpak-Expose-Widevine-into-the-sandbox.patch
# nodejs patches
-%if ! %{system_nodejs}
Patch510: 0001-Remove-unused-OpenSSL-config.patch
Patch511: 0001-fips-disable-options.patch
-%endif
# Patches from ungoogle chromium, https://github.com/ungoogled-software/ungoogled-chromium
Patch521: disable-ai.patch
@@ -582,26 +566,21 @@ Source9: chromium-browser.xml
Source10: chromium-browser.appdata.xml
Source11: master_preferences
-%if ! %{system_nodejs}
# nodejs bundles openssl, but we use the system version in el9
# because openssl contains prohibited code, we remove openssl completely from
# the tarball, using the script in Source13
# http://nodejs.org/dist/v${version}/node-${nodejs_version}.tar.gz
Source12: node-%{nodejs_version}-stripped.tar.gz
Source13: nodejs-sources.sh
+%if ! %{system_nodejs}
BuildRequires: openssl-devel
%endif
# License - Apache-2.0, https://github.com/microsoft/TypeScript?tab=Apache-2.0-1-ov-file
-# TypeScript for ppc64le
-Source14: https://github.com/microsoft/TypeScript/releases/download/v7.0.2/typescript-linux-ppc64.tgz
-
-# License - MIT License, https://github.com/evanw/esbuild/blob/main/LICENSE.md
-%if ! %{system_esbuild}
-Source15: https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-%{esbuild_version}.tgz
-Source16: https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-%{esbuild_version}.tgz
-Source17: https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-%{esbuild_version}.tgz
-%endif
+# curl -fL https://github.com/microsoft/TypeScript/archive/refs/tags/v7.0.2.tar.gz -o TypeScript-7.0.2.tar.gz
+Source14: TypeScript-7.0.2.tar.gz
+# vendor archive created by create-typesctipt-archive.sh
+Source15: TypeScript-7.0.2-vendor-archive.tar.gz
BuildRequires: golang
BuildRequires: clang
@@ -1044,7 +1023,7 @@ Provides: bundled(skia)
Provides: bundled(SMHasher) = 0
Provides: bundled(snappy) = 1.1.4-head
Provides: bundled(speech-dispatcher) = 0.7.1
-Provides: bundled(sqlite) = 3.17patched
+Provides: bundled(sqlite) = 3.53.4
Provides: bundled(superfasthash) = 0
Provides: bundled(talloc) = 2.0.1
Provides: bundled(usrsctp) = 0
@@ -1124,7 +1103,7 @@ Qt6 UI for chromium.
%patch -P24 -p1 -b .glibc-2.42-baud-rate-fix
%endif
%patch -P25 -p1 -b .ftbfs-pipewire-api
-%patch -P26 -p1 -b .disable-eula-popup
+%patch -P26 -p1 -b .typescript-vendor
%patch -P31 -p1 -b .disable-enterprise_companion_integration_tests
%if ! %{bundlebrotli}
@@ -1306,29 +1285,14 @@ sed -i "s/Linux x86_64/Linux %{_arch}/" components/embedder_support/user_agent_u
# Add correct path for nodejs binary
mkdir -p third_party/node/linux/node-linux-x64/bin
%if %{system_nodejs}
- ln -s $(which node) third_party/node/linux/node-linux-x64/bin/node
+ ln -fs $(which node) third_party/node/linux/node-linux-x64/bin/node
%else
- ln -s ../../../../../node-%{nodejs_version}/node third_party/node/linux/node-linux-x64/bin/node
+ ln -sf ../../../../../node-%{nodejs_version}/node third_party/node/linux/node-linux-x64/bin/node
%endif
# Add correct path for esbuild binary
mkdir -p third_party/devtools-frontend/src/third_party/esbuild
-%if %{system_esbuild}
-ln -s $(which esbuild) third_party/devtools-frontend/src/third_party/esbuild/esbuild
-%else
-%ifarch x86_64
-tar xf %{SOURCE15} -C third_party/devtools-frontend/src/third_party/
-%endif
-%ifarch ppc64le
-tar xf %{SOURCE16} -C third_party/devtools-frontend/src/third_party/
-%endif
-%ifarch aarch64
-tar xf %{SOURCE17} -C third_party/devtools-frontend/src/third_party/
-%endif
-pushd third_party/devtools-frontend/src/third_party/esbuild
-ln -s ../package/bin/esbuild .
-popd
-%endif
+ln -sf $(which esbuild) third_party/devtools-frontend/src/third_party/esbuild/esbuild
# Remove bundle gn and replace it with a system gn or bootstrap gn as it is x86_64 and causes
# FTBFS on other arch like aarch64/ppc64le
@@ -1347,14 +1311,6 @@ ln -fs $(which gperf) third_party/gperf/cipd/bin/gperf
mkdir -p third_party/rust-toolchain/bin/
ln -fs $(which rustc) third_party/rust-toolchain/bin/rustc
-# need bundle typescript on ppc64le as workaround for FTBFS
-%ifarch ppc64le
-tar xf %{SOURCE14} -C third_party/typescript/linux-amd64/src/
-pushd third_party/typescript/linux-amd64/src/
-cp package/lib/tsc* lib/
-popd
-%endif
-
# remove bundle python3 and replace it with system one
# fix FTBFS on aarch64, ppc64le
# ERROR at //build/toolchain/concurrent_links.gni:156:19: Script returned non-zero exit code.
@@ -1390,6 +1346,17 @@ make install
popd
%endif
+# Build tsgo and replace bundle binary
+ver=7.0.2
+tar xf %{SOURCE14} && tar xf %{SOURCE15} -C TypeScript-$ver/tsc
+pushd TypeScript-$ver/tsc/internal/bundled/libs
+patch -p2 < ../../../../../third_party/typescript/linux-amd64/3pp/patches/typescript_native_preview.patch
+popd
+pushd TypeScript-$ver/tsc
+go build -o tsgo ./cmd/tsgo
+popd
+cp -a TypeScript-$ver/tsc/tsgo third_party/typescript/linux-amd64/src/lib/tsc
+
# reduce warnings
FLAGS=' -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument'
FLAGS+=' -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-function -Wno-unused-variable'
@@ -1511,7 +1478,7 @@ CHROMIUM_CORE_GN_DEFINES+=' angle_has_histograms=false'
# drop unrar
CHROMIUM_CORE_GN_DEFINES+=' safe_browsing_use_unrar=false'
CHROMIUM_CORE_GN_DEFINES+=' v8_enable_backtrace=true'
-CHROMIUM_CORE_GN_DEFINES+=' v8_use_metagen_instance_types=false'
+CHROMIUM_CORE_GN_DEFINES+=' v8_use_metagen=false'
# disable devtools buildle
CHROMIUM_CORE_GN_DEFINES+=' devtools_bundle=false'
export CHROMIUM_CORE_GN_DEFINES
@@ -1991,8 +1958,321 @@ fi
%endif
%changelog
+* Thu Nov 12 2026 Than Ngo <than@redhat.com> - 157.0.8103.78-1
+- Update to 157.0.8103.78, include 83 security fixes
+ * CVE-2026-126885: Use after free in ServiceWorker
+ * CVE-2026-126895: Use after free in CSS
+ * CVE-2026-126879: Use after free in Layout
+ * CVE-2026-126846: Use after free in Skia
+ * CVE-2026-126911: Use after free in Accessibility
+ * CVE-2026-126864: Use after free in V8
+ * CVE-2026-126889: Off-by-one error in V8
+ * CVE-2026-126859: Link following in FileSystem
+ * CVE-2026-126886: Use after free in Frames
+ * CVE-2026-126887: Use after free in Animation
+ * CVE-2026-126870: Uninitialized resource in ANGLE
+ * CVE-2026-126912: Buffer overflow in Skia
+ * CVE-2026-126919: Use after free in BrowserTag
+ * CVE-2026-126878: Information leak in Core
+ * CVE-2026-126909: Use after free in Passwords
+ * CVE-2026-126847: Type confusion in V8
+ * CVE-2026-126853: Uninitialized resource in Skia
+ * CVE-2026-126865: Use after free in DOM
+ * CVE-2026-126916: Integer overflow in V8
+ * CVE-2026-126903: Improper state validation in ANGLE
+ * CVE-2026-126910: Type confusion in V8
+ * CVE-2026-126842: Use after free in ANGLE
+ * CVE-2026-126898: Uninitialized resource in Skia
+ * CVE-2026-126871: Out of bounds read in Skia
+ * CVE-2026-126875: Missing authorization in V8
+ * CVE-2026-126862: Improper input validation in Core
+ * CVE-2026-126900: Use after free in CSS
+ * CVE-2026-126904: Use after free in Compositing
+ * CVE-2026-126907: Uninitialized resource in Media
+ * CVE-2026-126851: Use after free in Accessibility
+ * CVE-2026-126845: Uninitialized resource in GPU
+ * CVE-2026-126881: Improper initialization in Media
+ * CVE-2026-126867: Use after free in Browser
+ * CVE-2026-126863: Use after free in HTML
+ * CVE-2026-126896: Missing authorization in V8
+ * CVE-2026-126869: Use after free in Frames
+ * CVE-2026-126858: Uninitialized resource in ANGLE
+ * CVE-2026-126891: Use after free in V8
+ * CVE-2026-126874: Type confusion in V8
+ * CVE-2026-126876: Integer overflow in Skia
+ * CVE-2026-126918: Use after free in Layout
+ * CVE-2026-126866: Incorrect authorization in Extensions
+ * CVE-2026-126844: Uninitialized resource in Skia
+ * CVE-2026-126884: Out of bounds read in Skia
+ * CVE-2026-126894: Out of bounds read in Skia
+ * CVE-2026-126861: Use after free in Media
+ * CVE-2026-126917: Memory corruption in V8
+ * CVE-2026-126856: Incomplete cleanup in Cache
+ * CVE-2026-126905: Incomplete cleanup in V8
+ * CVE-2026-126873: Use after free in Extensions
+ * CVE-2026-126922: Out of bounds read in Skia
+ * CVE-2026-126914: Uninitialized resource in Skia
+ * CVE-2026-126880: Type confusion in V8
+ * CVE-2026-126872: Incorrect authorization in FileSystem
+ * CVE-2026-126877: Use after free in Dawn
+ * CVE-2026-126888: Buffer overflow in Turbolev
+ * CVE-2026-126843: Type confusion in Turbolev
+ * CVE-2026-126854: Incorrect authorization in Layout
+ * CVE-2026-126892: Use after free in MediaStream
+ * CVE-2026-126897: Type confusion in V8
+ * CVE-2026-126857: Out of bounds read in Skia
+ * CVE-2026-126883: Use after free in Core
+ * CVE-2026-126840: Out of bounds write in Network
+ * CVE-2026-126848: Uninitialized resource in Skia
+ * CVE-2026-126882: Information leak in Skia
+ * CVE-2026-126906: Race condition in Extensions
+ * CVE-2026-126915: Use of uninitialized variable in Skia
+ * CVE-2026-126893: Out of bounds write in V8
+ * CVE-2026-126855: Missing authorization in ImageCapture
+ * CVE-2026-126908: Type confusion in V8
+ * CVE-2026-126849: Type confusion in V8
+ * CVE-2026-126901: Use after free in PDF
+ * CVE-2026-126852: Use after free in MediaStream
+ * CVE-2026-126850: Incorrect authorization in SiteIsolation
+ * CVE-2026-126841: Out of bounds read in Skia
+ * CVE-2026-126902: Incorrect reference resolution in Browser
+ * CVE-2026-126868: Type confusion in V8
+ * CVE-2026-126921: Use after free in Accessibility
+ * CVE-2026-126913: Out of bounds read in Compositing
+ * CVE-2026-126890: Out of bounds read in Media
+ * CVE-2026-126860: Incorrect authorization in FileSystem
+ * CVE-2026-126920: Information leak in Skia
+ * CVE-2026-126899: Use after free in Elements
+
+* Mon Nov 09 2026 Than Ngo <than@redhat.com> - 157.0.8103.50-1
+- Update to 157.0.8103.50, include 9 security fixes
+ * CVE-2026-125345: Uninitialized resource in WebGL
+ * CVE-2026-125347: Incorrect authorization in FileSystem
+ * CVE-2026-125343: Buffer overflow in Compositing
+ * CVE-2026-125348: Out of bounds write in GPU
+ * CVE-2026-125344: Type confusion in V8
+ * CVE-2026-125350: Use after free in XML
+ * CVE-2026-125349: Uninitialized resource in GPU
+ * CVE-2026-125342: Uninitialized resource in GPU
+
+* Wed Nov 04 2026 Than Ngo <than@redhat.com> - 157.0.8103.38-1
+- Update to 157.0.8103.38, include 213 security fixes
+ * CVE-2026-121029: Incorrect authorization in ORB
+ * CVE-2026-121030: Incorrect authorization in DevTools
+ * CVE-2026-121031: Missing authorization in PDF
+ * CVE-2026-121032: Out of bounds read in Skia
+ * CVE-2026-121033: Uninitialized resource in GPU
+ * CVE-2026-121034: Use after free in Views
+ * CVE-2026-121035: Use after free in Prerender
+ * CVE-2026-121036: Use after free in CSS
+ * CVE-2026-121037: Out of bounds write in ANGLE
+ * CVE-2026-121038: Information leak in Compositing
+ * CVE-2026-121039: Incorrect authorization in Proxy Auth
+ * CVE-2026-121040: Incorrect authorization in Core
+ * CVE-2026-121041: Missing authorization in Input
+ * CVE-2026-121042: Incorrect authorization in Permissions
+ * CVE-2026-121043: UI misrepresentation in Payments
+ * CVE-2026-121044: Use after free in Layout
+ * CVE-2026-121045: UI misrepresentation in Browser
+ * CVE-2026-121046: Incorrect authorization in WebAppInstalls
+ * CVE-2026-121047: Buffer overflow in Media
+ * CVE-2026-121048: Race condition in V8
+ * CVE-2026-121049: Out of bounds read in V8
+ * CVE-2026-121050: Race condition in Mobile
+ * CVE-2026-121051: UI misrepresentation in iOSWeb
+ * CVE-2026-121052: Use after free in GPU
+ * CVE-2026-121053: UI misrepresentation in Transactions Platform
+ * CVE-2026-121054: Improper state validation in XML
+ * CVE-2026-121055: Incomplete cleanup in DevTools
+ * CVE-2026-121057: Type confusion in V8
+ * CVE-2026-121059: Information leak in Core
+ * CVE-2026-121060: Incorrect authorization in FileSystem
+ * CVE-2026-121061: Use after free in Modularization
+ * CVE-2026-121062: Incorrect authorization in API
+ * CVE-2026-121063: Incorrect authorization in CacheStorage
+ * CVE-2026-121064: Improper input validation in Performance
+ * CVE-2026-121065: Incorrect authorization in DevTools
+ * CVE-2026-121066: Incorrect authorization in Extensions
+ * CVE-2026-121067: UI misrepresentation in PermissionElement
+ * CVE-2026-121068: Type confusion in V8
+ * CVE-2026-121069: Use after free in Track
+ * CVE-2026-121070: Use after free in WTF
+ * CVE-2026-121071: Incorrect authorization in FileSystem
+ * CVE-2026-121072: Uninitialized resource in Skia
+ * CVE-2026-121073: Use after free in Network
+ * CVE-2026-121074: Memory corruption in GPU
+ * CVE-2026-121075: Missing authorization in DevTools
+ * CVE-2026-121076: Use after free in WebXR
+ * CVE-2026-121077: Use after free in Mobile
+ * CVE-2026-121078: Type confusion in V8
+ * CVE-2026-121079: Race condition in V8
+ * CVE-2026-121080: Use after free in Codecs
+ * CVE-2026-121081: UI misrepresentation in Passwords
+ * CVE-2026-121082: Type confusion in V8
+ * CVE-2026-121083: Use after free in Compositing
+ * CVE-2026-121084: Out of bounds read in Skia
+ * CVE-2026-121085: Incorrect authorization in WebUI
+ * CVE-2026-121086: Buffer overflow in Skia
+ * CVE-2026-121087: Improper input validation in Mobile
+ * CVE-2026-121088: Missing authorization in PerformanceAPIs
+ * CVE-2026-121089: Use after free in WebGPU
+ * CVE-2026-121090: Improper privilege management in Navigation
+ * CVE-2026-121091: Incorrect authorization in Permissions
+ * CVE-2026-121092: Uncontrolled recursion in SVG
+ * CVE-2026-121093: Out of bounds read in Animation
+ * CVE-2026-121094: Type confusion in V8
+ * CVE-2026-121095: Uninitialized resource in WebGL
+ * CVE-2026-121096: Incomplete cleanup in V8
+ * CVE-2026-121097: Use after free in Printing
+ * CVE-2026-121098: Improper state validation in GPU
+ * CVE-2026-121099: Information leak in PrivateTokens
+ * CVE-2026-121100: Use after free in DOM
+ * CVE-2026-121101: Missing authorization in DevTools
+ * CVE-2026-121102: Missing authorization in BackgroundFetch
+ * CVE-2026-121103: Incorrect authorization in Extensions
+ * CVE-2026-121104: Incorrect authorization in FileSystem
+ * CVE-2026-121105: Information leak in Network
+ * CVE-2026-121106: Information leak in Omnibox
+ * CVE-2026-121107: Incorrect authorization in BackgroundFetch
+ * CVE-2026-121108: Confused deputy in BackgroundFetch
+ * CVE-2026-121109: Inadequate encryption strength in SSL
+ * CVE-2026-121110: UI misrepresentation in Shopping
+ * CVE-2026-121111: Incorrect authorization in HID
+ * CVE-2026-121112: Out of bounds read in Permissions
+ * CVE-2026-121113: Buffer overflow in PDFium
+ * CVE-2026-121114: Use after free in TabStrip
+ * CVE-2026-121115: Improper input validation in Shopping
+ * CVE-2026-121116: Missing authorization in WebView
+ * CVE-2026-121117: Use after free in Paint
+ * CVE-2026-121118: Use after free in SVG
+ * CVE-2026-121119: Use after free in Controls
+ * CVE-2026-121120: Improper input validation in Prerender
+ * CVE-2026-121121: UI misrepresentation in PageInfo
+ * CVE-2026-121122: UI misrepresentation in Prompts
+ * CVE-2026-121123: Use after free in Canvas
+ * CVE-2026-121124: Improper adherence to coding standards in XML
+ * CVE-2026-121125: Information leak in ServiceWorker
+ * CVE-2026-121126: Use after free in Core
+ * CVE-2026-121127: Use after free in WebAudio
+ * CVE-2026-121128: Use after free in Scheduling
+ * CVE-2026-121129: Use after free in WebRTC
+ * CVE-2026-121130: Observable discrepancy in Forms
+ * CVE-2026-121131: Use after free in Mobile
+ * CVE-2026-121132: Information leak in V8
+ * CVE-2026-121133: Incorrect reference resolution in Images
+ * CVE-2026-121134: Information loss in BackgroundFetch
+ * CVE-2026-121135: Security issue in Platform
+ * CVE-2026-121136: Missing authorization in DevTools
+ * CVE-2026-121137: Type confusion in DevTools
+ * CVE-2026-121138: Observable discrepancy in CORS
+ * CVE-2026-121140: Out of bounds read in Internals
+ * CVE-2026-121141: Improper input validation in Editing
+ * CVE-2026-121142: Incorrect authorization in Network
+ * CVE-2026-121143: Uninitialized resource in GPU
+ * CVE-2026-121148: Use after free in ANGLE
+ * CVE-2026-121156: Buffer overflow in Dawn
+ * CVE-2026-121157: Incorrect authorization in Chromoting
+ * CVE-2026-121158: Information leak in Paint
+ * CVE-2026-121159: Incorrect authorization in History
+ * CVE-2026-121160: Out of bounds read in Skia
+ * CVE-2026-121161: Information leak in BackgroundFetch
+ * CVE-2026-121162: UI misrepresentation in Notifications
+ * CVE-2026-121163: Improper input validation in Browser
+ * CVE-2026-121164: Incorrect authorization in Views
+ * CVE-2026-121165: UI misrepresentation in Mobile
+ * CVE-2026-121166: Type confusion in PDFium
+ * CVE-2026-121167: Incorrect authorization in Permissions
+ * CVE-2026-121168: Improper resource exposure in DevTools
+ * CVE-2026-121169: Missing authorization in DevTools
+ * CVE-2026-121170: Improper resource control in WebCodecs
+ * CVE-2026-121171: Confused deputy in DevTools
+ * CVE-2026-121172: Incorrect authorization in Isolated
+ * CVE-2026-121173: Uninitialized resource in WebGL
+ * CVE-2026-121174: Missing authorization in BackgroundFetch
+ * CVE-2026-121175: Improper resource exposure in ORB
+ * CVE-2026-121176: Uninitialized resource in Media
+ * CVE-2026-121177: UI misrepresentation in PageInfo
+ * CVE-2026-121178: Use after free in Aura
+ * CVE-2026-121179: Use after free in PDFium
+ * CVE-2026-121180: Buffer overflow in Media
+ * CVE-2026-121181: Use after free in Editing
+ * CVE-2026-121182: Use after free in DOM
+ * CVE-2026-121183: Incorrect authorization in Extensions
+ * CVE-2026-121184: Out of bounds read in Media
+ * CVE-2026-121185: Use after free in PictureInPicture
+ * CVE-2026-121186: UI misrepresentation in Passwords
+ * CVE-2026-121187: Observable discrepancy in Paint
+ * CVE-2026-121188: Use after free in PerformanceAPIs
+ * CVE-2026-121189: Use after free in Browser
+ * CVE-2026-121190: UI misrepresentation in Extensions
+ * CVE-2026-121193: Incorrect authorization in Extensions
+ * CVE-2026-121194: Missing authorization in SiteIsolation
+ * CVE-2026-121195: Incorrect authorization in TrustedTypes
+ * CVE-2026-121196: Privilege elevation in Mobile
+ * CVE-2026-121197: Out of bounds read in ANGLE
+ * CVE-2026-121198: Confused deputy in WebUI
+ * CVE-2026-121199: Missing authorization in Chromoting
+ * CVE-2026-121200: Incorrect reference resolution in DevTools
+ * CVE-2026-121201: Use after free in Animation
+ * CVE-2026-121202: Use after free in Autofill
+ * CVE-2026-121203: Use after free in Geometry
+ * CVE-2026-121204: Incomplete cleanup in DevTools
+ * CVE-2026-121205: Incorrect authorization in CORS
+ * CVE-2026-121206: UI misrepresentation in Isolated
+ * CVE-2026-121207: Uninitialized resource in Dawn
+ * CVE-2026-121208: Out of bounds read in Media
+ * CVE-2026-121209: UI misrepresentation in Input
+ * CVE-2026-121210: Type confusion in V8
+ * CVE-2026-121211: Use after free in PowerBookmarks
+ * CVE-2026-121212: Incorrect authorization in Core
+ * CVE-2026-121213: Uninitialized resource in Images
+ * CVE-2026-121214: Use after free in Passwords
+ * CVE-2026-121215: UI misrepresentation in Bluetooth
+ * CVE-2026-121216: UI misrepresentation in UI
+ * CVE-2026-121217: Use after free in Streaming
+ * CVE-2026-121218: Type confusion in V8
+ * CVE-2026-121219: Integer overflow in GPU
+ * CVE-2026-121220: Incorrect authorization in Core
+ * CVE-2026-121221: Type confusion in V8
+ * CVE-2026-121222: Incorrect authorization in Forms
+ * CVE-2026-121223: Observable discrepancy in Media
+ * CVE-2026-121224: Security issue in Desktop
+ * CVE-2026-121225: Incorrect authorization in Permissions
+ * CVE-2026-121226: Type confusion in V8
+ * CVE-2026-121227: Uninitialized resource in Skia
+ * CVE-2026-121228: Type confusion in V8
+ * CVE-2026-121229: Memory corruption in ANGLE
+ * CVE-2026-121230: Race condition in ANGLE
+ * CVE-2026-121231: Incorrect authorization in DevTools
+ * CVE-2026-121232: Incorrect authorization in Core
+ * CVE-2026-121233: Type confusion in CacheStorage
+ * CVE-2026-121234: Privilege elevation in Contacts
+ * CVE-2026-121235: Information leak in Paint
+ * CVE-2026-121236: Improper input validation in Network
+ * CVE-2026-121237: Improper state validation in FileSystem
+ * CVE-2026-121238: Use after free in Source
+ * CVE-2026-121239: Information leak in Core
+ * CVE-2026-121240: Improper input validation in Variations
+ * CVE-2026-121241: Use after free in Navigation
+ * CVE-2026-121242: Improper input validation in WebPackaging
+ * CVE-2026-121243: Information leak in Frames
+ * CVE-2026-121244: UI misrepresentation in FileAPI
+ * CVE-2026-121245: Race condition in Autofill
+ * CVE-2026-121246: Use after free in WebGL
+ * CVE-2026-121247: Buffer overflow in Dawn
+ * CVE-2026-121248: Incorrect authorization in API
+ * CVE-2026-121249: Buffer overflow in ANGLE
+ * CVE-2026-121250: Use after free in Extensions
+ * CVE-2026-121251: Missing authorization in V8
+ * CVE-2026-121252: Incorrect authorization in Core
+ * CVE-2026-121253: Missing authorization in DevTools
+ * CVE-2026-121254: Information leak in Select
+ * CVE-2026-121255: Incorrect authorization in Autofill AI
+ * CVE-2026-121256: Use of released resource in GPU
+ * CVE-2026-121257: Use after free in TabStrip
+
* Fri Oct 30 2026 Than Ngo <than@redhat.com> - 156.0.8078.79-1
-- Update to 156.0.8078.73, include 21 security fixes
+- Update to 156.0.8078.79, include 21 security fixes
* CVE-2026-119260: Use after free in Frames
* CVE-2026-119261: Improper input validation in Skia
* CVE-2026-119262: Improper input validation in V8
diff --git a/create-typesctipt-archive.sh b/create-typesctipt-archive.sh
new file mode 100755
index 0000000..fa497a9
--- /dev/null
+++ b/create-typesctipt-archive.sh
@@ -0,0 +1,19 @@
+#! /usr/bin/bash
+#
+# Need to install following rpms first:
+# rpm-build rpmdevtools rpmlint golang go-rpm-macros tar gzip patch git
+#
+
+path=$PWD
+echo "Downloading upstream typescript..."
+curl -fL https://github.com/microsoft/TypeScript/archive/refs/tags/v7.0.2.tar.gz \
+ -o TypeScript-7.0.2.tar.gz
+tar xf TypeScript-7.0.2.tar.gz
+pushd TypeScript-7.0.2/tsc
+export GOTOOLCHAIN=local
+export GOPROXY=https://proxy.golang.org
+echo "Creating vendor archive file..."
+go mod vendor
+tar -czf $path/TypeScript-7.0.2-vendor.tar.gz vendor
+popd
+echo "$path/TypeScript-7.0.2-vendor.tar.gz is created."
diff --git a/disable-ai.patch b/disable-ai.patch
index 4acb93a..82b8e97 100644
--- a/disable-ai.patch
+++ b/disable-ai.patch
@@ -1,10 +1,35 @@
# Disable Glic ("Gemini Live in Chrome"), ScreenAI, and associated AI-based
# features.
-diff -up chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn 2026-10-20 17:09:47.117654483 +0200
-@@ -59,7 +59,6 @@ source_set("accessibility") {
+--- a/chrome/browser/BUILD.gn
++++ b/chrome/browser/BUILD.gn
+@@ -2916,7 +2916,6 @@ source_set("browser") {
+ "//chrome/browser/profile_resetter:impl",
+ "//chrome/browser/record_replay",
+ "//chrome/browser/record_replay:impl",
+- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
+ "//chrome/browser/sharing_hub",
+ "//chrome/browser/sharing_hub:impl",
+ "//chrome/browser/smart_card",
+@@ -2965,7 +2964,6 @@ source_set("browser") {
+ "//chrome/browser/ui/waap:window_metrics_manager",
+ "//chrome/browser/ui/web_applications:impl",
+ "//chrome/browser/ui/webui/app_service_internals",
+- "//chrome/browser/ui/webui/autofill_ml_internals",
+ "//chrome/browser/ui/webui/color_pipeline_internals",
+ "//chrome/browser/ui/webui/commerce",
+ "//chrome/browser/ui/webui/commerce:impl",
+@@ -3976,7 +3974,6 @@ source_set("browser") {
+ "//chrome/browser/lens/region_search",
+ "//chrome/browser/reading_list",
+ "//chrome/browser/safe_browsing",
+- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
+ "//chrome/browser/smart_card",
+ "//chrome/browser/support_tool",
+ "//chrome/browser/tab_group_sync:utils",
+--- a/chrome/browser/accessibility/BUILD.gn
++++ b/chrome/browser/accessibility/BUILD.gn
+@@ -60,7 +60,6 @@ source_set("accessibility") {
public_deps += [
"//chrome/browser/accessibility/live_caption",
"//chrome/browser/profiles:profile_manager",
@@ -12,7 +37,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn.disable-ai
"//components/live_caption",
"//components/pref_registry",
"//ui/accessibility/platform",
-@@ -88,8 +87,6 @@ source_set("impl") {
+@@ -89,8 +88,6 @@ source_set("impl") {
if (!is_android) {
sources += [
@@ -20,16 +45,16 @@ diff -up chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn.disable-ai
- "ax_main_node_annotator_controller_factory.cc",
"embedded_a11y_extension_loader.cc",
"invert_bubble_prefs.cc",
- "page_colors_controller.cc",
+ "page_colors_controller_factory.cc",
@@ -99,7 +96,6 @@ source_set("impl") {
"//chrome/browser/accessibility/live_caption:impl",
"//chrome/browser/extensions",
"//chrome/browser/on_device_translation",
- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
- "//chrome/browser/ui",
"//chrome/browser/ui/browser_window",
"//chrome/browser/ui/views/frame:browser_view_header",
-@@ -246,9 +242,7 @@ if (!is_android) {
+ "//components/live_caption:live_translate",
+@@ -247,9 +243,7 @@ if (!is_android) {
}
deps += [
@@ -39,20 +64,18 @@ diff -up chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn.disable-ai
]
if (enable_screen_ai_browsertests) {
-diff -up chromium-156.0.8078.35/chrome/browser/accessibility/live_caption/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/accessibility/live_caption/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/accessibility/live_caption/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/accessibility/live_caption/BUILD.gn 2026-10-20 17:09:47.118038780 +0200
+--- a/chrome/browser/accessibility/live_caption/BUILD.gn
++++ b/chrome/browser/accessibility/live_caption/BUILD.gn
@@ -44,7 +44,6 @@ source_set("impl") {
"//chrome/browser/accessibility",
"//chrome/browser/extensions",
"//chrome/browser/on_device_translation",
- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
- "//chrome/browser/ui",
"//chrome/browser/ui/browser_window",
"//components/live_caption",
-diff -up chromium-156.0.8078.35/chrome/browser/accessibility/tree_fixing/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/accessibility/tree_fixing/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/accessibility/tree_fixing/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/accessibility/tree_fixing/BUILD.gn 2026-10-20 17:09:47.118319555 +0200
+ "//components/live_caption:constants",
+--- a/chrome/browser/accessibility/tree_fixing/BUILD.gn
++++ b/chrome/browser/accessibility/tree_fixing/BUILD.gn
@@ -63,11 +63,9 @@ source_set("internal") {
deps = [
"//base",
@@ -65,26 +88,21 @@ diff -up chromium-156.0.8078.35/chrome/browser/accessibility/tree_fixing/BUILD.g
- "//services/screen_ai/public/mojom",
]
}
-diff -up chromium-156.0.8078.35/chrome/browser/actor/actor_keyed_service.cc.disable-ai chromium-156.0.8078.35/chrome/browser/actor/actor_keyed_service.cc
---- chromium-156.0.8078.35/chrome/browser/actor/actor_keyed_service.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/actor/actor_keyed_service.cc 2026-10-20 17:09:47.118847319 +0200
-@@ -870,13 +870,6 @@ bool ActorKeyedService::IsActiveOnTab(co
-
- ActorTask* ActorKeyedService::GetTaskFromTab(
- const tabs::TabInterface& tab) const {
-- tabs::TabHandle handle = tab.GetHandle();
-- for (const auto& [task_id, task] : active_tasks_) {
-- if (task->HasTab(handle)) {
-- return task.get();
-- }
+--- a/chrome/browser/actor/actor_keyed_service.cc
++++ b/chrome/browser/actor/actor_keyed_service.cc
+@@ -869,10 +869,6 @@ void ActorKeyedService::StopTask(TaskId
+ }
+
+ ActorTask* ActorKeyedService::GetTask(TaskId task_id) {
+- auto task = active_tasks_.find(task_id);
+- if (task != active_tasks_.end()) {
+- return task->second.get();
- }
--
return nullptr;
}
-diff -up chromium-156.0.8078.35/chrome/browser/browser_process.h.disable-ai chromium-156.0.8078.35/chrome/browser/browser_process.h
---- chromium-156.0.8078.35/chrome/browser/browser_process.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/browser_process.h 2026-10-20 17:09:47.119445405 +0200
+--- a/chrome/browser/browser_process.h
++++ b/chrome/browser/browser_process.h
@@ -331,8 +331,6 @@ class BrowserProcess {
virtual void set_usb_system_tray_icon_for_test(
std::unique_ptr<UsbSystemTrayIcon> icon) = 0;
@@ -94,9 +112,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/browser_process.h.disable-ai chro
#endif
// Obtain the browser instance of OSCryptAsync, which should be used for data
-diff -up chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc.disable-ai chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc
---- chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc 2026-10-20 17:09:47.120093661 +0200
+--- a/chrome/browser/browser_process_impl.cc
++++ b/chrome/browser/browser_process_impl.cc
@@ -85,7 +85,6 @@
#include "chrome/browser/serial/serial_policy_allowed_ports.h"
#include "chrome/browser/shell_integration.h"
@@ -105,7 +122,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc.disable-a
#include "chrome/browser/ssl/secure_origin_prefs_observer.h"
#include "chrome/browser/startup_data.h"
#include "chrome/browser/status_icons/status_tray.h"
-@@ -261,12 +260,10 @@ void OnLocalStatePrefsLoaded();
+@@ -264,12 +263,10 @@ void OnLocalStatePrefsLoaded();
#if BUILDFLAG(IS_CHROMEOS)
#include "chrome/browser/chromeos/extensions/telemetry/chromeos_telemetry_extensions_browser_api_provider.h"
#include "chrome/browser/hid/hid_pinned_notification.h"
@@ -118,7 +135,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc.disable-a
#include "chrome/browser/usb/usb_status_icon.h"
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h"
#endif
-@@ -1368,12 +1365,6 @@ GlobalFeatures* BrowserProcessImpl::GetF
+@@ -1373,12 +1370,6 @@ GlobalFeatures* BrowserProcessImpl::GetF
return features_.get();
}
@@ -131,7 +148,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc.disable-a
DownloadRequestLimiter* BrowserProcessImpl::download_request_limiter() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
-@@ -1715,11 +1706,6 @@ void BrowserProcessImpl::PreMainMessageL
+@@ -1723,11 +1714,6 @@ void BrowserProcessImpl::PreMainMessageL
soda_installer_impl_ = std::make_unique<speech::SodaInstallerImplChromeOS>();
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -143,9 +160,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc.disable-a
base::FilePath user_data_dir;
bool result = base::PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
-diff -up chromium-156.0.8078.35/chrome/browser/browser_process_impl.h.disable-ai chromium-156.0.8078.35/chrome/browser/browser_process_impl.h
---- chromium-156.0.8078.35/chrome/browser/browser_process_impl.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/browser_process_impl.h 2026-10-20 17:09:47.120584088 +0200
+--- a/chrome/browser/browser_process_impl.h
++++ b/chrome/browser/browser_process_impl.h
@@ -58,9 +58,6 @@ class SiteIsolationPrefsObserver;
class SystemNotificationHelper;
class StartupData;
@@ -188,28 +204,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/browser_process_impl.h.disable-ai
#endif
std::unique_ptr<BrowserProcessPlatformPart> platform_part_;
-diff -up chromium-156.0.8078.35/chrome/browser/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/BUILD.gn.disable-ai 2026-10-20 17:09:46.910549833 +0200
-+++ chromium-156.0.8078.35/chrome/browser/BUILD.gn 2026-10-20 17:09:47.115553053 +0200
-@@ -2605,7 +2605,6 @@ source_set("browser") {
- "//chrome/browser/profile_resetter:impl",
- "//chrome/browser/record_replay",
- "//chrome/browser/record_replay:impl",
-- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
- "//chrome/browser/sharing_hub",
- "//chrome/browser/sharing_hub:impl",
- "//chrome/browser/smart_card",
-@@ -2654,7 +2653,6 @@ source_set("browser") {
- "//chrome/browser/ui/waap:window_metrics_manager",
- "//chrome/browser/ui/web_applications:impl",
- "//chrome/browser/ui/webui/app_service_internals",
-- "//chrome/browser/ui/webui/autofill_ml_internals",
- "//chrome/browser/ui/webui/color_pipeline_internals",
- "//chrome/browser/ui/webui/commerce",
- "//chrome/browser/ui/webui/commerce:impl",
-diff -up chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders.cc.disable-ai chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders.cc
---- chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders.cc 2026-10-20 17:09:47.120968490 +0200
+--- a/chrome/browser/chrome_browser_interface_binders.cc
++++ b/chrome/browser/chrome_browser_interface_binders.cc
@@ -91,8 +91,6 @@
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -258,10 +254,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders.
#endif
#if BUILDFLAG(IS_WIN)
-diff -up chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc.disable-ai chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc
---- chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc 2026-10-20 17:09:47.121399478 +0200
-@@ -456,9 +456,6 @@ void PopulateChromeWebUIFrameBindersPart
+--- a/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc
++++ b/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc
+@@ -446,9 +446,6 @@ void PopulateChromeWebUIFrameBindersPart
::mojom::app_service_internals::AppServiceInternalsPageHandler,
AppServiceInternalsUI>(map);
@@ -271,10 +266,17 @@ diff -up chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders_
RegisterWebUIControllerInterfaceBinder<
access_code_cast::mojom::PageHandlerFactory,
-diff -up chromium-156.0.8078.35/chrome/browser/chrome_content_browser_client.cc.disable-ai chromium-156.0.8078.35/chrome/browser/chrome_content_browser_client.cc
---- chromium-156.0.8078.35/chrome/browser/chrome_content_browser_client.cc.disable-ai 2026-10-20 17:09:46.915549911 +0200
-+++ chromium-156.0.8078.35/chrome/browser/chrome_content_browser_client.cc 2026-10-20 17:09:47.122250321 +0200
-@@ -5686,9 +5686,6 @@ ChromeContentBrowserClient::CreateCommit
+--- a/chrome/browser/chrome_content_browser_client.cc
++++ b/chrome/browser/chrome_content_browser_client.cc
+@@ -1418,6 +1418,7 @@ base::FilePath GetModulePath(
+ #endif // BUILDFLAG(IS_WIN) && !defined(COMPONENT_BUILD) &&
+ // !defined(ADDRESS_SANITIZER)
+
++[[maybe_unused]]
+ void MaybeAddCondition(
+ std::unique_ptr<content::CommitDeferringCondition> maybe_condition,
+ std::vector<std::unique_ptr<content::CommitDeferringCondition>>*
+@@ -5749,9 +5750,6 @@ ChromeContentBrowserClient::CreateCommit
&conditions);
#endif
@@ -284,10 +286,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/chrome_content_browser_client.cc.
return conditions;
}
-diff -up chromium-156.0.8078.35/chrome/browser/component_updater/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/component_updater/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/component_updater/BUILD.gn.disable-ai 2026-10-20 17:09:46.918035707 +0200
-+++ chromium-156.0.8078.35/chrome/browser/component_updater/BUILD.gn 2026-10-20 17:09:47.123077844 +0200
-@@ -225,13 +225,6 @@ source_set("impl") {
+--- a/chrome/browser/component_updater/BUILD.gn
++++ b/chrome/browser/component_updater/BUILD.gn
+@@ -234,13 +234,6 @@ source_set("impl") {
]
}
@@ -301,9 +302,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/component_updater/BUILD.gn.disabl
if (use_minikin_hyphenation) {
sources += [ "hyphenation_component_installer.cc" ]
-diff -up chromium-156.0.8078.35/chrome/browser/component_updater/registration.cc.disable-ai chromium-156.0.8078.35/chrome/browser/component_updater/registration.cc
---- chromium-156.0.8078.35/chrome/browser/component_updater/registration.cc.disable-ai 2026-10-20 17:09:46.794353663 +0200
-+++ chromium-156.0.8078.35/chrome/browser/component_updater/registration.cc 2026-10-20 17:09:47.123234894 +0200
+--- a/chrome/browser/component_updater/registration.cc
++++ b/chrome/browser/component_updater/registration.cc
@@ -64,8 +64,6 @@
#if BUILDFLAG(IS_ANDROID)
@@ -313,7 +313,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/component_updater/registration.cc
#endif // BUILDFLAG(IS_ANDROID)
#if !BUILDFLAG(IS_ANDROID)
-@@ -202,9 +200,6 @@ void RegisterComponentsForUpdate() {
+@@ -206,9 +204,6 @@ void RegisterComponentsForUpdate() {
RegisterRealTimeUrlChecksAllowlistComponent(cus);
#endif // BUIDLFLAG(IS_ANDROID)
@@ -323,62 +323,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/component_updater/registration.cc
RegisterCommerceHeuristicsComponent(cus);
-diff -up chromium-156.0.8078.35/chrome/browser/glic/glic_selection_observer.cc.disable-ai chromium-156.0.8078.35/chrome/browser/glic/glic_selection_observer.cc
---- chromium-156.0.8078.35/chrome/browser/glic/glic_selection_observer.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/glic/glic_selection_observer.cc 2026-10-20 17:09:47.123658022 +0200
-@@ -1269,20 +1269,6 @@ void GlicSelectionObserver::OnAskGeminiW
- }
-
- std::string skill_prompt;
-- auto* tab_interface =
-- tabs::TabInterface::MaybeGetFromContents(web_contents());
-- if (tab_interface) {
-- if (auto* observer = skills::SkillsUpdateObserver::From(tab_interface)) {
-- if (const auto* list = observer->contextual_skills()) {
-- for (const auto& s : list->skills()) {
-- if (s.id() == skill.id) {
-- skill_prompt = s.prompt();
-- break;
-- }
-- }
-- }
-- }
-- }
-
- if (skill_prompt.empty()) {
- Profile* profile =
-@@ -1303,28 +1289,6 @@ void GlicSelectionObserver::OnAskGeminiW
- std::vector<GlicSelectionWidgetDelegate::SkillOption>
- GlicSelectionObserver::GetContextualSkills() {
- std::vector<GlicSelectionWidgetDelegate::SkillOption> result;
-- if (!features::kGlicSelectionPromptSkills.Get()) {
-- return result;
-- }
-- auto* tab_interface =
-- tabs::TabInterface::MaybeGetFromContents(web_contents());
-- if (!tab_interface) {
-- return result;
-- }
-- auto* observer = skills::SkillsUpdateObserver::From(tab_interface);
-- if (!observer) {
-- return result;
-- }
-- const auto* list = observer->contextual_skills();
-- if (!list) {
-- return result;
-- }
-- for (const auto& skill : list->skills()) {
-- if (!skill.id().empty() && !skill.name().empty()) {
-- result.emplace_back(
-- skills::Skill(skill.id(), skill.name(), skill.icon(), ""));
-- }
-- }
- return result;
- }
-
-diff -up chromium-156.0.8078.35/chrome/browser/glic/host/glic_skills_manager_impl.cc.disable-ai chromium-156.0.8078.35/chrome/browser/glic/host/glic_skills_manager_impl.cc
---- chromium-156.0.8078.35/chrome/browser/glic/host/glic_skills_manager_impl.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/glic/host/glic_skills_manager_impl.cc 2026-10-20 17:09:47.124113166 +0200
+--- a/chrome/browser/glic/host/glic_skills_manager_impl.cc
++++ b/chrome/browser/glic/host/glic_skills_manager_impl.cc
@@ -504,39 +504,6 @@ bool GlicSkillsClientSession::Require1PS
void GlicSkillsClientSession::UpdateSkillPreviews(
@@ -419,114 +365,50 @@ diff -up chromium-156.0.8078.35/chrome/browser/glic/host/glic_skills_manager_imp
}
void GlicSkillsClientSession::NotifyContextualSkillsChanged(
-diff -up chromium-156.0.8078.35/chrome/browser/navigation_predictor/navigation_predictor.cc.disable-ai chromium-156.0.8078.35/chrome/browser/navigation_predictor/navigation_predictor.cc
---- chromium-156.0.8078.35/chrome/browser/navigation_predictor/navigation_predictor.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/navigation_predictor/navigation_predictor.cc 2026-10-20 17:09:47.124547431 +0200
-@@ -18,8 +18,6 @@
- #include "base/time/default_tick_clock.h"
- #include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service.h"
- #include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h"
--#include "chrome/browser/navigation_predictor/preloading_model_keyed_service.h"
--#include "chrome/browser/navigation_predictor/preloading_model_keyed_service_factory.h"
- #include "chrome/browser/preloading/preloading_prefs.h"
+--- a/chrome/browser/navigation_predictor/navigation_predictor.cc
++++ b/chrome/browser/navigation_predictor/navigation_predictor.cc
+@@ -15,8 +15,6 @@
+ #include "base/metrics/field_trial_params.h"
+ #include "base/rand_util.h"
+ #include "base/system/sys_info.h"
+-#include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service.h"
+-#include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/no_state_prefetch/browser/no_state_prefetch_manager.h"
-@@ -105,10 +103,6 @@ base::TimeDelta MLModelExecutionTimerSta
- blink::features::kPreloadingModelTimerStartDelay.Get());
- }
-
--base::TimeDelta MLModelExecutionTimerInterval() {
-- return base::Milliseconds(
-- blink::features::kPreloadingModelTimerInterval.Get());
--}
-
- base::TimeDelta MLModelMaxHoverTime() {
- return blink::features::kPreloadingModelMaxHoverTime.Get();
-@@ -415,80 +409,6 @@ void NavigationPredictor::ProcessPointer
- }
+ #include "content/public/browser/navigation_handle.h"
+@@ -276,21 +274,6 @@ void NavigationPredictor::ReportNewAncho
+ anchors_.erase(anchor_id);
+ }
- void NavigationPredictor::OnMLModelExecutionTimerFired() {
-- // Check whether preloading is enabled or not.
-- Profile* profile =
-- Profile::FromBrowserContext(render_frame_host().GetBrowserContext());
-- if (prefetch::IsSomePreloadingEnabled(*profile->GetPrefs()) !=
-- content::PreloadingEligibility::kEligible) {
-- return;
-- }
--
-- // Execute the model.
-- PreloadingModelKeyedService* model_service =
-- PreloadingModelKeyedServiceFactory::GetForProfile(profile);
-- if (!model_service) {
-- return;
-- }
--
-- if (!ml_model_candidate_.has_value()) {
-- return;
-- }
-- auto it = anchors_.find(ml_model_candidate_.value());
-- if (it == anchors_.end()) {
-- return;
-- }
--
-- AnchorElementData& anchor = it->second;
+- if (!new_predictions.empty() && MaySendTraffic()) {
+- NavigationPredictorKeyedService* service =
+- NavigationPredictorKeyedServiceFactory::GetForProfile(
+- Profile::FromBrowserContext(
+- render_frame_host().GetBrowserContext()));
+- CHECK(service, base::NotFatalUntil::M161);
+- content::WebContents* web_contents =
+- content::WebContents::FromRenderFrameHost(&render_frame_host());
-
-- PreloadingModelKeyedService::Inputs inputs;
-- inputs.contains_image = anchor.contains_image;
-- inputs.font_size = anchor.font_size;
-- inputs.has_text_sibling = anchor.has_text_sibling;
-- inputs.is_bold = anchor.is_bold_font;
-- inputs.is_in_iframe = anchor.is_in_iframe;
-- inputs.is_url_incremented_by_one = anchor.is_url_incremented_by_one;
-- inputs.navigation_start_to_link_logged =
-- anchor.first_report_timestamp - navigation_start_;
-- auto path_info = GetUrlPathLengthDepthAndHash(anchor.target_url);
-- inputs.path_length = path_info.path_length;
-- inputs.path_depth = path_info.path_depth;
-- inputs.percent_clickable_area = anchor.ratio_area;
-- inputs.percent_vertical_distance =
-- static_cast<int>(anchor.ratio_distance_root_top * 100);
--
-- inputs.is_same_host = anchor.is_same_host;
-- auto to_timedelta = [this](std::optional<base::TimeTicks> ts) {
-- return ts.has_value() ? NowTicks() - ts.value() : base::TimeDelta();
-- };
-- // TODO(329691634): Using the real viewport entry time for
-- // `entered_viewport_to_left_viewport` produces low quality results.
-- // We could remove it from the model, if we can't get this to be useful.
-- inputs.entered_viewport_to_left_viewport = base::TimeDelta();
-- inputs.hover_dwell_time = to_timedelta(anchor.pointer_over_timestamp);
-- inputs.pointer_hovering_over_count = anchor.pointer_hovering_over_count;
-- if (model_score_callback_) {
-- std::move(model_score_callback_).Run(inputs);
-- }
--
-- content::PreloadingData* preloading_data =
-- content::PreloadingData::GetOrCreateForWebContents(
-- content::WebContents::FromRenderFrameHost(&render_frame_host()));
-- preloading_data->OnPreloadingHeuristicsModelInput(
-- anchor.target_url,
-- base::BindOnce(&RecordMetricsForModelTraining, inputs,
-- render_frame_host().GetPageUkmSourceId()));
-- model_service->Score(
-- &scoring_model_task_tracker_, inputs,
-- base::BindOnce(&NavigationPredictor::OnPreloadingHeuristicsModelDone,
-- weak_ptr_factory_.GetWeakPtr(), anchor.target_url));
--
-- if (inputs.hover_dwell_time < MLModelMaxHoverTime() &&
-- !ml_model_execution_timer_.IsRunning()) {
-- ml_model_execution_timer_.Start(
-- FROM_HERE, MLModelExecutionTimerInterval(),
-- base::BindOnce(&NavigationPredictor::OnMLModelExecutionTimerFired,
-- base::Unretained(this)));
+- service->OnPredictionUpdated(
+- web_contents, document_url,
+- NavigationPredictorKeyedService::PredictionSource::
+- kAnchorElementsParsedFromWebPage,
+- new_predictions);
- }
}
- void NavigationPredictor::SetModelScoreCallbackForTesting(
-diff -up chromium-156.0.8078.35/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc.disable-ai chromium-156.0.8078.35/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc
---- chromium-156.0.8078.35/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc 2026-10-20 17:09:47.124907010 +0200
-@@ -120,62 +120,6 @@ PageContentAnnotationsServiceFactory::~P
+ // static
+--- a/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc
++++ b/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc
+@@ -62,6 +62,7 @@ bool IsEphemeralProfile(Profile* profile
+ return entry && entry->IsEphemeral();
+ }
+
++[[maybe_unused]]
+ bool ShouldEnablePageContentAnnotations(Profile* profile) {
+ if (IsRunningInAppMode()) {
+ // The annotations we provide cannot provide any benefit to users in kiosk
+@@ -120,62 +121,6 @@ PageContentAnnotationsServiceFactory::~P
std::unique_ptr<KeyedService>
PageContentAnnotationsServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const {
@@ -589,9 +471,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/page_content_annotations/page_con
return nullptr;
}
-diff -up chromium-156.0.8078.35/chrome/browser/password_manager/password_change_delegate_impl.cc.disable-ai chromium-156.0.8078.35/chrome/browser/password_manager/password_change_delegate_impl.cc
---- chromium-156.0.8078.35/chrome/browser/password_manager/password_change_delegate_impl.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/password_manager/password_change_delegate_impl.cc 2026-10-20 17:09:47.125266785 +0200
+--- a/chrome/browser/password_manager/password_change_delegate_impl.cc
++++ b/chrome/browser/password_manager/password_change_delegate_impl.cc
@@ -342,12 +342,6 @@ void PasswordChangeDelegateImpl::StartPa
&PasswordChangeDelegateImpl::OnLoginStateCheckedWithoutPIResult,
weak_ptr_factory_.GetWeakPtr()));
@@ -605,23 +486,23 @@ diff -up chromium-156.0.8078.35/chrome/browser/password_manager/password_change_
}
void PasswordChangeDelegateImpl::OnLoginStateCheckedWithoutPIResult(
-diff -up chromium-156.0.8078.35/chrome/browser/pdf/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/pdf/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/pdf/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/pdf/BUILD.gn 2026-10-20 17:09:47.125608663 +0200
-@@ -251,10 +251,7 @@ if (!is_android) {
+--- a/chrome/browser/pdf/BUILD.gn
++++ b/chrome/browser/pdf/BUILD.gn
+@@ -250,12 +250,9 @@ if (!is_android) {
deps += [
"//chrome/browser/download:test_support",
"//chrome/browser/permissions",
- "//chrome/browser/screen_ai:screen_ai_install_state",
- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
"//chrome/browser/ui:browser_manager_service",
+ "//chrome/common/extensions/api",
+ "//extensions/browser:test_support",
- "//services/screen_ai/public/cpp:utilities",
"//ui/accessibility:test_support",
]
-diff -up chromium-156.0.8078.35/chrome/browser/pdf/pdf_extension_util.cc.disable-ai chromium-156.0.8078.35/chrome/browser/pdf/pdf_extension_util.cc
---- chromium-156.0.8078.35/chrome/browser/pdf/pdf_extension_util.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/pdf/pdf_extension_util.cc 2026-10-20 17:09:47.125931368 +0200
+--- a/chrome/browser/pdf/pdf_extension_util.cc
++++ b/chrome/browser/pdf/pdf_extension_util.cc
@@ -142,7 +142,6 @@ base::DictValue GetPdfViewerStrings() {
{"rotationStateLabel90", IDS_PDF_ROTATION_STATE_LABEL_90},
{"rotationStateLabel180", IDS_PDF_ROTATION_STATE_LABEL_180},
@@ -630,9 +511,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/pdf/pdf_extension_util.cc.disable
{"sidebarLabel", IDS_PDF_SIDEBAR_LABEL},
{"thumbnailPageAriaLabel", IDS_PDF_THUMBNAIL_PAGE_ARIA_LABEL},
{"tooltipAttachments", IDS_PDF_TOOLTIP_ATTACHMENTS},
-diff -up chromium-156.0.8078.35/chrome/browser/permissions/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/permissions/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/permissions/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/permissions/BUILD.gn 2026-10-20 17:09:47.126341654 +0200
+--- a/chrome/browser/permissions/BUILD.gn
++++ b/chrome/browser/permissions/BUILD.gn
@@ -45,12 +45,6 @@ source_set("permissions") {
"prediction_service/language_detection_observer.h",
"prediction_service/passage_embedder_delegate.cc",
@@ -646,9 +526,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/permissions/BUILD.gn.disable-ai c
"prediction_service/prediction_service_factory.cc",
"prediction_service/prediction_service_factory.h",
"prediction_service/prediction_service_request.cc",
-diff -up chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_client.cc.disable-ai chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_client.cc
---- chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_client.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_client.cc 2026-10-20 17:09:47.126790464 +0200
+--- a/chrome/browser/permissions/chrome_permissions_client.cc
++++ b/chrome/browser/permissions/chrome_permissions_client.cc
@@ -32,7 +32,6 @@
#include "chrome/browser/permissions/permission_actions_history_factory.h"
#include "chrome/browser/permissions/permission_decision_auto_blocker_factory.h"
@@ -657,7 +536,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_cl
#include "chrome/browser/permissions/pref_based_quiet_permission_ui_selector.h"
#include "chrome/browser/permissions/quiet_notification_permission_ui_config.h"
#include "chrome/browser/permissions/system/system_permission_settings.h"
-@@ -554,8 +553,6 @@ ChromePermissionsClient::CreatePermissio
+@@ -556,8 +555,6 @@ ChromePermissionsClient::CreatePermissio
#endif
selectors.emplace_back(std::make_unique<PrefBasedQuietPermissionUiSelector>(
Profile::FromBrowserContext(browser_context)));
@@ -666,7 +545,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_cl
return selectors;
}
-@@ -577,8 +574,6 @@ void ChromePermissionsClient::OnPromptRe
+@@ -579,8 +576,6 @@ void ChromePermissionsClient::OnPromptRe
Profile* profile =
Profile::FromBrowserContext(web_contents->GetBrowserContext());
@@ -675,9 +554,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_cl
if (request_type == permissions::RequestType::kNotifications) {
if (action == permissions::PermissionAction::GRANTED &&
-diff -up chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc.disable-ai chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc
---- chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc 2026-10-20 17:09:47.127337631 +0200
+--- a/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc
++++ b/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc
@@ -26,18 +26,6 @@ PassageEmbedderDelegate::PassageEmbedder
: profile_(profile) {}
@@ -697,9 +575,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/pa
PermissionUmaUtil::RecordPassageEmbedderMetadataValid(false);
return nullptr;
}
-diff -up chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc.disable-ai chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc
---- chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc 2026-10-20 17:09:47.127753162 +0200
+--- a/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc
++++ b/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc
@@ -810,7 +810,7 @@ void PermissionsAiUiSelector::ExecuteOnD
ModelExecutionData model_data) {
VLOG(1) << "[PermissionsAI] ExecuteOnDeviceAivXModel";
@@ -709,10 +586,19 @@ diff -up chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/pe
if (prediction_model_handler_provider) {
permissions::RequestType request_type =
model_data.request_metadata.request_type;
-diff -up chromium-156.0.8078.35/chrome/browser/prefs/browser_prefs.cc.disable-ai chromium-156.0.8078.35/chrome/browser/prefs/browser_prefs.cc
---- chromium-156.0.8078.35/chrome/browser/prefs/browser_prefs.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/prefs/browser_prefs.cc 2026-10-20 17:09:47.129034282 +0200
-@@ -1788,9 +1788,6 @@ void RegisterLocalState(PrefRegistrySimp
+--- a/chrome/browser/prefs/BUILD.gn
++++ b/chrome/browser/prefs/BUILD.gn
+@@ -396,7 +396,6 @@ source_set("impl") {
+ "//chrome/browser/desktop_to_mobile_promos:utils",
+ "//chrome/browser/device_identity",
+ "//chrome/browser/new_tab_page",
+- "//chrome/browser/screen_ai:prefs",
+ "//chrome/browser/search_engine_choice",
+ "//chrome/browser/search_engines",
+ "//chrome/browser/sharing_hub",
+--- a/chrome/browser/prefs/browser_prefs.cc
++++ b/chrome/browser/prefs/browser_prefs.cc
+@@ -1927,9 +1927,6 @@ void RegisterLocalState(PrefRegistrySimp
DeviceOAuth2TokenStoreDesktop::RegisterPrefs(registry);
#endif
@@ -722,21 +608,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/prefs/browser_prefs.cc.disable-ai
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_ANDROID)
PlatformAuthPolicyObserver::RegisterPrefs(registry);
-diff -up chromium-156.0.8078.35/chrome/browser/prefs/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/prefs/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/prefs/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/prefs/BUILD.gn 2026-10-20 17:09:47.128291911 +0200
-@@ -389,7 +389,6 @@ source_set("impl") {
- "//chrome/browser/desktop_to_mobile_promos:utils",
- "//chrome/browser/device_identity",
- "//chrome/browser/new_tab_page",
-- "//chrome/browser/screen_ai:prefs",
- "//chrome/browser/search_engine_choice",
- "//chrome/browser/search_engines",
- "//chrome/browser/sharing_hub",
-diff -up chromium-156.0.8078.35/chrome/browser/profiles/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/profiles/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/profiles/BUILD.gn.disable-ai 2026-10-20 17:09:46.920803931 +0200
-+++ chromium-156.0.8078.35/chrome/browser/profiles/BUILD.gn 2026-10-20 17:09:47.129488889 +0200
-@@ -915,7 +915,6 @@ source_set("profiles_extra_parts_impl")
+--- a/chrome/browser/profiles/BUILD.gn
++++ b/chrome/browser/profiles/BUILD.gn
+@@ -933,7 +933,6 @@ source_set("profiles_extra_parts_impl")
} else {
deps += [
"//chrome/browser/accessibility/phrase_segmentation",
@@ -744,7 +618,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/profiles/BUILD.gn.disable-ai chro
"//chrome/browser/apps/app_service",
"//chrome/browser/autofill",
"//chrome/browser/badging",
-@@ -930,7 +929,6 @@ source_set("profiles_extra_parts_impl")
+@@ -947,7 +946,6 @@ source_set("profiles_extra_parts_impl")
"//chrome/browser/profile_resetter",
"//chrome/browser/record_replay",
"//chrome/browser/record_replay:impl",
@@ -752,34 +626,17 @@ diff -up chromium-156.0.8078.35/chrome/browser/profiles/BUILD.gn.disable-ai chro
"//chrome/browser/search",
"//chrome/browser/search_engine_choice",
"//chrome/browser/sharing_hub",
-diff -up chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.disable-ai chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
---- chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.disable-ai 2026-10-20 17:09:46.921544684 +0200
-+++ chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc 2026-10-20 17:09:47.132022027 +0200
-@@ -134,7 +134,6 @@
- #include "chrome/browser/metrics/profile_metrics_service_factory.h"
- #include "chrome/browser/metrics/variations/google_groups_manager_factory.h"
- #include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h"
--#include "chrome/browser/navigation_predictor/preloading_model_keyed_service_factory.h"
- #include "chrome/browser/navigation_predictor/search_engine_preconnector.h"
- #include "chrome/browser/navigation_predictor/search_engine_preconnector_keyed_service_factory.h"
- #include "chrome/browser/net/dns_probe_service_factory.h"
-@@ -395,7 +394,6 @@
+--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
++++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+@@ -396,7 +396,6 @@
#include "chrome/browser/record_replay/task_parameters_extractor_factory.h"
#include "chrome/browser/record_replay/task_service_factory.h"
#include "chrome/browser/record_replay/task_store_factory.h"
-#include "chrome/browser/screen_ai/screen_ai_service_router_factory.h"
- #include "chrome/browser/search/instant_service_factory.h"
#include "chrome/browser/search_engine_choice/search_engine_choice_dialog_service_factory.h"
#include "chrome/browser/speech/speech_recognition_client_browser_interface_factory.h"
-@@ -1185,7 +1183,6 @@ void ChromeBrowserMainExtraPartsProfiles
- #if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI)
- net::ServerCertificateDatabaseServiceFactory::GetInstance();
- #endif
-- PreloadingModelKeyedServiceFactory::GetInstance();
- #if BUILDFLAG(ENABLE_DICE_SUPPORT)
- HistorySyncOptinServiceFactory::GetInstance();
- ProfileManagementDisclaimerServiceFactory::GetInstance();
-@@ -1248,9 +1245,6 @@ void ChromeBrowserMainExtraPartsProfiles
+ #include "chrome/browser/speech/speech_recognition_service_factory.h"
+@@ -1230,9 +1229,6 @@ void ChromeBrowserMainExtraPartsProfiles
// TODO(b/502297163): Implement for Android.
OneTimePermissionsTrackerFactory::GetInstance();
#endif
@@ -789,7 +646,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extr
OptimizationGuideGlobalStateHolderKeyedServiceFactory::GetInstance();
OptimizationGuideKeyedServiceFactory::GetInstance();
origin_gating::OriginGatingServiceFactory::GetInstance();
-@@ -1348,7 +1342,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1328,7 +1324,6 @@ void ChromeBrowserMainExtraPartsProfiles
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
policy::UserPolicyOidcSigninServiceFactory::GetInstance();
#endif
@@ -797,7 +654,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extr
PredictionServiceFactory::GetInstance();
predictors::AutocompleteActionPredictorFactory::GetInstance();
predictors::LoadingPredictorFactory::GetInstance();
-@@ -1431,10 +1424,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1412,10 +1407,6 @@ void ChromeBrowserMainExtraPartsProfiles
SafetyHubMenuNotificationServiceFactory::GetInstance();
#if !BUILDFLAG(IS_ANDROID)
SafetyHubHatsServiceFactory::GetInstance();
@@ -808,7 +665,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extr
#endif
#if BUILDFLAG(IS_CHROMEOS)
if (ash::features::IsScannerEnabled()) {
-@@ -1558,7 +1547,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1539,7 +1530,6 @@ void ChromeBrowserMainExtraPartsProfiles
TopSitesFactory::GetInstance();
translate::TranslateRankerFactory::GetInstance();
#if !BUILDFLAG(IS_ANDROID)
@@ -816,10 +673,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extr
TriggeredProfileResetterFactory::GetInstance();
#endif
ttc::TtcKeyedServiceFactory::GetInstance();
-diff -up chromium-156.0.8078.35/chrome/browser/profiles/off_the_record_profile_impl.cc.disable-ai chromium-156.0.8078.35/chrome/browser/profiles/off_the_record_profile_impl.cc
---- chromium-156.0.8078.35/chrome/browser/profiles/off_the_record_profile_impl.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/profiles/off_the_record_profile_impl.cc 2026-10-20 17:09:47.132825618 +0200
-@@ -229,11 +229,6 @@ void OffTheRecordProfileImpl::Init() {
+--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
++++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
+@@ -240,11 +240,6 @@ void OffTheRecordProfileImpl::Init() {
// AccessibilityLabelsService has a default prefs behavior in incognito.
AccessibilityLabelsService::InitOffTheRecordPrefs(this);
@@ -831,10 +687,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/profiles/off_the_record_profile_i
// The ad service might not be available for some irregular profiles, like the
// System Profile.
-diff -up chromium-156.0.8078.35/chrome/browser/profiles/profile_impl.cc.disable-ai chromium-156.0.8078.35/chrome/browser/profiles/profile_impl.cc
---- chromium-156.0.8078.35/chrome/browser/profiles/profile_impl.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/profiles/profile_impl.cc 2026-10-20 17:09:47.133708564 +0200
-@@ -923,11 +923,6 @@ void ProfileImpl::DoFinalInit(CreateMode
+--- a/chrome/browser/profiles/profile_impl.cc
++++ b/chrome/browser/profiles/profile_impl.cc
+@@ -928,33 +928,8 @@ void ProfileImpl::DoFinalInit(CreateMode
// The password settings service needs to start listening to settings
// changes from Google Mobile Services, as early as possible.
PasswordManagerSettingsServiceFactory::GetForProfile(this);
@@ -845,32 +700,32 @@ diff -up chromium-156.0.8078.35/chrome/browser/profiles/profile_impl.cc.disable-
- }
#endif // BUILDFLAG(IS_ANDROID)
+- if (features::IsLazyOptimizationGuideModelsEnabled() && IsRegularProfile()) {
+- // Warm up Optimization Guide model services after startup so that model
+- // observers register and downloads start soon after startup, without
+- // blocking profile creation. Guest and OTR profiles skip this warmup on
+- // purpose so these services are created on first use there.
+- AfterStartupTaskUtils::PostTask(
+- FROM_HERE, content::GetUIThreadTaskRunner({}),
+- base::BindOnce(
+- [](base::WeakPtr<Profile> profile) {
+- if (!profile || profile->ShutdownStarted()) {
+- return;
+- }
+- AutocompleteScoringModelServiceFactory::GetForProfile(
+- profile.get());
+- OnDeviceTailModelServiceFactory::GetForProfile(profile.get());
+- PredictionModelHandlerProviderFactory::GetForBrowserContext(
+- profile.get());
+- },
+- GetWeakPtr()));
+- }
+
// The announcement notification service might not be available for some
-diff -up chromium-156.0.8078.35/chrome/browser/profiles/profile_manager.cc.disable-ai chromium-156.0.8078.35/chrome/browser/profiles/profile_manager.cc
---- chromium-156.0.8078.35/chrome/browser/profiles/profile_manager.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/profiles/profile_manager.cc 2026-10-20 17:09:47.134733395 +0200
-@@ -51,7 +51,6 @@
- #include "chrome/browser/buildflags.h"
- #include "chrome/browser/lifetime/application_lifetime.h"
- #include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h"
--#include "chrome/browser/navigation_predictor/preloading_model_keyed_service_factory.h"
- #include "chrome/browser/prefs/incognito_mode_prefs.h"
- #include "chrome/browser/profiles/delete_profile_helper.h"
- #include "chrome/browser/profiles/keep_alive/profile_keep_alive_types.h"
-@@ -1603,9 +1602,6 @@ void ProfileManager::DoFinalInitForServi
- // Ensure NavigationPredictorKeyedService is started.
- NavigationPredictorKeyedServiceFactory::GetForProfile(profile);
-
-- // Ensure PreloadingModelKeyedService is started.
-- PreloadingModelKeyedServiceFactory::GetForProfile(profile);
--
- IdentityManagerFactory::GetForProfile(profile)->OnNetworkInitialized();
- AccountReconcilorFactory::GetForProfile(profile);
- #if BUILDFLAG(IS_ANDROID)
-diff -up chromium-156.0.8078.35/chrome/browser/resources/pdf/pdf_viewer.html.disable-ai chromium-156.0.8078.35/chrome/browser/resources/pdf/pdf_viewer.html
---- chromium-156.0.8078.35/chrome/browser/resources/pdf/pdf_viewer.html.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/resources/pdf/pdf_viewer.html 2026-10-20 17:09:47.136247873 +0200
-@@ -102,10 +102,6 @@ import {AnnotationMode} from './constant
+ // irregular profiles, like the System Profile.
+--- a/chrome/browser/resources/pdf/pdf_viewer.html
++++ b/chrome/browser/resources/pdf/pdf_viewer.html
+@@ -103,10 +103,6 @@ import {AnnotationMode} from './constant
</cr-page-selector>
` : ''}
</if>
@@ -881,9 +736,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/resources/pdf/pdf_viewer.html.dis
</div>
${this.showErrorDialog ? html`<viewer-error-dialog id="error-dialog">
-diff -up chromium-156.0.8078.35/chrome/browser/skills/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/skills/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/skills/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/skills/BUILD.gn 2026-10-20 17:09:47.136620563 +0200
+--- a/chrome/browser/skills/BUILD.gn
++++ b/chrome/browser/skills/BUILD.gn
@@ -62,13 +62,9 @@ source_set("public") {
source_set("ui") {
sources = [
@@ -898,9 +752,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/skills/BUILD.gn.disable-ai chromi
"skills_ui_window_controller.cc",
]
}
-diff -up chromium-156.0.8078.35/chrome/browser/speech/chrome_speech_recognition_service.cc.disable-ai chromium-156.0.8078.35/chrome/browser/speech/chrome_speech_recognition_service.cc
---- chromium-156.0.8078.35/chrome/browser/speech/chrome_speech_recognition_service.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/speech/chrome_speech_recognition_service.cc 2026-10-20 17:09:47.137036664 +0200
+--- a/chrome/browser/speech/chrome_speech_recognition_service.cc
++++ b/chrome/browser/speech/chrome_speech_recognition_service.cc
@@ -59,18 +59,6 @@ ChromeSpeechRecognitionService::ChromeSp
soda_installer_observer_.Observe(soda_installer);
}
@@ -963,9 +816,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/speech/chrome_speech_recognition_
BindSodaRecognizer(std::move(receiver), std::move(client), std::move(options),
std::move(callback));
-diff -up chromium-156.0.8078.35/chrome/browser/speech/speech_recognition_client_browser_interface.cc.disable-ai chromium-156.0.8078.35/chrome/browser/speech/speech_recognition_client_browser_interface.cc
---- chromium-156.0.8078.35/chrome/browser/speech/speech_recognition_client_browser_interface.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/speech/speech_recognition_client_browser_interface.cc 2026-10-20 17:09:47.137351352 +0200
+--- a/chrome/browser/speech/speech_recognition_client_browser_interface.cc
++++ b/chrome/browser/speech/speech_recognition_client_browser_interface.cc
@@ -67,15 +67,6 @@ SpeechRecognitionClientBrowserInterface:
if (speech::SodaInstaller::GetInstance()) {
soda_installer_observation_.Observe(speech::SodaInstaller::GetInstance());
@@ -1034,28 +886,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/speech/speech_recognition_client_
} else {
if (speech::SodaInstaller::GetInstance()) {
is_installed = speech::SodaInstaller::GetInstance()->IsSodaInstalled(
-diff -up chromium-156.0.8078.35/chrome/browser/ui/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/ui/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/ui/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/BUILD.gn 2026-10-20 17:09:47.138284584 +0200
-@@ -2438,7 +2438,6 @@ static_library("ui") {
- "//chrome/browser/lens/region_search",
- "//chrome/browser/reading_list",
- "//chrome/browser/safe_browsing",
-- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
- "//chrome/browser/smart_card",
- "//chrome/browser/support_tool",
- "//chrome/browser/tab_group_sync:utils",
-@@ -3934,7 +3933,6 @@ static_library("ui") {
- "//chrome/browser/ui/views/zoom",
- "//chrome/browser/ui/webauthn:impl",
- "//chrome/browser/ui/webui/app_service_internals",
-- "//chrome/browser/ui/webui/autofill_ml_internals",
- "//chrome/browser/ui/webui/side_panel/customize_chrome",
- "//chrome/browser/ui/window_metadata",
- "//chrome/browser/ui/window_name_prompt",
-diff -up chromium-156.0.8078.35/chrome/browser/ui/pdf/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/ui/pdf/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/ui/pdf/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/pdf/BUILD.gn 2026-10-20 17:09:47.138822519 +0200
+--- a/chrome/browser/ui/pdf/BUILD.gn
++++ b/chrome/browser/ui/pdf/BUILD.gn
@@ -6,7 +6,6 @@ import("//pdf/features.gni")
import("//services/screen_ai/buildflags/features.gni")
@@ -1072,10 +904,17 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/pdf/BUILD.gn.disable-ai chromi
"//chrome/browser/ui/tab_contents",
"//chrome/browser/ui/user_education",
"//chrome/common",
-diff -up chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc
---- chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc 2026-10-20 17:09:47.139120273 +0200
-@@ -229,22 +229,3 @@ void ChromePDFDocumentHelperClient::SetP
+--- a/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc
++++ b/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc
+@@ -88,6 +88,7 @@ bool MaybeShowFeaturePromo(const base::F
+ return true;
+ }
+
++[[maybe_unused]]
+ void MaybeHideSearchifyFeaturePromo(tabs::TabInterface* tab_interface) {
+ auto* user_education_interface = BrowserUserEducationInterface::From(
+ tab_interface->GetBrowserWindowInterface());
+@@ -229,22 +230,3 @@ void ChromePDFDocumentHelperClient::SetP
}
}
@@ -1098,9 +937,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper
- tab_subscriptions_.push_back(tab->RegisterWillDeactivate(
- base::BindRepeating(&MaybeHideSearchifyFeaturePromo)));
-}
-diff -up chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h.disable-ai chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h
---- chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h 2026-10-20 17:09:47.139286624 +0200
+--- a/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h
++++ b/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h
@@ -32,7 +32,6 @@ class ChromePDFDocumentHelperClient : pu
void OnSaveURL() override;
void SetPluginCanSave(content::RenderFrameHost& render_frame_host,
@@ -1109,10 +947,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper
void OnPdfTextExtracted(content::GlobalRenderFrameHostId render_frame_host_id,
const std::u16string& text);
-diff -up chromium-156.0.8078.35/chrome/browser/ui/tabs/public/tab_features.h.disable-ai chromium-156.0.8078.35/chrome/browser/ui/tabs/public/tab_features.h
---- chromium-156.0.8078.35/chrome/browser/ui/tabs/public/tab_features.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/tabs/public/tab_features.h 2026-10-20 17:09:47.139705738 +0200
-@@ -220,12 +220,6 @@ namespace web_app {
+--- a/chrome/browser/ui/tabs/public/tab_features.h
++++ b/chrome/browser/ui/tabs/public/tab_features.h
+@@ -274,12 +274,6 @@ namespace web_app {
class WindowManagementContentSettingObserver;
} // namespace web_app
@@ -1125,9 +962,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/tabs/public/tab_features.h.dis
namespace sync_sessions {
class SyncSessionsRouterTabHelper;
} // namespace sync_sessions
-@@ -779,10 +773,6 @@ class TabFeatures {
- std::unique_ptr<contextual_tasks::ContextualTasksTabVisitTracker>
- contextual_tasks_tab_visit_tracker_;
+@@ -870,10 +864,6 @@ class TabFeatures {
+ std::unique_ptr<contextual_tasks::SearchJourneyTabFeature>
+ search_journey_tab_feature_;
-#if !BUILDFLAG(IS_ANDROID)
- std::unique_ptr<skills::SkillsUpdateObserver> skills_update_observer_;
@@ -1136,10 +973,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/tabs/public/tab_features.h.dis
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
std::unique_ptr<metrics::DesktopSessionDurationObserver>
desktop_session_duration_observer_;
-diff -up chromium-156.0.8078.35/chrome/browser/ui/tabs/tab_features.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/tabs/tab_features.cc
---- chromium-156.0.8078.35/chrome/browser/ui/tabs/tab_features.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/tabs/tab_features.cc 2026-10-20 17:09:47.140387632 +0200
-@@ -506,11 +506,6 @@ void TabFeatures::Init(TabInterface& tab
+--- a/chrome/browser/ui/tabs/tab_features.cc
++++ b/chrome/browser/ui/tabs/tab_features.cc
+@@ -715,11 +715,6 @@ void TabFeatures::Init(TabInterface& tab
GetUserDataFactory().CreateInstance<actor::ui::ActorUiTabController>(
tab, tab, actor::ActorKeyedService::Get(profile));
}
@@ -1151,7 +987,7 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/tabs/tab_features.cc.disable-a
} // IsInNormalWindow() end.
if (base::FeatureList::IsEnabled(features::kGlicActor)) {
-@@ -814,10 +809,6 @@ void TabFeatures::Init(TabInterface& tab
+@@ -1056,10 +1051,6 @@ void TabFeatures::Init(TabInterface& tab
}
#endif
@@ -1162,10 +998,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/tabs/tab_features.cc.disable-a
if (base::FeatureList::IsEnabled(features::kIndigo)) {
indigo_page_action_controller_ =
std::make_unique<indigo::IndigoPageActionController>(
-diff -up chromium-156.0.8078.35/chrome/browser/ui/views/user_education/browser_user_education_service.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/views/user_education/browser_user_education_service.cc
---- chromium-156.0.8078.35/chrome/browser/ui/views/user_education/browser_user_education_service.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/views/user_education/browser_user_education_service.cc 2026-10-20 17:09:47.141124695 +0200
-@@ -1082,40 +1082,6 @@ void MaybeRegisterChromeFeaturePromos(
+--- a/chrome/browser/ui/views/user_education/browser_user_education_service.cc
++++ b/chrome/browser/ui/views/user_education/browser_user_education_service.cc
+@@ -1149,40 +1149,6 @@ void MaybeRegisterChromeFeaturePromos(
"Triggered when the PDF Viewer opens.")));
#endif // BUILDFLAG(ENABLE_PDF_INK2)
@@ -1206,21 +1041,19 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/views/user_education/browser_u
// kIPHLensOverlayFeature:
registry.RegisterFeature(std::move(
-diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/ui/webui/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/webui/BUILD.gn 2026-10-20 17:09:47.141678392 +0200
-@@ -114,7 +114,6 @@ source_set("configs") {
- "//chrome/browser/actor/ui:actor_overlay_web_view",
+--- a/chrome/browser/ui/webui/BUILD.gn
++++ b/chrome/browser/ui/webui/BUILD.gn
+@@ -116,7 +116,6 @@ source_set("configs") {
+ "//chrome/browser/ui/tabs/tab_group_home",
"//chrome/browser/ui/webui/access_code_cast",
"//chrome/browser/ui/webui/app_service_internals",
- "//chrome/browser/ui/webui/autofill_ml_internals",
"//chrome/browser/ui/webui/color_pipeline_internals",
+ "//chrome/browser/ui/webui/commerce",
"//chrome/browser/ui/webui/critical_actions",
- "//chrome/browser/ui/webui/infobar_internals",
-diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/chrome_web_ui_configs.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/chrome_web_ui_configs.cc
---- chromium-156.0.8078.35/chrome/browser/ui/webui/chrome_web_ui_configs.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/webui/chrome_web_ui_configs.cc 2026-10-20 17:09:47.142058709 +0200
-@@ -354,7 +354,6 @@ void RegisterChromeWebUIConfigs() {
+--- a/chrome/browser/ui/webui/chrome_web_ui_configs.cc
++++ b/chrome/browser/ui/webui/chrome_web_ui_configs.cc
+@@ -365,7 +365,6 @@ void RegisterChromeWebUIConfigs() {
map.AddWebUIConfig(std::make_unique<media_router::AccessCodeCastUIConfig>());
map.AddWebUIConfig(std::make_unique<actor::ui::ActorOverlayUIConfig>());
map.AddWebUIConfig(std::make_unique<AppServiceInternalsUIConfig>());
@@ -1228,9 +1061,26 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/chrome_web_ui_configs.cc
map.AddWebUIConfig(std::make_unique<BookmarksSidePanelUIConfig>());
map.AddWebUIConfig(std::make_unique<BookmarksUIConfig>());
map.AddWebUIConfig(std::make_unique<ColorPipelineInternalsUIConfig>());
-diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.cc
---- chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.cc 2026-10-20 17:09:47.142771034 +0200
+--- a/chrome/browser/ui/webui/settings/BUILD.gn
++++ b/chrome/browser/ui/webui/settings/BUILD.gn
+@@ -66,7 +66,6 @@ source_set("settings") {
+ "//chrome/browser/profile_resetter",
+ "//chrome/browser/profile_resetter:profile_reset_report_proto",
+ "//chrome/browser/profiles:profile",
+- "//chrome/browser/screen_ai:screen_ai_install_state",
+ "//chrome/browser/themes",
+ "//chrome/browser/ui/safety_hub",
+ "//chrome/browser/ui/search_engines",
+@@ -704,7 +703,6 @@ if (!is_android) {
+ ]
+ deps += [
+ "//chrome/browser/profiles",
+- "//chrome/browser/screen_ai:screen_ai_install_state",
+ "//ui/accessibility",
+ ]
+ }
+--- a/chrome/browser/ui/webui/settings/accessibility_main_handler.cc
++++ b/chrome/browser/ui/webui/settings/accessibility_main_handler.cc
@@ -35,11 +35,6 @@ void AccessibilityMainHandler::RegisterM
base::BindRepeating(
&AccessibilityMainHandler::HandleCheckAccessibilityImageLabels,
@@ -1295,9 +1145,8 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_m
}
void AccessibilityMainHandler::HandleGetScreenReaderState(
-diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.h.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.h
---- chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.h 2026-10-20 17:09:47.142925997 +0200
+--- a/chrome/browser/ui/webui/settings/accessibility_main_handler.h
++++ b/chrome/browser/ui/webui/settings/accessibility_main_handler.h
@@ -19,8 +19,7 @@ namespace settings {
// Settings handler for the main accessibility settings page,
// chrome://settings/accessibility.
@@ -1329,29 +1178,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_m
};
} // namespace settings
-diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/settings/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/settings/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/ui/webui/settings/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/webui/settings/BUILD.gn 2026-10-20 17:09:47.142455715 +0200
-@@ -62,7 +62,6 @@ source_set("settings") {
- "//chrome/browser/permissions/system",
- "//chrome/browser/profile_resetter",
- "//chrome/browser/profiles:profile",
-- "//chrome/browser/screen_ai:screen_ai_install_state",
- "//chrome/browser/themes",
- "//chrome/browser/ui/safety_hub",
- "//chrome/browser/ui/search_engines",
-@@ -680,7 +679,6 @@ if (!is_android) {
- ]
- deps += [
- "//chrome/browser/profiles",
-- "//chrome/browser/screen_ai:screen_ai_install_state",
- "//ui/accessibility",
- ]
- }
-diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn
---- chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn 2026-10-20 17:09:47.143104559 +0200
-@@ -36,7 +36,6 @@ source_set("read_anything") {
+--- a/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn
++++ b/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn
+@@ -39,7 +39,6 @@ source_set("read_anything") {
"//chrome/browser/profiles:profile",
"//chrome/browser/resources/side_panel/read_anything:resources",
"//chrome/browser/resources/side_panel/shared:resources_grit",
@@ -1359,10 +1188,9 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything
"//chrome/browser/speech",
"//chrome/browser/translate",
"//chrome/browser/ui:accelerator_table",
-diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc
---- chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc 2026-10-20 17:09:47.143582610 +0200
-@@ -19,8 +19,6 @@
+--- a/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc
++++ b/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc
+@@ -21,8 +21,6 @@
#include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
#include "chrome/browser/language/language_model_manager_factory.h"
#include "chrome/browser/profiles/profile.h"
@@ -1371,7 +1199,15 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything
#include "chrome/browser/speech/extension_api/tts_engine_extension_api.h"
#include "chrome/browser/translate/chrome_translate_client.h"
#include "chrome/browser/ui/read_anything/read_anything_controller.h"
-@@ -478,14 +476,6 @@ ReadAnythingUntrustedPageHandler::ReadAn
+@@ -436,7 +434,6 @@ ReadAnythingUntrustedPageHandler::ReadAn
+ web_ui_(web_ui),
+ receiver_(this, std::move(receiver)),
+ page_(std::move(page)),
+- use_screen_ai_service_(use_screen_ai_service),
+ #if BUILDFLAG(IS_CHROMEOS)
+ extension_wrapper_(std::move(extension_wrapper)),
+ #endif
+@@ -485,14 +482,6 @@ ReadAnythingUntrustedPageHandler::ReadAn
prefs_lang = language::ExtractBaseLanguage(prefs_lang);
SetDefaultLanguageCode(prefs_lang);
@@ -1386,10 +1222,19 @@ diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything
if (features::IsReadAnythingWithReadabilityEnabled() &&
!features::IsReadAnythingReadAloudPhraseHighlightingEnabled()) {
-diff -up chromium-156.0.8078.35/chrome/renderer/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/renderer/BUILD.gn
---- chromium-156.0.8078.35/chrome/renderer/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/renderer/BUILD.gn 2026-10-20 17:09:47.144053919 +0200
-@@ -346,8 +346,6 @@ static_library("renderer") {
+--- a/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.h
++++ b/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.h
+@@ -490,7 +490,6 @@ class ReadAnythingUntrustedPageHandler :
+ // The translation state last sent to the page, or nullopt if none has been
+ // sent yet.
+ std::optional<bool> last_sent_is_translated_;
+- const bool use_screen_ai_service_;
+
+ #if BUILDFLAG(IS_CHROMEOS)
+ // The ChromeOS language pack manager can't handle more than one language
+--- a/chrome/renderer/BUILD.gn
++++ b/chrome/renderer/BUILD.gn
+@@ -347,8 +347,6 @@ static_library("renderer") {
deps += [ "//chrome/common/wallet:mojo_bindings" ]
} else {
sources += [
@@ -1398,7 +1243,7 @@ diff -up chromium-156.0.8078.35/chrome/renderer/BUILD.gn.disable-ai chromium-156
"accessibility/phrase_segmentation/base_phrase_segmenter.cc",
"accessibility/phrase_segmentation/base_phrase_segmenter.h",
"accessibility/phrase_segmentation/dependency_parser_model.cc",
-@@ -364,23 +362,6 @@ static_library("renderer") {
+@@ -365,23 +363,6 @@ static_library("renderer") {
"accessibility/phrase_segmentation/tokenized_sentence.h",
"accessibility/phrase_segmentation/tokenizer.cc",
"accessibility/phrase_segmentation/tokenizer.h",
@@ -1422,7 +1267,7 @@ diff -up chromium-156.0.8078.35/chrome/renderer/BUILD.gn.disable-ai chromium-156
"media/chrome_speech_recognition_client.cc",
"media/chrome_speech_recognition_client.h",
"password_manager/remote_actor_credential_sharing_extension.cc",
-@@ -398,7 +379,6 @@ static_library("renderer") {
+@@ -394,7 +375,6 @@ static_library("renderer") {
"//components/record_replay/content/renderer",
"//components/trusted_vault",
"//services/screen_ai/buildflags",
@@ -1430,21 +1275,20 @@ diff -up chromium-156.0.8078.35/chrome/renderer/BUILD.gn.disable-ai chromium-156
"//services/strings",
"//third_party/re2",
"//third_party/tensorflow-text",
-diff -up chromium-156.0.8078.35/chrome/renderer/chrome_render_frame_observer.cc.disable-ai chromium-156.0.8078.35/chrome/renderer/chrome_render_frame_observer.cc
---- chromium-156.0.8078.35/chrome/renderer/chrome_render_frame_observer.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/renderer/chrome_render_frame_observer.cc 2026-10-20 17:09:47.144502641 +0200
-@@ -88,7 +88,6 @@
+--- a/chrome/renderer/chrome_render_frame_observer.cc
++++ b/chrome/renderer/chrome_render_frame_observer.cc
+@@ -89,7 +89,6 @@
#include "url/url_constants.h"
#if !BUILDFLAG(IS_ANDROID)
-#include "chrome/renderer/accessibility/read_anything/read_anything_app_controller.h"
- #include "chrome/renderer/searchbox/searchbox_extension.h"
#endif // !BUILDFLAG(IS_ANDROID)
-@@ -385,14 +384,6 @@ void ChromeRenderFrameObserver::DidClear
- SearchBoxExtension::Install(render_frame()->GetWebFrame());
- }
+ #if BUILDFLAG(SAFE_BROWSING_AVAILABLE)
+@@ -396,14 +395,6 @@ void ChromeRenderFrameObserver::DidClear
+ #endif
+ #if !BUILDFLAG(IS_ANDROID)
- // Install ReadAnythingAppController on render frames with the Read Anything
- // url, which is chrome-untrusted. ReadAnythingAppController installs v8
- // bindings in the chrome.readingMode namespace which are consumed by
@@ -1456,48 +1300,35 @@ diff -up chromium-156.0.8078.35/chrome/renderer/chrome_render_frame_observer.cc.
#endif // !BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(ENABLE_GUEST_VIEW) && !BUILDFLAG(ENABLE_EXTENSIONS_CORE)
guest_view::SlimWebViewBindings::MaybeInstall(*render_frame());
-diff -up chromium-156.0.8078.35/chrome/test/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/test/BUILD.gn
---- chromium-156.0.8078.35/chrome/test/BUILD.gn.disable-ai 2026-10-20 17:09:46.922795453 +0200
-+++ chromium-156.0.8078.35/chrome/test/BUILD.gn 2026-10-20 17:09:47.145277166 +0200
-@@ -1891,9 +1891,6 @@ if (!is_android) {
- "//chrome/browser/safe_browsing:blocking_page_platform_test_support",
+--- a/chrome/test/BUILD.gn
++++ b/chrome/test/BUILD.gn
+@@ -1463,7 +1463,6 @@ if (!is_android) {
+ "//chrome/browser/renderer_context_menu:browser_tests",
+ "//chrome/browser/renderer_host:browser_tests",
"//chrome/browser/safe_browsing:browser_tests",
- "//chrome/browser/safe_browsing:verdict_cache_manager_factory",
- "//chrome/browser/screen_ai:browser_tests",
-- "//chrome/browser/screen_ai:screen_ai_install_state",
-- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
- "//chrome/browser/search",
"//chrome/browser/search:browser_tests",
- "//chrome/browser/search:test_support",
-@@ -2537,8 +2534,6 @@ if (!is_android) {
- "//services/preferences/public/cpp",
- "//services/preferences/public/cpp/tracked",
- "//services/preferences/tracked:features",
-- "//services/screen_ai/public/cpp:utilities",
-- "//services/screen_ai/public/mojom",
- "//services/service_manager/public/cpp",
- "//services/strings",
- "//services/test/echo/public/mojom",
-@@ -6309,7 +6304,6 @@ test("unit_tests") {
+ "//chrome/browser/search_engines:browser_tests",
+ "//chrome/browser/send_tab_to_self:browser_tests",
+@@ -3390,7 +3389,6 @@ test("unit_tests") {
# TODO(crbug.com/417513088): Maybe merge with the non-android `deps`
# declaration above?
deps += [
- "../browser/screen_ai:screen_ai_install_state",
"//chrome:packed_resources",
- "//chrome/browser/apps/app_service",
- "//chrome/browser/apps/app_service:app_registry_cache_waiter",
-@@ -6348,7 +6342,6 @@ test("unit_tests") {
- "//chrome/browser/profile_resetter:fake_profile_resetter",
+ "//chrome/browser/apps/app_service:unit_tests",
+ "//chrome/browser/apps/app_service/app_icon:unit_tests",
+@@ -3405,7 +3403,6 @@ test("unit_tests") {
+ "//chrome/browser/omnibox:unit_tests",
"//chrome/browser/profile_resetter:unit_tests",
"//chrome/browser/resources/new_tab_page_instant:resources_grit",
- "//chrome/browser/screen_ai:unit_tests",
- "//chrome/browser/search/background",
"//chrome/browser/search_engine_choice:unit_tests",
"//chrome/browser/sensor:unit_tests",
-diff -up chromium-156.0.8078.35/chrome/utility/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/utility/BUILD.gn
---- chromium-156.0.8078.35/chrome/utility/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/utility/BUILD.gn 2026-10-20 17:09:47.146600184 +0200
-@@ -153,7 +153,6 @@ static_library("utility") {
+ "//chrome/browser/support_tool:unit_tests",
+--- a/chrome/utility/BUILD.gn
++++ b/chrome/utility/BUILD.gn
+@@ -150,7 +150,6 @@ static_library("utility") {
"//components/user_data_importer/content",
"//components/user_data_importer/utility:bookmarks",
"//services/proxy_resolver:lib",
@@ -1505,9 +1336,8 @@ diff -up chromium-156.0.8078.35/chrome/utility/BUILD.gn.disable-ai chromium-156.
]
}
-diff -up chromium-156.0.8078.35/chrome/utility/services.cc.disable-ai chromium-156.0.8078.35/chrome/utility/services.cc
---- chromium-156.0.8078.35/chrome/utility/services.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/chrome/utility/services.cc 2026-10-20 17:09:47.146947839 +0200
+--- a/chrome/utility/services.cc
++++ b/chrome/utility/services.cc
@@ -70,8 +70,6 @@
#include "components/mirroring/service/mirroring_service.h"
#include "services/proxy_resolver/proxy_resolver_factory_impl.h" // nogncheck
@@ -1536,9 +1366,18 @@ diff -up chromium-156.0.8078.35/chrome/utility/services.cc.disable-ai chromium-1
#endif // !BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(ENABLE_MEDIA_REMOTING_REDIRECTION)
-diff -up chromium-156.0.8078.35/components/autofill/core/browser/foundations/autofill_manager.cc.disable-ai chromium-156.0.8078.35/components/autofill/core/browser/foundations/autofill_manager.cc
---- chromium-156.0.8078.35/components/autofill/core/browser/foundations/autofill_manager.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/components/autofill/core/browser/foundations/autofill_manager.cc 2026-10-20 17:09:47.147598715 +0200
+--- a/components/BUILD.gn
++++ b/components/BUILD.gn
+@@ -645,7 +645,6 @@ test("components_unittests") {
+ "//components/one_time_tokens/core/browser:unit_tests",
+ "//components/page_info:unit_tests",
+ "//components/password_manager/core/browser/actor_login:unit_tests",
+- "//components/permissions/prediction_service:unit_tests",
+ "//components/privacy_sandbox/privacy_sandbox_attestations:unit_tests",
+ "//components/safety_check:unit_tests",
+ "//components/security_interstitials/content:unit_tests",
+--- a/components/autofill/core/browser/foundations/autofill_manager.cc
++++ b/components/autofill/core/browser/foundations/autofill_manager.cc
@@ -164,8 +164,6 @@ struct AutofillManager::AsyncContext {
std::vector<FormData> forms;
@@ -1599,21 +1438,9 @@ diff -up chromium-156.0.8078.35/components/autofill/core/browser/foundations/aut
}
} // namespace autofill
-diff -up chromium-156.0.8078.35/components/BUILD.gn.disable-ai chromium-156.0.8078.35/components/BUILD.gn
---- chromium-156.0.8078.35/components/BUILD.gn.disable-ai 2026-10-20 17:09:46.924231964 +0200
-+++ chromium-156.0.8078.35/components/BUILD.gn 2026-10-20 17:09:47.147217409 +0200
-@@ -639,7 +639,6 @@ test("components_unittests") {
- "//components/one_time_tokens/core/browser:unit_tests",
- "//components/page_info:unit_tests",
- "//components/password_manager/core/browser/actor_login:unit_tests",
-- "//components/permissions/prediction_service:unit_tests",
- "//components/privacy_sandbox/privacy_sandbox_attestations:unit_tests",
- "//components/safety_check:unit_tests",
- "//components/security_interstitials/content:unit_tests",
-diff -up chromium-156.0.8078.35/components/page_content_annotations/content/BUILD.gn.disable-ai chromium-156.0.8078.35/components/page_content_annotations/content/BUILD.gn
---- chromium-156.0.8078.35/components/page_content_annotations/content/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/components/page_content_annotations/content/BUILD.gn 2026-10-20 17:09:47.148056768 +0200
-@@ -75,8 +75,6 @@ source_set("page_embeddings") {
+--- a/components/page_content_annotations/content/BUILD.gn
++++ b/components/page_content_annotations/content/BUILD.gn
+@@ -81,8 +81,6 @@ source_set("page_embeddings") {
sources = [
"embeddings_candidate_generator.cc",
"embeddings_candidate_generator.h",
@@ -1622,9 +1449,8 @@ diff -up chromium-156.0.8078.35/components/page_content_annotations/content/BUIL
"page_embeddings_service.cc",
"page_embeddings_service.h",
]
-diff -up chromium-156.0.8078.35/components/pdf/renderer/pdf_view_web_plugin_client.h.disable-ai chromium-156.0.8078.35/components/pdf/renderer/pdf_view_web_plugin_client.h
---- chromium-156.0.8078.35/components/pdf/renderer/pdf_view_web_plugin_client.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/components/pdf/renderer/pdf_view_web_plugin_client.h 2026-10-20 17:09:47.148412437 +0200
+--- a/components/pdf/renderer/pdf_view_web_plugin_client.h
++++ b/components/pdf/renderer/pdf_view_web_plugin_client.h
@@ -12,7 +12,6 @@
#include "base/memory/weak_ptr.h"
#include "mojo/public/cpp/bindings/remote.h"
@@ -1642,9 +1468,8 @@ diff -up chromium-156.0.8078.35/components/pdf/renderer/pdf_view_web_plugin_clie
base::WeakPtrFactory<PdfViewWebPluginClient> weak_factory_{this};
};
-diff -up chromium-156.0.8078.35/services/screen_ai/buildflags/features.gni.disable-ai chromium-156.0.8078.35/services/screen_ai/buildflags/features.gni
---- chromium-156.0.8078.35/services/screen_ai/buildflags/features.gni.disable-ai 2026-10-14 00:13:09.000000000 +0200
-+++ chromium-156.0.8078.35/services/screen_ai/buildflags/features.gni 2026-10-20 17:09:47.148697659 +0200
+--- a/services/screen_ai/buildflags/features.gni
++++ b/services/screen_ai/buildflags/features.gni
@@ -6,15 +6,13 @@ import("//build/config/sanitizers/saniti
declare_args() {
diff --git a/sources b/sources
index 563f97c..346f176 100644
--- a/sources
+++ b/sources
@@ -1,6 +1,4 @@
SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
-SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae45081916878b023ca221d3008d5f00f5a1178274bc09640bc6e20251d2555c31310ded8d9dbf0d56e742288
-SHA512 (linux-arm64-0.28.2.tgz) = a56e000b43f78adf1cedda3d315338a79d45cc7cdd33f4d9adeaeeae045c1c9d964dad55435088ab5f319dc7e9049c38a23922659aca5b6c8805604ff768fa52
-SHA512 (linux-ppc64-0.28.2.tgz) = 0805e5f83b5df5452e25df2928a77087a30b9b7314322a8c3e6859ded4d25cfa9fc90def0e5e91e6165d67f918a232b8a1f5ed75f4afd6d16af17cd6c7785e35
-SHA512 (linux-x64-0.28.2.tgz) = e314d9af5154992a105b85c85a68addedcd0ad44d933e3773f45d5f3144e298179d177c8ef178ef74fb56d9bcdc3122e7d0f610d0551247e588603d517c03f1d
-SHA512 (chromium-156.0.8078.79-clean.tar.xz) = 3f5ea77300f89c4077f33e9ec652c5081dd85d87eb81ea187d84b04fbf060b8ce5f0fa550b69b9fd704f7f449c1ae3a8a58fbfce6a59f9627da32bed486d50c5
+SHA512 (chromium-157.0.8103.78-clean.tar.xz) = 0805f64d51751d9e61aeca7708d95d98ae3b810e63254d58e7fbdcb979388f04d9f86b2a4daf1e24f75dd6c8a6414dce54473683fb3152e250bc556ea92b2cb1
+SHA512 (TypeScript-7.0.2.tar.gz) = ab381b5d7bf16463f75a19b9b517d8ed94699f14fd49746e72df3f23381df6a1debb057b1d9c939a3d393952ad684dc9200cb964195ba6d62efb6a1536bc835a
+SHA512 (TypeScript-7.0.2-vendor-archive.tar.gz) = 015fcc73bda7a0f9c6b6b1bfbc2dae0f4cbf0bace8e95261c81adce93742632982f72acd71be6ed3b71ffc2a91b2674e65b9efbf031e4949bd2775d4dc18e930
diff --git a/chromium.spec b/chromium.spec
index ba155a1..c074491 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -3231,6 +3231,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-11-02 9:20 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-11-02 9:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 484121cf98031b8d15d5bea60784102953ec17c3
Author : Than Ngo <than@redhat.com>
Date : 2026-11-02T10:19:57+01:00
Stats : +26/-30 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/484121cf98031b8d15d5bea60784102953ec17c3?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium.spec b/chromium.spec
index ce46760..b9d7368 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -13,6 +13,10 @@
%global system_build_flags 0
%global numjobs %{_smp_build_ncpus}
+%ifarch x86_64
+# FTBFS workaround for OOM on x86_64
+%global numjobs 16
+%endif
# official builds have less debugging and go faster... but we have to shut some things off.
%global official_build 1
@@ -24,16 +28,6 @@
%global use_custom_libcxx 1
%endif
-# enable|disble bootstrap
-%global bootstrap 0
-# workaround for old gn on el9 and el10.2, it causes build errors:
-# unknown function filter_labels_include()
-# ERROR at //third_party/devtools-frontend/src/scripts/build/typescript/ts_library_split.gni:316:21: Assignment had no effect.
-# public_inputs = filter_include(_all_sources, [ "*.ts" ])
-%if 0%{?rhel} == 9 || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 3)
-%global bootstrap 1
-%endif
-
# Fancy build status, so we at least know, where we are..
# %1 where
# %2 what
@@ -71,11 +65,17 @@
%global nodejs_version v22.22.0
%global system_nodejs 1
-# RHEL 9 needs newer nodejs
+# epel 9 needs newer nodejs
%if 0%{?rhel} == 9
%global system_nodejs 0
%endif
+%global system_gn 1
+# epel9 needs newer gn
+%if 0%{?rhel} == 9
+%global system_gn 0
+%endif
+
# enable gtk4 for fedora and el>9
%global gtk_version 4
%if 0%{?rhel} == 9
@@ -711,7 +711,7 @@ BuildRequires: minizip-compat-devel
BuildRequires: nodejs, /usr/bin/node
%endif
-%if ! %{bootstrap}
+%if %{system_gn}
BuildRequires: gn
%endif
@@ -728,7 +728,7 @@ BuildRequires: pipewire-devel
# for /usr/bin/appstream-util
BuildRequires: libappstream-glib
-%if %{bootstrap}
+%if ! %{system_gn}
# gn needs these
BuildRequires: libstdc++-static
%endif
@@ -928,10 +928,6 @@ BuildRequires: simdutf-devel
# esbuild is needed
%if %{system_esbuild}
BuildRequires: golang-github-evanw-esbuild
-# Workaround, since the new esbuild is not yet included in f45
-%if 0%{?fedora}
-BuildRequires: nodejs-esbuild
-%endif
%endif
# There is a hardcoded check for nss 3.26 in the chromium code (crypto/nss_util.cc)
@@ -1309,19 +1305,16 @@ sed -i "s/Linux x86_64/Linux %{_arch}/" components/embedder_support/user_agent_u
# Add correct path for nodejs binary
mkdir -p third_party/node/linux/node-linux-x64/bin
-%if ! %{system_nodejs}
- ln -s ../../../../../node-%{nodejs_version}/node third_party/node/linux/node-linux-x64/bin/node
-%else
+%if %{system_nodejs}
ln -s $(which node) third_party/node/linux/node-linux-x64/bin/node
+%else
+ ln -s ../../../../../node-%{nodejs_version}/node third_party/node/linux/node-linux-x64/bin/node
%endif
# Add correct path for esbuild binary
mkdir -p third_party/devtools-frontend/src/third_party/esbuild
%if %{system_esbuild}
ln -s $(which esbuild) third_party/devtools-frontend/src/third_party/esbuild/esbuild
-%if 0%{?fedora}
-cp -a /usr/lib/node_modules/*esbuild* third_party/devtools-frontend/src/node_modules/
-%endif
%else
%ifarch x86_64
tar xf %{SOURCE15} -C third_party/devtools-frontend/src/third_party/
@@ -1340,10 +1333,10 @@ popd
# Remove bundle gn and replace it with a system gn or bootstrap gn as it is x86_64 and causes
# FTBFS on other arch like aarch64/ppc64le
mkdir -p buildtools/linux64/
-%if %{bootstrap}
-ln -sf ../../%{chromebuilddir}/gn buildtools/linux64/gn
-%else
+%if %{system_gn}
ln -sf $(which gn) buildtools/linux64/gn
+%else
+ln -sf ../../%{chromebuilddir}/gn buildtools/linux64/gn
%endif
# Remove bundle gperf and replace it with system gperf
@@ -1723,10 +1716,10 @@ if python3 -c 'import google ; print google.__path__' 2> /dev/null ; then \
exit 1 ; \
fi
-%if %{bootstrap}
-tools/gn/bootstrap/bootstrap.py --gn-gen-args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES"
-%else
+%if %{system_gn}
mkdir -p %{chromebuilddir} && cp -a $(which gn) %{chromebuilddir}/
+%else
+tools/gn/bootstrap/bootstrap.py --gn-gen-args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES"
%endif
%{chromebuilddir}/gn --script-executable=%{chromium_pybin} gen --args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES" %{chromebuilddir}
diff --git a/flatpak-Add-initial-sandbox-support.patch b/flatpak-Add-initial-sandbox-support.patch
index 2fb446e..cf11f1a 100644
--- a/flatpak-Add-initial-sandbox-support.patch
+++ b/flatpak-Add-initial-sandbox-support.patch
@@ -256,7 +256,7 @@ index 56faa9c7af384..927cfc692c3cd 100644
+ bool use_flatpak_sandbox_;
std::string sandbox_binary_;
- // This lock protects the |zygote_pids_| set.
+ base::Lock zygote_pids_lock_;
diff --git a/content/zygote/zygote_linux.cc b/content/zygote/zygote_linux.cc
index da555a1907755..495559675b911 100644
--- a/content/zygote/zygote_linux.cc
diff --git a/chromium.spec b/chromium.spec
index 9a9366f..b9d7368 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2951,6 +2951,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-30 20:52 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-30 20:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : f202a8d8a1af53c6e462ee2034c947bd8c936e2f
Author : Than Ngo <than@redhat.com>
Date : 2026-10-30T21:52:11+01:00
Stats : +29/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/f202a8d8a1af53c6e462ee2034c947bd8c936e2f?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium.spec b/chromium.spec
index d423f18..ce46760 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -282,7 +282,7 @@
%endif
Name: chromium
-Version: 156.0.8078.73
+Version: 156.0.8078.79
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -1998,6 +1998,30 @@ fi
%endif
%changelog
+* Fri Oct 30 2026 Than Ngo <than@redhat.com> - 156.0.8078.79-1
+- Update to 156.0.8078.73, include 21 security fixes
+ * CVE-2026-119260: Use after free in Frames
+ * CVE-2026-119261: Improper input validation in Skia
+ * CVE-2026-119262: Improper input validation in V8
+ * CVE-2026-119263: Memory corruption in GarbageCollection
+ * CVE-2026-119264: Memory corruption in Dawn
+ * CVE-2026-119265: Memory corruption in Quota
+ * CVE-2026-119266: Use after free in Quota
+ * CVE-2026-119267: Memory corruption in DOM
+ * CVE-2026-119268: Integer overflow in Editing
+ * CVE-2026-119269: Use after free in Blink
+ * CVE-2026-119270: Improper input validation in CacheStorage
+ * CVE-2026-119271: Use after free in Skia
+ * CVE-2026-119272: Out of bounds read in FileSystem
+ * CVE-2026-76024: Memory corruption in MediaStream
+ * CVE-2026-76025: Use after free in FileSystem
+ * CVE-2026-76026: Memory corruption in Autofill
+ * CVE-2026-76027: Memory corruption in CacheStorage
+ * CVE-2026-76028: Use after free in FileSystem
+ * CVE-2026-76029: Memory corruption in Network
+ * CVE-2026-76030: Memory corruption in FileSystem
+ * CVE-2026-76031: Use after free in Input
+
* Wed Oct 28 2026 Than Ngo <than@redhat.com> - 156.0.8078.73-1
- Update to 156.0.8078.73, include 52 security fixes
* CVE-2026-118304: Improper input validation in SVG
diff --git a/sources b/sources
index e3f5744..563f97c 100644
--- a/sources
+++ b/sources
@@ -3,4 +3,4 @@ SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae4
SHA512 (linux-arm64-0.28.2.tgz) = a56e000b43f78adf1cedda3d315338a79d45cc7cdd33f4d9adeaeeae045c1c9d964dad55435088ab5f319dc7e9049c38a23922659aca5b6c8805604ff768fa52
SHA512 (linux-ppc64-0.28.2.tgz) = 0805e5f83b5df5452e25df2928a77087a30b9b7314322a8c3e6859ded4d25cfa9fc90def0e5e91e6165d67f918a232b8a1f5ed75f4afd6d16af17cd6c7785e35
SHA512 (linux-x64-0.28.2.tgz) = e314d9af5154992a105b85c85a68addedcd0ad44d933e3773f45d5f3144e298179d177c8ef178ef74fb56d9bcdc3122e7d0f610d0551247e588603d517c03f1d
-SHA512 (chromium-156.0.8078.73-clean.tar.xz) = fbff122743bfaaa090923f48d38b8a2942e31625c15df97a9fb4bbfafb3f24beea672e5310c9fee4127aa112839c19d5fbf8325f31bde2c261eb320a9cd48aa5
+SHA512 (chromium-156.0.8078.79-clean.tar.xz) = 3f5ea77300f89c4077f33e9ec652c5081dd85d87eb81ea187d84b04fbf060b8ce5f0fa550b69b9fd704f7f449c1ae3a8a58fbfce6a59f9627da32bed486d50c5
diff --git a/chromium.spec b/chromium.spec
index 2c50028..ce46760 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2958,6 +2958,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-29 10:01 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-29 10:01 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 120bbb1f91b385f5b8d1452651f0bad7a7f0e936
Author : Than Ngo <than@redhat.com>
Date : 2026-10-29T11:01:15+01:00
Stats : +10/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/120bbb1f91b385f5b8d1452651f0bad7a7f0e936?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium.spec b/chromium.spec
index 7a81a09..d423f18 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -928,6 +928,10 @@ BuildRequires: simdutf-devel
# esbuild is needed
%if %{system_esbuild}
BuildRequires: golang-github-evanw-esbuild
+# Workaround, since the new esbuild is not yet included in f45
+%if 0%{?fedora}
+BuildRequires: nodejs-esbuild
+%endif
%endif
# There is a hardcoded check for nss 3.26 in the chromium code (crypto/nss_util.cc)
@@ -1315,6 +1319,9 @@ mkdir -p third_party/node/linux/node-linux-x64/bin
mkdir -p third_party/devtools-frontend/src/third_party/esbuild
%if %{system_esbuild}
ln -s $(which esbuild) third_party/devtools-frontend/src/third_party/esbuild/esbuild
+%if 0%{?fedora}
+cp -a /usr/lib/node_modules/*esbuild* third_party/devtools-frontend/src/node_modules/
+%endif
%else
%ifarch x86_64
tar xf %{SOURCE15} -C third_party/devtools-frontend/src/third_party/
diff --git a/chromium.spec b/chromium.spec
index 3d50d00..d423f18 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2934,6 +2934,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-28 17:25 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-28 17:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : db730e8ef313dff5f25674c1a064d5c8d8c63071
Author : Than Ngo <than@redhat.com>
Date : 2026-10-28T18:24:59+01:00
Stats : +85/-85 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/db730e8ef313dff5f25674c1a064d5c8d8c63071?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/flatpak-Add-initial-sandbox-support.patch b/flatpak-Add-initial-sandbox-support.patch
index 9a042f7..2fb446e 100644
--- a/flatpak-Add-initial-sandbox-support.patch
+++ b/flatpak-Add-initial-sandbox-support.patch
@@ -1,4 +1,4 @@
-From c82dcae326090d3b7e31694a7e229f536ead56b7 Mon Sep 17 00:00:00 2001
+From 59f9b26497d26e6db223a5cf5780df4c2cdf5277 Mon Sep 17 00:00:00 2001
From: Ryan Gonzalez <rymg19@gmail.com>
Date: Tue, 17 Mar 2020 13:18:27 -0500
Subject: [PATCH] flatpak: Add initial sandbox support
@@ -8,7 +8,7 @@ Subject: [PATCH] flatpak: Add initial sandbox support
base/threading/thread_restrictions.h | 5 +
.../sandbox_internals/sandbox_internals.ts | 4 +
.../ui/webui/sandbox/sandbox_internals_ui.cc | 6 +-
- content/browser/child_process_host_impl.cc | 8 +-
+ content/browser/child_process_host_impl.cc | 5 +-
.../zygote_host/zygote_host_impl_linux.cc | 39 +-
.../zygote_host/zygote_host_impl_linux.h | 1 +
content/zygote/zygote_linux.cc | 6 +-
@@ -23,18 +23,18 @@ Subject: [PATCH] flatpak: Add initial sandbox support
sandbox/policy/linux/sandbox_linux.cc | 8 +
sandbox/policy/linux/sandbox_linux.h | 8 +
.../service_process_launcher.cc | 12 +-
- 19 files changed, 907 insertions(+), 19 deletions(-)
+ 19 files changed, 904 insertions(+), 19 deletions(-)
create mode 100644 sandbox/linux/services/flatpak_pid_map.cc
create mode 100644 sandbox/linux/services/flatpak_pid_map.h
create mode 100644 sandbox/linux/services/flatpak_sandbox.cc
create mode 100644 sandbox/linux/services/flatpak_sandbox.h
diff --git a/.gitignore b/.gitignore
-index 22985d0edf211..62631942103f0 100644
+index 63b0d36754709..d6f51feb7ff9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -79,6 +79,7 @@ vs-chromium-project.txt
- /.android_emulator/
+ /.android_emulator_cipd_cache/
/.clangd/
/.clangd-index/
+/.flatpak-builder/
@@ -42,10 +42,10 @@ index 22985d0edf211..62631942103f0 100644
/.externalToolBuilders/
/.settings/
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
-index 7739b7379ba67..01d99a3ac5772 100644
+index db88f6ab7629f..cc2636006f154 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
-@@ -410,6 +410,9 @@ class ScopedAllowThreadJoinForWebRtcTransport;
+@@ -425,6 +425,9 @@ class ScopedAllowThreadJoinForWebRtcTransport;
namespace rlz_lib {
class FinancialPing;
}
@@ -55,7 +55,7 @@ index 7739b7379ba67..01d99a3ac5772 100644
namespace service_manager {
class ServiceProcessLauncher;
}
-@@ -641,6 +644,7 @@ class BASE_EXPORT ScopedAllowBlocking {
+@@ -662,6 +665,7 @@ class BASE_EXPORT ScopedAllowBlocking {
friend class remoting::
ScopedBypassIOThreadRestrictions; // http://crbug.com/1144161
friend class remoting::ScopedAllowBlockingForCrashReporting;
@@ -63,7 +63,7 @@ index 7739b7379ba67..01d99a3ac5772 100644
friend class ui::DrmDisplayHostManager;
friend class ui::ScopedAllowBlockingForGbmSurface;
friend class ui::SelectFileDialogLinux;
-@@ -780,6 +784,7 @@ class BASE_EXPORT ScopedAllowBaseSyncPrimitives {
+@@ -809,6 +813,7 @@ class BASE_EXPORT ScopedAllowBaseSyncPrimitives {
friend class rlz_lib::FinancialPing;
friend class shell_integration_linux::
LaunchXdgUtilityScopedAllowBaseSyncPrimitives;
@@ -72,10 +72,10 @@ index 7739b7379ba67..01d99a3ac5772 100644
friend class syncer::HttpBridge;
friend class syncer::GetLocalChangesRequest;
diff --git a/chrome/browser/resources/sandbox_internals/sandbox_internals.ts b/chrome/browser/resources/sandbox_internals/sandbox_internals.ts
-index 1d2c06f540674..9946482709bbf 100644
+index 9273695331dc2..6606dbcad0243 100644
--- a/chrome/browser/resources/sandbox_internals/sandbox_internals.ts
+++ b/chrome/browser/resources/sandbox_internals/sandbox_internals.ts
-@@ -140,6 +140,7 @@ function addGoodBadRow(name: string, result: boolean): HTMLElement {
+@@ -142,6 +142,7 @@ function addGoodBadRow(name: string, result: boolean): HTMLElement {
function linuxHandler() {
const suidSandbox = loadTimeData.getBoolean('suid');
const nsSandbox = loadTimeData.getBoolean('userNs');
@@ -83,7 +83,7 @@ index 1d2c06f540674..9946482709bbf 100644
let layer1SandboxType = 'None';
let layer1SandboxCssClass = StatusClass.BAD;
-@@ -149,6 +150,9 @@ function linuxHandler() {
+@@ -151,6 +152,9 @@ function linuxHandler() {
} else if (nsSandbox) {
layer1SandboxType = 'Namespace';
layer1SandboxCssClass = StatusClass.GOOD;
@@ -125,44 +125,41 @@ index 1174a704b8126..e7fd738b705fb 100644
status & sandbox::policy::SandboxLinux::kNetNS;
// A second-layer sandbox is also required to be adequately sandboxed.
diff --git a/content/browser/child_process_host_impl.cc b/content/browser/child_process_host_impl.cc
-index 685af654e0832..cb2d7fb0966d1 100644
+index f4695108f4ddc..caae68d6da008 100644
--- a/content/browser/child_process_host_impl.cc
+++ b/content/browser/child_process_host_impl.cc
-@@ -37,6 +37,7 @@
+@@ -38,6 +38,7 @@
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
#include "base/linux_util.h"
+#include "sandbox/linux/services/flatpak_sandbox.h"
#elif BUILDFLAG(IS_MAC)
#include "base/apple/foundation_util.h"
- #include "content/browser/mac_helpers.h"
-@@ -62,7 +63,12 @@ base::FilePath ChildProcessHost::GetChildPath(int flags) {
+ #include "base/strings/strcat.h"
+@@ -75,7 +76,9 @@ base::FilePath ChildProcessHost::GetChildPath(int flags) {
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
// Use /proc/self/exe rather than our known binary path so updates
// can't swap out the binary from underneath us.
-- if (child_path.empty() && flags & CHILD_ALLOW_SELF) {
-+ // This is not needed for Flatpaks, where updates are going to be in
-+ // a new hardlink tree.
-+ if ((child_path.empty() &&
-+ sandbox::FlatpakSandbox::GetInstance()->GetSandboxLevel() ==
-+ sandbox::FlatpakSandbox::SandboxLevel::kNone) &&
+- if (flags & CHILD_ALLOW_SELF) {
++ if ((sandbox::FlatpakSandbox::GetInstance()->GetSandboxLevel() ==
++ sandbox::FlatpakSandbox::SandboxLevel::kNone) &&
+ flags & CHILD_ALLOW_SELF) {
- child_path = base::FilePath(base::kProcSelfExe);
+ return base::FilePath(base::kProcSelfExe);
}
#endif
diff --git a/content/browser/zygote_host/zygote_host_impl_linux.cc b/content/browser/zygote_host/zygote_host_impl_linux.cc
-index 5707dd93fd5e9..c87e1248171cf 100644
+index b5ac7b3681af3..15069493dd5f3 100644
--- a/content/browser/zygote_host/zygote_host_impl_linux.cc
+++ b/content/browser/zygote_host/zygote_host_impl_linux.cc
-@@ -13,6 +13,7 @@
+@@ -14,6 +14,7 @@
#include "base/logging.h"
#include "base/posix/unix_domain_socket.h"
#include "base/process/kill.h"
+#include "base/process/launch.h"
#include "base/process/memory.h"
#include "base/strings/string_number_conversions.h"
- #include "base/types/fixed_array.h"
-@@ -22,6 +23,7 @@
+ #include "base/time/time.h"
+@@ -24,6 +25,7 @@
#include "content/common/zygote/zygote_handle_impl_linux.h"
#include "content/public/common/zygote/zygote_handle.h"
#include "sandbox/linux/services/credentials.h"
@@ -170,7 +167,7 @@ index 5707dd93fd5e9..c87e1248171cf 100644
#include "sandbox/linux/services/namespace_sandbox.h"
#include "sandbox/linux/suid/client/setuid_sandbox_host.h"
#include "sandbox/linux/suid/common/sandbox.h"
-@@ -72,6 +74,7 @@ ZygoteHostImpl::ZygoteHostImpl()
+@@ -74,6 +76,7 @@ ZygoteHostImpl::ZygoteHostImpl()
: use_namespace_sandbox_(false),
use_suid_sandbox_(false),
use_suid_sandbox_for_adj_oom_score_(false),
@@ -178,7 +175,7 @@ index 5707dd93fd5e9..c87e1248171cf 100644
sandbox_binary_(),
zygote_pids_lock_(),
zygote_pids_() {}
-@@ -110,9 +113,12 @@ void ZygoteHostImpl::Init(const base::CommandLine& command_line) {
+@@ -112,9 +115,12 @@ void ZygoteHostImpl::Init(const base::CommandLine& command_line) {
sandbox_binary_ = setuid_sandbox_host->GetSandboxBinaryPath().value();
}
@@ -194,7 +191,7 @@ index 5707dd93fd5e9..c87e1248171cf 100644
use_namespace_sandbox_ = true;
} else if (!command_line.HasSwitch(
sandbox::policy::switches::kDisableSetuidSandbox) &&
-@@ -183,10 +189,16 @@ pid_t ZygoteHostImpl::LaunchZygote(
+@@ -187,17 +193,24 @@ ZygoteLaunchCompletionCallback ZygoteHostImpl::LaunchZygote(
sandbox_host->SetupLaunchEnvironment();
}
@@ -215,30 +212,29 @@ index 5707dd93fd5e9..c87e1248171cf 100644
CHECK(process.IsValid()) << "Failed to launch zygote process";
dummy_fd.reset();
-@@ -195,7 +207,8 @@ pid_t ZygoteHostImpl::LaunchZygote(
-
- pid_t pid = process.Pid();
+ close(fds[1]);
+ control_fd->reset(fds[0]);
- if (is_sandboxed_zygote && (use_namespace_sandbox_ || use_suid_sandbox_)) {
+ if (is_sandboxed_zygote &&
+ (use_namespace_sandbox_ || use_suid_sandbox_ || use_flatpak_sandbox_)) {
- // The namespace and SUID sandbox will execute the zygote in a new
- // PID namespace, and the main zygote process will then fork from
- // there. Watch now our elaborate dance to find and validate the
-@@ -223,7 +236,11 @@ pid_t ZygoteHostImpl::LaunchZygote(
+ // Finding out the zygote's pid means waiting for it to start up. Put that
+ // off until the zygote is needed so that it starts up in parallel with the
+ // browser; ZygoteCommunication runs this before it first talks to the
+@@ -258,7 +271,11 @@ pid_t ZygoteHostImpl::FinishSandboxedZygoteLaunch(base::Process process,
- if (real_pid != pid) {
- // Reap the sandbox.
-- base::EnsureProcessGetsReaped(std::move(process));
-+ if (use_flatpak_sandbox_) {
-+ sandbox::FlatpakSandbox::GetInstance()->IgnoreExitStatus(pid);
-+ } else {
-+ base::EnsureProcessGetsReaped(base::Process(pid));
-+ }
- }
- pid = real_pid;
+ if (real_pid != process.Pid()) {
+ // Reap the sandbox.
+- base::EnsureProcessGetsReaped(std::move(process));
++ if (use_flatpak_sandbox_) {
++ sandbox::FlatpakSandbox::GetInstance()->IgnoreExitStatus(process.Pid());
++ } else {
++ base::EnsureProcessGetsReaped(std::move(process));
++ }
}
-@@ -274,6 +291,10 @@ void ZygoteHostImpl::AdjustRendererOOMScore(base::ProcessHandle pid,
+
+ AddZygotePid(real_pid);
+@@ -307,6 +324,10 @@ void ZygoteHostImpl::AdjustRendererOOMScore(base::ProcessHandle pid,
selinux_valid = true;
}
@@ -250,10 +246,10 @@ index 5707dd93fd5e9..c87e1248171cf 100644
if (!base::AdjustOOMScore(pid, score))
PLOG(ERROR) << "Failed to adjust OOM score of renderer with pid " << pid;
diff --git a/content/browser/zygote_host/zygote_host_impl_linux.h b/content/browser/zygote_host/zygote_host_impl_linux.h
-index 8ef884a7db6f4..f441900dd6343 100644
+index 56faa9c7af384..927cfc692c3cd 100644
--- a/content/browser/zygote_host/zygote_host_impl_linux.h
+++ b/content/browser/zygote_host/zygote_host_impl_linux.h
-@@ -69,6 +69,7 @@ class CONTENT_EXPORT ZygoteHostImpl : public ZygoteHost {
+@@ -79,6 +79,7 @@ class CONTENT_EXPORT ZygoteHostImpl : public ZygoteHost {
bool use_namespace_sandbox_;
bool use_suid_sandbox_;
bool use_suid_sandbox_for_adj_oom_score_;
@@ -262,10 +258,10 @@ index 8ef884a7db6f4..f441900dd6343 100644
// This lock protects the |zygote_pids_| set.
diff --git a/content/zygote/zygote_linux.cc b/content/zygote/zygote_linux.cc
-index c90abfaf2e346..5b9cb3e1bd313 100644
+index da555a1907755..495559675b911 100644
--- a/content/zygote/zygote_linux.cc
+++ b/content/zygote/zygote_linux.cc
-@@ -122,7 +122,7 @@ bool Zygote::ProcessRequests() {
+@@ -120,7 +120,7 @@ bool Zygote::ProcessRequests() {
PCHECK(sigaddset(&sigset, SIGCHLD) == 0);
PCHECK(sigprocmask(SIG_BLOCK, &sigset, &orig_sigmask) == 0);
@@ -274,7 +270,7 @@ index c90abfaf2e346..5b9cb3e1bd313 100644
// Let the ZygoteHost know we are ready to go.
// The receiving code is in
// content/browser/zygote_host/zygote_host_impl_linux.cc.
-@@ -227,6 +227,10 @@ bool Zygote::UsingNSSandbox() const {
+@@ -225,6 +225,10 @@ bool Zygote::UsingNSSandbox() const {
return sandbox_flags_ & sandbox::policy::SandboxLinux::kUserNS;
}
@@ -299,10 +295,10 @@ index 165b758efc899..961afa73f66f5 100644
// ---------------------------------------------------------------------------
// Requests from the browser...
diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc
-index c7ee91878e6dd..9c2c7a04bd968 100644
+index 7565fb0641dc4..d99a94618b72d 100644
--- a/content/zygote/zygote_main_linux.cc
+++ b/content/zygote/zygote_main_linux.cc
-@@ -35,6 +35,7 @@
+@@ -36,6 +36,7 @@
#include "content/public/common/zygote/zygote_fork_delegate_linux.h"
#include "content/zygote/zygote_linux.h"
#include "sandbox/linux/services/credentials.h"
@@ -310,7 +306,7 @@ index c7ee91878e6dd..9c2c7a04bd968 100644
#include "sandbox/linux/services/init_process_reaper.h"
#include "sandbox/linux/services/libc_interceptor.h"
#include "sandbox/linux/services/namespace_sandbox.h"
-@@ -135,6 +136,7 @@ static void EnterNamespaceSandbox(sandbox::policy::SandboxLinux* linux_sandbox,
+@@ -136,6 +137,7 @@ static void EnterNamespaceSandbox(sandbox::policy::SandboxLinux* linux_sandbox,
static void EnterLayerOneSandbox(sandbox::policy::SandboxLinux* linux_sandbox,
const bool using_layer1_sandbox,
@@ -318,7 +314,7 @@ index c7ee91878e6dd..9c2c7a04bd968 100644
base::OnceClosure post_fork_parent_callback) {
DCHECK(linux_sandbox);
-@@ -154,7 +156,8 @@ static void EnterLayerOneSandbox(sandbox::policy::SandboxLinux* linux_sandbox,
+@@ -155,7 +157,8 @@ static void EnterLayerOneSandbox(sandbox::policy::SandboxLinux* linux_sandbox,
} else if (sandbox::NamespaceSandbox::InNewUserNamespace()) {
EnterNamespaceSandbox(linux_sandbox, std::move(post_fork_parent_callback));
} else {
@@ -328,7 +324,7 @@ index c7ee91878e6dd..9c2c7a04bd968 100644
}
}
-@@ -178,8 +181,11 @@ bool ZygoteMain(
+@@ -179,8 +182,11 @@ bool ZygoteMain(
linux_sandbox->setuid_sandbox_client()->IsSuidSandboxChild();
const bool using_namespace_sandbox =
sandbox::NamespaceSandbox::InNewUserNamespace();
@@ -341,7 +337,7 @@ index c7ee91878e6dd..9c2c7a04bd968 100644
if (using_setuid_sandbox) {
linux_sandbox->setuid_sandbox_client()->CloseDummyFile();
-@@ -206,7 +212,7 @@ bool ZygoteMain(
+@@ -207,7 +213,7 @@ bool ZygoteMain(
// Turn on the first layer of the sandbox if the configuration warrants it.
EnterLayerOneSandbox(
@@ -350,7 +346,7 @@ index c7ee91878e6dd..9c2c7a04bd968 100644
base::BindOnce(CloseFds, linux_sandbox->GetFileDescriptorsToClose()));
const int sandbox_flags = linux_sandbox->GetStatus();
-@@ -218,6 +224,10 @@ bool ZygoteMain(
+@@ -219,6 +225,10 @@ bool ZygoteMain(
!!(sandbox_flags & sandbox::policy::SandboxLinux::kUserNS);
CHECK_EQ(using_namespace_sandbox, namespace_sandbox_engaged);
@@ -362,7 +358,7 @@ index c7ee91878e6dd..9c2c7a04bd968 100644
base::GlobalDescriptors::Descriptor(
static_cast<uint32_t>(kSandboxIPCChannel), GetSandboxFD()));
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn
-index 478194aaf43a8..c97710907565e 100644
+index 1fe96111cefaa..9b381d90e4e43 100644
--- a/sandbox/linux/BUILD.gn
+++ b/sandbox/linux/BUILD.gn
@@ -303,6 +303,10 @@ if (is_linux || is_chromeos) {
@@ -1211,10 +1207,10 @@ index 0000000000000..167bbc85945ad
+
+#endif // SANDBOX_LINUX_SERVICES_FLATPAK_SANDBOX_H_
diff --git a/sandbox/policy/BUILD.gn b/sandbox/policy/BUILD.gn
-index 1a3c7c6cf8b15..4c1b121160df6 100644
+index 6abd7aea6d8ad..d0e81c5cd0ad5 100644
--- a/sandbox/policy/BUILD.gn
+++ b/sandbox/policy/BUILD.gn
-@@ -118,6 +118,9 @@ component("policy") {
+@@ -116,6 +116,9 @@ component("policy") {
"//sandbox/linux:suid_sandbox_client",
]
}
@@ -1225,10 +1221,10 @@ index 1a3c7c6cf8b15..4c1b121160df6 100644
sources += [
"linux/bpf_ime_policy_linux.cc",
diff --git a/sandbox/policy/linux/sandbox_linux.cc b/sandbox/policy/linux/sandbox_linux.cc
-index 714cb2e115b84..e85a3fb68ee90 100644
+index 7e1dfcd1732a7..2e8f59fc8ae52 100644
--- a/sandbox/policy/linux/sandbox_linux.cc
+++ b/sandbox/policy/linux/sandbox_linux.cc
-@@ -35,6 +35,7 @@
+@@ -36,6 +36,7 @@
#include "sandbox/constants.h"
#include "sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h"
#include "sandbox/linux/services/credentials.h"
@@ -1236,7 +1232,7 @@ index 714cb2e115b84..e85a3fb68ee90 100644
#include "sandbox/linux/services/libc_interceptor.h"
#include "sandbox/linux/services/namespace_sandbox.h"
#include "sandbox/linux/services/proc_util.h"
-@@ -220,6 +221,9 @@ void SandboxLinux::PreinitializeSandbox() {
+@@ -221,6 +222,9 @@ void SandboxLinux::PreinitializeSandbox() {
const int yama_status = Yama::GetStatus();
yama_is_enforcing_ = (yama_status & Yama::STATUS_PRESENT) &&
(yama_status & Yama::STATUS_ENFORCING);
@@ -1246,7 +1242,7 @@ index 714cb2e115b84..e85a3fb68ee90 100644
pre_initialized_ = true;
}
-@@ -258,6 +262,10 @@ int SandboxLinux::GetStatus() {
+@@ -259,6 +263,10 @@ int SandboxLinux::GetStatus() {
sandbox_status_flags_ |= kPIDNS;
if (NamespaceSandbox::InNewNetNamespace())
sandbox_status_flags_ |= kNetNS;
@@ -1321,5 +1317,5 @@ index 60484255e653b..797f3b9ad6cd8 100644
}
--
-2.51.2
+2.54.0
diff --git a/flatpak-Adjust-paths-for-the-sandbox.patch b/flatpak-Adjust-paths-for-the-sandbox.patch
index eeac905..1ddfdde 100644
--- a/flatpak-Adjust-paths-for-the-sandbox.patch
+++ b/flatpak-Adjust-paths-for-the-sandbox.patch
@@ -1,4 +1,4 @@
-From 4cf3b38a276a3963a356d22ffa01b1ca07c686ee Mon Sep 17 00:00:00 2001
+From ade33e1b7aa6bf7c9100f78dd4266939d21cdc81 Mon Sep 17 00:00:00 2001
From: Ryan Gonzalez <rymg19@gmail.com>
Date: Tue, 25 Aug 2020 19:26:07 -0500
Subject: [PATCH] flatpak: Adjust paths for the sandbox
@@ -9,10 +9,10 @@ Subject: [PATCH] flatpak: Adjust paths for the sandbox
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
-index 45a080086dfd8..ef631e6ad5f80 100644
+index e2dcc5447606a..f47376bf35b1c 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
-@@ -614,6 +614,10 @@ static_library("constants") {
+@@ -635,6 +635,10 @@ static_library("constants") {
"//third_party/widevine/cdm:headers",
]
}
@@ -24,10 +24,10 @@ index 45a080086dfd8..ef631e6ad5f80 100644
# Use a static library here because many test binaries depend on this but don't
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
-index 9c4d73b730baa..318d3eef58979 100644
+index 32d01c008e134..d61f0cb5638f4 100644
--- a/chrome/common/chrome_paths.cc
+++ b/chrome/common/chrome_paths.cc
-@@ -39,6 +39,10 @@
+@@ -40,6 +40,10 @@
#include "base/win/registry.h"
#endif
@@ -38,7 +38,7 @@ index 9c4d73b730baa..318d3eef58979 100644
#if BUILDFLAG(ENABLE_WIDEVINE)
#include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck
#endif
-@@ -407,6 +411,14 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -408,6 +412,14 @@ bool PathProvider(int key, base::FilePath* result) {
#endif
#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_OPENBSD)
case chrome::DIR_POLICY_FILES: {
@@ -53,7 +53,7 @@ index 9c4d73b730baa..318d3eef58979 100644
cur = base::FilePath(policy::kPolicyPath);
break;
}
-@@ -423,7 +435,13 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -424,7 +436,13 @@ bool PathProvider(int key, base::FilePath* result) {
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
case chrome::DIR_STANDALONE_EXTERNAL_EXTENSIONS: {
@@ -68,7 +68,7 @@ index 9c4d73b730baa..318d3eef58979 100644
break;
}
#endif
-@@ -471,6 +489,12 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -463,6 +481,12 @@ bool PathProvider(int key, base::FilePath* result) {
"/Library/Application Support/Chromium/NativeMessagingHosts"));
#endif
#else // BUILDFLAG(IS_MAC)
@@ -82,5 +82,5 @@ index 9c4d73b730baa..318d3eef58979 100644
cur = base::FilePath(
FILE_PATH_LITERAL("/etc/opt/chrome/native-messaging-hosts"));
--
-2.51.2
+2.54.0
diff --git a/flatpak-Expose-Widevine-into-the-sandbox.patch b/flatpak-Expose-Widevine-into-the-sandbox.patch
index bacf9c9..6744367 100644
--- a/flatpak-Expose-Widevine-into-the-sandbox.patch
+++ b/flatpak-Expose-Widevine-into-the-sandbox.patch
@@ -1,4 +1,4 @@
-From 895ee4ca3d52eee03c9604465ad5e90591969d64 Mon Sep 17 00:00:00 2001
+From 10d101ab05a3647568a009c8e9261a8db2bb1178 Mon Sep 17 00:00:00 2001
From: Ryan Gonzalez <rymg19@gmail.com>
Date: Tue, 17 Nov 2020 13:00:39 -0600
Subject: [PATCH] flatpak: Expose Widevine into the sandbox
@@ -10,22 +10,23 @@ Subject: [PATCH] flatpak: Expose Widevine into the sandbox
3 files changed, 131 insertions(+), 24 deletions(-)
diff --git a/content/browser/zygote_host/zygote_host_impl_linux.cc b/content/browser/zygote_host/zygote_host_impl_linux.cc
-index c87e1248171cf..11f17a19ff949 100644
+index 15069493dd5f3..202ceffa858b7 100644
--- a/content/browser/zygote_host/zygote_host_impl_linux.cc
+++ b/content/browser/zygote_host/zygote_host_impl_linux.cc
-@@ -10,7 +10,10 @@
+@@ -10,8 +10,11 @@
#include "base/compiler_specific.h"
#include "base/files/file_enumerator.h"
+#include "base/files/file_util.h"
+ #include "base/functional/bind.h"
#include "base/logging.h"
+#include "base/nix/xdg_util.h"
+#include "base/path_service.h"
#include "base/posix/unix_domain_socket.h"
#include "base/process/kill.h"
#include "base/process/launch.h"
-@@ -18,9 +21,12 @@
- #include "base/strings/string_number_conversions.h"
+@@ -20,9 +23,12 @@
+ #include "base/time/time.h"
#include "base/types/fixed_array.h"
#include "build/build_config.h"
+#include "chrome/common/chrome_paths.h" // nogncheck
@@ -37,7 +38,7 @@ index c87e1248171cf..11f17a19ff949 100644
#include "content/public/common/zygote/zygote_handle.h"
#include "sandbox/linux/services/credentials.h"
#include "sandbox/linux/services/flatpak_sandbox.h"
-@@ -29,6 +35,7 @@
+@@ -31,6 +37,7 @@
#include "sandbox/linux/suid/common/sandbox.h"
#include "sandbox/policy/linux/sandbox_linux.h"
#include "sandbox/policy/switches.h"
@@ -45,7 +46,7 @@ index c87e1248171cf..11f17a19ff949 100644
#if BUILDFLAG(IS_CHROMEOS)
#include "content/common/zygote/zygote_communication_linux.h"
-@@ -193,8 +200,51 @@ pid_t ZygoteHostImpl::LaunchZygote(
+@@ -197,8 +204,51 @@ ZygoteLaunchCompletionCallback ZygoteHostImpl::LaunchZygote(
if (is_sandboxed_zygote && use_namespace_sandbox_) {
process = sandbox::NamespaceSandbox::LaunchProcess(*cmd_line, options);
} else if (is_sandboxed_zygote && use_flatpak_sandbox_) {
@@ -322,5 +323,5 @@ index 167bbc85945ad..de8e7165b4573 100644
base::WaitableEvent* event,
dbus::Response* response,
--
-2.51.2
+2.54.0
diff --git a/chromium.spec b/chromium.spec
index 7529529..7a81a09 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2927,6 +2927,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-28 9:36 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-28 9:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 354255b1a2cd11b44ba9633a44a40770186b93e9
Author : Than Ngo <than@redhat.com>
Date : 2026-10-28T10:35:54+01:00
Stats : +77/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/354255b1a2cd11b44ba9633a44a40770186b93e9?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium-disable-eula-popup.patch b/chromium-disable-eula-popup.patch
new file mode 100644
index 0000000..138d44d
--- /dev/null
+++ b/chromium-disable-eula-popup.patch
@@ -0,0 +1,12 @@
+diff -up chromium-156.0.8078.47/chrome/browser/first_run/first_run.h.me chromium-156.0.8078.47/chrome/browser/first_run/first_run.h
+--- chromium-156.0.8078.47/chrome/browser/first_run/first_run.h.me 2026-10-27 17:44:12.180031165 +0100
++++ chromium-156.0.8078.47/chrome/browser/first_run/first_run.h 2026-10-27 17:44:55.586434323 +0100
+@@ -74,7 +74,7 @@ struct MasterPrefs {
+ bool confirm_to_quit;
+ #endif
+ #if BUILDFLAG(IS_LINUX)
+- bool eula_required = true;
++ bool eula_required = false;
+ #endif
+ };
+
diff --git a/chromium.spec b/chromium.spec
index 394d6b4..7a81a09 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -64,7 +64,7 @@
%global system_esbuild 1
%global esbuild_version 0.28.2
%if 0%{?rhel}
-%global system_esbuild 0
+%global system_esbuild 1
%endif
# set nodejs_version
@@ -282,7 +282,7 @@
%endif
Name: chromium
-Version: 156.0.8078.47
+Version: 156.0.8078.73
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -320,6 +320,9 @@ Patch24: glibc-2.42-baud-rate-fix.patch
# fix FTBFS with old pipewire on fedora < 44 and epel
Patch25: chromium-153-ftbfs-pipewire-api.patch
+# Disable Eula popup
+Patch26: chromium-disable-eula-popup.patch
+
# disable enterprise_companion_integration_tests due to Unresolved dependencies
Patch31: chromium-145-disable-enterprise_companion_integration_tests.patch
@@ -925,7 +928,6 @@ BuildRequires: simdutf-devel
# esbuild is needed
%if %{system_esbuild}
BuildRequires: golang-github-evanw-esbuild
-BuildRequires: nodejs-esbuild
%endif
# There is a hardcoded check for nss 3.26 in the chromium code (crypto/nss_util.cc)
@@ -1122,6 +1124,7 @@ Qt6 UI for chromium.
%patch -P24 -p1 -b .glibc-2.42-baud-rate-fix
%endif
%patch -P25 -p1 -b .ftbfs-pipewire-api
+%patch -P26 -p1 -b .disable-eula-popup
%patch -P31 -p1 -b .disable-enterprise_companion_integration_tests
%if ! %{bundlebrotli}
@@ -1312,7 +1315,6 @@ mkdir -p third_party/node/linux/node-linux-x64/bin
mkdir -p third_party/devtools-frontend/src/third_party/esbuild
%if %{system_esbuild}
ln -s $(which esbuild) third_party/devtools-frontend/src/third_party/esbuild/esbuild
-cp -a /usr/lib/node_modules/*esbuild* third_party/devtools-frontend/src/node_modules/
%else
%ifarch x86_64
tar xf %{SOURCE15} -C third_party/devtools-frontend/src/third_party/
@@ -1989,6 +1991,61 @@ fi
%endif
%changelog
+* Wed Oct 28 2026 Than Ngo <than@redhat.com> - 156.0.8078.73-1
+- Update to 156.0.8078.73, include 52 security fixes
+ * CVE-2026-118304: Improper input validation in SVG
+ * CVE-2026-118305: Memory corruption in Turbolev
+ * CVE-2026-118306: Memory corruption in FileSystem
+ * CVE-2026-118307: Use after free in Paint
+ * CVE-2026-118308: Use after free in SVG
+ * CVE-2026-118309: Improper input validation in UI
+ * CVE-2026-118310: Improper input validation in Views
+ * CVE-2026-118311: Memory corruption in Media
+ * CVE-2026-118312: Memory corruption in Paint
+ * CVE-2026-118313: Use after free in Video
+ * CVE-2026-118314: Improper input validation in UI
+ * CVE-2026-118315: Improper input validation in SVG
+ * CVE-2026-118316: Improper input validation in V8
+ * CVE-2026-118317: Memory corruption in HTML
+ * CVE-2026-118318: Improper access control in V8
+ * CVE-2026-118319: Memory corruption in Skia
+ * CVE-2026-118320: Memory corruption in V8
+ * CVE-2026-118321: Improper input validation in Core
+ * CVE-2026-118322: Memory corruption in ANGLE
+ * CVE-2026-118327: Memory corruption in Media
+ * CVE-2026-118328: Improper input validation in WebRTC
+ * CVE-2026-118329: Improper input validation in ANGLE
+ * CVE-2026-118330: Use after free in Browser
+ * CVE-2026-118331: Improper input validation in FileAPI
+ * CVE-2026-118332: Improper input validation in Compositing
+ * CVE-2026-118333: Missing authorization in Video
+ * CVE-2026-118334: Use after free in ImageCapture
+ * CVE-2026-118335: Improper input validation in Metrics
+ * CVE-2026-118336: Improper input validation in Headless
+ * CVE-2026-118337: Improper access control in Forms
+ * CVE-2026-118338: Use after free in Animation
+ * CVE-2026-118339: Use after free in Animation
+ * CVE-2026-118340: Memory corruption in Skia
+ * CVE-2026-118341: Use after free in Modularization
+ * CVE-2026-118342: Out of bounds write in Editing
+ * CVE-2026-118343: Improper input validation in ReadingList
+ * CVE-2026-118344: Use after free in Layout
+ * CVE-2026-118345: Use after free in PDFium
+ * CVE-2026-118346: Use after free in Compositing
+ * CVE-2026-118347: Use after free in FileSystem
+ * CVE-2026-118348: Improper input validation in Skia
+ * CVE-2026-118349: Memory corruption in Payments
+ * CVE-2026-118350: Use after free in Turbolev
+ * CVE-2026-118351: Memory corruption in Skia
+ * CVE-2026-118352: Memory corruption in Cache
+ * CVE-2026-118353: Use after free in Paint
+ * CVE-2026-118354: Improper input validation in Skia
+ * CVE-2026-118355: Improper input validation in Command
+ * CVE-2026-118356: Use after free in WTF
+ * CVE-2026-118357: Use after free in FileSystem
+ * CVE-2026-118358: Memory corruption in WebAudio
+ * CVE-2026-118359: Memory corruption in V8
+
* Wed Oct 21 2026 Than Ngo <than@redhat.com> - 156.0.8078.47-1
- Update to 156.0.8078.47, include 353 security fixes
* CVE-2026-112992: Memory corruption in Canvas
diff --git a/sources b/sources
index 4c8d18a..e3f5744 100644
--- a/sources
+++ b/sources
@@ -3,4 +3,4 @@ SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae4
SHA512 (linux-arm64-0.28.2.tgz) = a56e000b43f78adf1cedda3d315338a79d45cc7cdd33f4d9adeaeeae045c1c9d964dad55435088ab5f319dc7e9049c38a23922659aca5b6c8805604ff768fa52
SHA512 (linux-ppc64-0.28.2.tgz) = 0805e5f83b5df5452e25df2928a77087a30b9b7314322a8c3e6859ded4d25cfa9fc90def0e5e91e6165d67f918a232b8a1f5ed75f4afd6d16af17cd6c7785e35
SHA512 (linux-x64-0.28.2.tgz) = e314d9af5154992a105b85c85a68addedcd0ad44d933e3773f45d5f3144e298179d177c8ef178ef74fb56d9bcdc3122e7d0f610d0551247e588603d517c03f1d
-SHA512 (chromium-156.0.8078.47-clean.tar.xz) = 9b0391c151c170659ca1c8da5a04813470abad9dc41821680c808eb54239328df005dddc7036d35c9177a9b2bd9f523ffaee8caf1f2b89074ed4b7208f313778
+SHA512 (chromium-156.0.8078.73-clean.tar.xz) = fbff122743bfaaa090923f48d38b8a2942e31625c15df97a9fb4bbfafb3f24beea672e5310c9fee4127aa112839c19d5fbf8325f31bde2c261eb320a9cd48aa5
diff --git a/chromium.spec b/chromium.spec
index 7529529..7a81a09 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2927,6 +2927,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-21 16:26 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-21 16:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : b0e92e9a4a3c9ca2edd85c3a5f470fc53854de34
Author : Than Ngo <than@redhat.com>
Date : 2026-10-21T18:26:29+02:00
Stats : +11772/-146017 in 45 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/b0e92e9a4a3c9ca2edd85c3a5f470fc53854de34?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/0001-Add-PPC64-support-for-boringssl.patch b/0001-Add-PPC64-support-for-boringssl.patch
index 465beb8..9aca4a7 100644
--- a/0001-Add-PPC64-support-for-boringssl.patch
+++ b/0001-Add-PPC64-support-for-boringssl.patch
@@ -1,7 +1,7 @@
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/abi_self_test.cc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/abi_self_test.cc
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/abi_self_test.cc
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/abi_self_test.cc
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/abi_self_test.cc
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/abi_self_test.cc
@@ -525,5 +525,291 @@ TEST(ABITest, AArch64) {
}
#endif // OPENSSL_AARCH64 && SUPPORTS_ABI_TEST
@@ -294,10 +294,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/abi_self_test.cc
+
} // namespace
BSSL_NAMESPACE_END
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/cpu_ppc64le.cc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/cpu_ppc64le.cc
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/cpu_ppc64le.cc
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/cpu_ppc64le.cc
@@ -0,0 +1,40 @@
+/* Copyright (c) 2016, Google Inc.
+ *
@@ -339,10 +339,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/cpu_ppc64le.cc
+}
+
+#endif // OPENSSL_PPC64LE
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/crypto.cc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/crypto.cc
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/crypto.cc
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/crypto.cc
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/crypto.cc
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/crypto.cc
@@ -69,6 +69,10 @@ uint32_t bssl::OPENSSL_get_ia32cap(int i
return OPENSSL_ia32cap_P[idx];
}
@@ -354,10 +354,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/crypto.cc
#elif (defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)) && \
!defined(OPENSSL_STATIC_ARMCAP)
HIDDEN uint32_t bssl::OPENSSL_armcap_P = 0;
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/aes/asm/aesp8-ppc.pl
@@ -0,0 +1,3809 @@
+#! /usr/bin/env perl
+# Copyright 2014-2018 The OpenSSL Project Authors. All Rights Reserved.
@@ -4168,10 +4168,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/as
+}
+
+close STDOUT or die "error closing STDOUT: $!";
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/aes/internal.h
@@ -81,6 +81,12 @@ inline int vpaes_capable() { return CRYP
inline int vpaes_capable() { return CRYPTO_is_NEON_capable(); }
#endif
@@ -4199,10 +4199,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/in
#endif
#endif // OPENSSL_NO_ASM
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/bcm.cc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/bcm.cc
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/fipsmodule/bcm.cc
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/bcm.cc
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/fipsmodule/bcm.cc
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/bcm.cc
@@ -111,6 +111,7 @@ OPENSSL_CLANG_PRAGMA("clang diagnostic i
#include "self_check/fips.cc.inc"
#include "self_check/self_check.cc.inc"
@@ -4211,10 +4211,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/bcm.cc
#include "sha/sha1.cc.inc"
#include "sha/sha256.cc.inc"
#include "sha/sha512.cc.inc"
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.cc.inc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.cc.inc
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.cc.inc
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.cc.inc
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.cc.inc
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.cc.inc
@@ -1234,6 +1234,8 @@ int EVP_has_aes_hardware() {
return hwaes_capable() && crypto_gcm_clmul_enabled();
#elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
@@ -4224,10 +4224,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/cipher
#else
return 0;
#endif
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/asm/ghashp8-ppc.pl
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/aes/asm/ghashp8-ppc.pl
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/asm/ghashp8-ppc.pl
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/aes/asm/ghashp8-ppc.pl
@@ -0,0 +1,671 @@
+#! /usr/bin/env perl
+# Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
@@ -4900,10 +4900,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/as
+}
+
+close STDOUT or die "error closing STDOUT: $!"; # enforce flush
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/gcm.cc.inc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/aes/gcm.cc.inc
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/fipsmodule/aes/gcm.cc.inc
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/gcm.cc.inc
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/fipsmodule/aes/gcm.cc.inc
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/aes/gcm.cc.inc
@@ -243,6 +243,13 @@ void bssl::CRYPTO_ghash_init(gmult_func
*out_hash = gcm_ghash_neon;
return;
@@ -4918,10 +4918,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/gc
#endif
gcm_init_nohw(out_table, H);
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/gcm_test.cc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/aes/gcm_test.cc
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/fipsmodule/aes/gcm_test.cc
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/gcm_test.cc
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/fipsmodule/aes/gcm_test.cc
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/aes/gcm_test.cc
@@ -185,6 +185,16 @@ TEST(GCMTest, ABI) {
}
}
@@ -4939,10 +4939,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/aes/gc
}
#endif // SUPPORTS_ABI_TEST && !OPENSSL_NO_ASM
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/rand/rand.cc.inc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/rand/rand.cc.inc
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/fipsmodule/rand/rand.cc.inc
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/rand/rand.cc.inc
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/fipsmodule/rand/rand.cc.inc
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/rand/rand.cc.inc
@@ -433,6 +433,11 @@ bcm_infallible bssl::BCM_rand_bytes_with
// Take a read lock around accesses to `state->drbg`. This is needed to
// avoid returning bad entropy if we race with
@@ -4955,10 +4955,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/rand/r
state->clear_drbg_lock.LockRead();
#endif
if (!CTR_DRBG_reseed_ex(&state->drbg, seed, sizeof(seed),
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/sha/internal.h
@@ -22,6 +22,16 @@
BSSL_NAMESPACE_BEGIN
@@ -4976,10 +4976,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/sha/in
// Define SHA{n}[_{variant}]_ASM if sha{n}_block_data_order[_{variant}] is
// defined in assembly.
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.cc.inc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.cc.inc
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.cc.inc
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/sha/sha1-altivec.cc.inc
@@ -0,0 +1,369 @@
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.ccom)
+ * All rights reserved.
@@ -5350,10 +5350,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/sha/sh
+#undef BODY_20_39
+#undef BODY_40_59
+#undef BODY_60_79
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/internal.h
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/internal.h
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/internal.h
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/internal.h
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/internal.h
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/internal.h
@@ -68,11 +68,12 @@
BSSL_NAMESPACE_BEGIN
@@ -5370,7 +5370,7 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/internal.h
#define NEED_CPUID
// OPENSSL_cpuid_setup initializes the platform-specific feature cache. This
-@@ -1431,6 +1432,16 @@ inline int CRYPTO_is_ARMv8_SHA3_capable(
+@@ -1494,6 +1495,16 @@ inline int CRYPTO_is_ARMv8_SHA3_capable(
#endif // OPENSSL_ARM || OPENSSL_AARCH64
@@ -5387,10 +5387,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/internal.h
#if defined(BORINGSSL_DISPATCH_TEST)
// Runtime CPU dispatch testing support
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/perlasm/ppc-xlate.pl
@@ -0,0 +1,320 @@
+#! /usr/bin/env perl
+# Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.
@@ -5712,10 +5712,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/perlasm/ppc-xlate
+___
+
+close STDOUT or die "error closing STDOUT: $!";
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/test/abi_test.h
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/test/abi_test.h
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/test/abi_test.h
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/test/abi_test.h
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/test/abi_test.h
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/test/abi_test.h
@@ -180,7 +180,78 @@ struct alignas(16) Reg128 {
CALLER_STATE_REGISTER(uint64_t, x28) \
CALLER_STATE_REGISTER(uint64_t, x29)
@@ -5822,10 +5822,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/test/abi_test.h
static_assert(sizeof...(args) <= 8,
"too many arguments for abi_test_trampoline");
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/test/asm/trampoline-ppc.pl
@@ -0,0 +1,262 @@
+#!/usr/bin/env perl
+# Copyright (c) 2019, Google Inc.
@@ -6089,10 +6089,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/test/asm/trampoli
+
+print $code;
+close STDOUT or die "error closing STDOUT: $!";
-Index: chromium-151.0.7922.47/third_party/boringssl/src/include/openssl/target.h
+Index: chromium-156.0.8078.35/third_party/boringssl/src/include/openssl/target.h
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/include/openssl/target.h
-+++ chromium-151.0.7922.47/third_party/boringssl/src/include/openssl/target.h
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/include/openssl/target.h
++++ chromium-156.0.8078.35/third_party/boringssl/src/include/openssl/target.h
@@ -34,6 +34,9 @@
#elif defined(__ARMEL__) || defined(_M_ARM)
#define OPENSSL_32_BIT
@@ -6103,10 +6103,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/include/openssl/target.h
#elif defined(__MIPSEL__) && !defined(__LP64__)
#define OPENSSL_32_BIT
#define OPENSSL_MIPS
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
@@ -31,6 +31,8 @@ int main(int argc, char **argv) {
puts("ARM (32-bit)");
#elif defined(OPENSSL_AARCH64)
@@ -6116,10 +6116,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/acvp/modu
#else
#error "FIPS build not supported on this architecture"
#endif
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/delocate.go
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/delocate.go
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/util/fipstools/delocate/delocate.go
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/delocate.go
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/util/fipstools/delocate/delocate.go
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/delocate.go
@@ -56,7 +56,8 @@ type stringWriter interface {
type processorType int
@@ -6719,10 +6719,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
case "str", "bl", "ldr", "st1":
return aarch64
}
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/delocate.peg
@@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
@@ -6736,10 +6736,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
# To regenerate delocate.peg.go:
#
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/delocate_test.go
@@ -40,6 +40,11 @@ func (test *delocateTest) Path(file stri
var delocateTests = []delocateTest{
{"generic-AddrSig", []string{"in.s"}, "out.s"},
@@ -6752,10 +6752,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
{"x86_64-Basic", []string{"in.s"}, "out.s"},
{"x86_64-BSS", []string{"in.s"}, "out.s"},
{"x86_64-GOTRewrite", []string{"in.s"}, "out.s"},
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/in.s
@@ -0,0 +1,9 @@
+ .text
+foo:
@@ -6766,10 +6766,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
+ .localentry foo,.-foo
+.LVL0:
+ bl
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
@@ -0,0 +1,62 @@
+.text
+.file 1 "inserted_by_delocate.cc"
@@ -6833,19 +6833,19 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
+.byte 0xff
+.byte 0x31
+.byte 0x80
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/in.s
@@ -0,0 +1,4 @@
+ .text
+foo:
+ addis 22,2,bar@toc@ha
+ ld 0,bar@toc@l(22)
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
@@ -0,0 +1,72 @@
+.text
+.file 1 "inserted_by_delocate.cc"
@@ -6919,10 +6919,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
+.byte 0xff
+.byte 0x31
+.byte 0x80
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/in.s
@@ -0,0 +1,161 @@
+ .file "foo.cc"
+ .abiversion 2
@@ -7085,10 +7085,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
+ .size exported_function,.-exported_function
+ .ident "GCC: (Ubuntu 4.9.2-10ubuntu13) 4.9.2"
+ .section .note.GNU-stack,"",@progbits
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample/out.s
@@ -0,0 +1,552 @@
+.text
+.file 1 "inserted_by_delocate.cc"
@@ -7642,10 +7642,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
+.byte 0xff
+.byte 0x31
+.byte 0x80
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/in.s
@@ -0,0 +1,226 @@
+ .file "foo.cc"
+ .abiversion 2
@@ -7873,10 +7873,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
+ .zero 20
+ .ident "GCC: (Ubuntu 4.9.2-10ubuntu13) 4.9.2"
+ .section .note.GNU-stack,"",@progbits
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
@@ -0,0 +1,677 @@
+.text
+.file 1 "inserted_by_delocate.cc"
@@ -8555,10 +8555,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
+.byte 0xff
+.byte 0x31
+.byte 0x80
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/in.s
@@ -0,0 +1,23 @@
+ .text
+foo:
@@ -8583,10 +8583,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
+
+ addis 4, 2, 1+foo-2@toc@ha+3
+ addi 4, 4, 1+foo-2@toc@l+3
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
@@ -0,0 +1,178 @@
+.text
+.file 1 "inserted_by_delocate.cc"
@@ -8766,10 +8766,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/fipstools/delocate/
+.byte 0xff
+.byte 0x31
+.byte 0x80
-Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.cc.inc
+Index: chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.cc.inc
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.cc.inc
-+++ chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.cc.inc
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.cc.inc
++++ chromium-156.0.8078.35/third_party/boringssl/src/crypto/fipsmodule/sha/sha1.cc.inc
@@ -381,6 +381,10 @@ static void sha1_block_data_order(uint32
return;
}
@@ -8781,10 +8781,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/crypto/fipsmodule/sha/sh
sha1_block_data_order_nohw(state, data, num);
}
-Index: chromium-151.0.7922.47/third_party/boringssl/src/build.json
+Index: chromium-156.0.8078.35/third_party/boringssl/src/build.json
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/build.json
-+++ chromium-151.0.7922.47/third_party/boringssl/src/build.json
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/build.json
++++ chromium-156.0.8078.35/third_party/boringssl/src/build.json
@@ -129,6 +129,10 @@
{"src": "crypto/fipsmodule/sha/asm/sha512-armv4.pl"},
{"src": "crypto/fipsmodule/aes/asm/vpaes-armv7.pl"}
@@ -8804,7 +8804,7 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/build.json
"crypto/crypto.cc",
"crypto/curve25519/curve25519.cc",
"crypto/curve25519/curve25519_64_adx.cc",
-@@ -811,6 +816,9 @@
+@@ -812,6 +817,9 @@
"perlasm_arm": [
{"src": "crypto/test/asm/trampoline-armv4.pl"}
],
@@ -8814,10 +8814,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/build.json
"perlasm_x86": [
{"src": "crypto/test/asm/trampoline-x86.pl"}
],
-Index: chromium-151.0.7922.47/third_party/boringssl/src/util/pregenerate/build.go
+Index: chromium-156.0.8078.35/third_party/boringssl/src/util/pregenerate/build.go
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/util/pregenerate/build.go
-+++ chromium-151.0.7922.47/third_party/boringssl/src/util/pregenerate/build.go
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/util/pregenerate/build.go
++++ chromium-156.0.8078.35/third_party/boringssl/src/util/pregenerate/build.go
@@ -39,6 +39,7 @@ type InputTarget struct {
// architecture.
PerlasmAarch64 []PerlasmSource `json:"perlasm_aarch64,omitempty"`
@@ -8826,7 +8826,7 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/pregenerate/build.g
PerlasmX86 []PerlasmSource `json:"perlasm_x86,omitempty"`
PerlasmX86_64 []PerlasmSource `json:"perlasm_x86_64,omitempty"`
// Hdrs are C++ headers.
-@@ -124,6 +125,9 @@ func (in *InputTarget) Pregenerate(name
+@@ -144,6 +145,9 @@ func (in *InputTarget) Pregenerate(name
for _, p := range in.PerlasmArm {
asmSrcs = append(asmSrcs, addPerlasmTask(&out.Asm, &p, "-linux.S", []string{"linux32"}))
}
@@ -8836,10 +8836,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/util/pregenerate/build.g
for _, p := range in.PerlasmX86 {
asmSrcs = append(asmSrcs,
addPerlasmTask(&out.Asm, &p, "-apple.S", []string{"macosx", "-fPIC"}),
-Index: chromium-151.0.7922.47/third_party/boringssl/README.ppc64le
+Index: chromium-156.0.8078.35/third_party/boringssl/README.ppc64le
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/third_party/boringssl/README.ppc64le
++++ chromium-156.0.8078.35/third_party/boringssl/README.ppc64le
@@ -0,0 +1,8 @@
+==============================================================
+To recreate boringssl pregenerated files patch for ppc64le:
@@ -8849,10 +8849,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/README.ppc64le
+go run ./util/pregenerate
+cd ../../../../
+diff -urN chromium-*/third_party/boringssl/src/gen.orig chromium-*/third_party/boringssl/src/gen
-Index: chromium-151.0.7922.47/third_party/boringssl/src/gen/sources.gni
+Index: chromium-156.0.8078.35/third_party/boringssl/src/gen/sources.gni
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/gen/sources.gni
-+++ chromium-151.0.7922.47/third_party/boringssl/src/gen/sources.gni
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/gen/sources.gni
++++ chromium-156.0.8078.35/third_party/boringssl/src/gen/sources.gni
@@ -122,6 +122,7 @@ bcm_sources_asm = [
"gen/bcm/aesv8-gcm-armv8-apple.S",
"gen/bcm/aesv8-gcm-armv8-linux.S",
@@ -8877,10 +8877,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/gen/sources.gni
"crypto/crypto.cc",
"crypto/curve25519/curve25519.cc",
"crypto/curve25519/curve25519_64_adx.cc",
-Index: chromium-151.0.7922.47/third_party/boringssl/src/gen/sources.bzl
+Index: chromium-156.0.8078.35/third_party/boringssl/src/gen/sources.bzl
===================================================================
---- chromium-151.0.7922.47.orig/third_party/boringssl/src/gen/sources.bzl
-+++ chromium-151.0.7922.47/third_party/boringssl/src/gen/sources.bzl
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/gen/sources.bzl
++++ chromium-156.0.8078.35/third_party/boringssl/src/gen/sources.bzl
@@ -115,6 +115,7 @@ bcm_sources_asm = [
"gen/bcm/aesni-x86-linux.S",
"gen/bcm/aesni-x86_64-apple.S",
@@ -8905,10 +8905,10 @@ Index: chromium-151.0.7922.47/third_party/boringssl/src/gen/sources.bzl
"crypto/crypto.cc",
"crypto/curve25519/curve25519.cc",
"crypto/curve25519/curve25519_64_adx.cc",
-Index: chromium-151.0.7922.47/third_party/perfetto/buildtools/grpc/BUILD.gn
+Index: chromium-156.0.8078.35/third_party/perfetto/buildtools/grpc/BUILD.gn
===================================================================
---- chromium-151.0.7922.47.orig/third_party/perfetto/buildtools/grpc/BUILD.gn
-+++ chromium-151.0.7922.47/third_party/perfetto/buildtools/grpc/BUILD.gn
+--- chromium-156.0.8078.35.orig/third_party/perfetto/buildtools/grpc/BUILD.gn
++++ chromium-156.0.8078.35/third_party/perfetto/buildtools/grpc/BUILD.gn
@@ -99,6 +99,7 @@ static_library("boringssl") {
"src/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.cc",
"src/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.cc",
diff --git a/0001-Add-ppc64-target-to-libaom.patch b/0001-Add-ppc64-target-to-libaom.patch
index b6d5ffe..ae26c97 100644
--- a/0001-Add-ppc64-target-to-libaom.patch
+++ b/0001-Add-ppc64-target-to-libaom.patch
@@ -8,11 +8,11 @@ Subject: [PATCH] Add ppc64 target to libaom
third_party/libaom/cmake_update.sh | 3 +++
2 files changed, 15 insertions(+)
-Index: chromium-144.0.7559.59/third_party/libaom/BUILD.gn
+Index: chromium-156.0.8078.35/third_party/libaom/BUILD.gn
===================================================================
---- chromium-144.0.7559.59.orig/third_party/libaom/BUILD.gn
-+++ chromium-144.0.7559.59/third_party/libaom/BUILD.gn
-@@ -299,6 +299,18 @@ if (current_cpu == "arm64" || current_cp
+--- chromium-156.0.8078.35.orig/third_party/libaom/BUILD.gn
++++ chromium-156.0.8078.35/third_party/libaom/BUILD.gn
+@@ -292,6 +292,18 @@ if (current_cpu == "arm64" || current_cp
}
}
@@ -31,7 +31,7 @@ Index: chromium-144.0.7559.59/third_party/libaom/BUILD.gn
static_library("libaom") {
check_includes = false
if (!is_debug && is_win) {
-@@ -368,6 +380,9 @@ static_library("libaom") {
+@@ -361,6 +373,9 @@ static_library("libaom") {
# This is needed by all arm boards due to aom_arm_cpu_caps()
sources += [ "source/libaom/aom_ports/aarch32_cpudetect.c" ]
}
@@ -41,11 +41,11 @@ Index: chromium-144.0.7559.59/third_party/libaom/BUILD.gn
if (is_android) {
deps += [ "//third_party/cpu_features:ndk_compat" ]
}
-Index: chromium-144.0.7559.59/third_party/libaom/cmake_update.sh
+Index: chromium-156.0.8078.35/third_party/libaom/cmake_update.sh
===================================================================
---- chromium-144.0.7559.59.orig/third_party/libaom/cmake_update.sh
-+++ chromium-144.0.7559.59/third_party/libaom/cmake_update.sh
-@@ -167,6 +167,9 @@ egrep \
+--- chromium-156.0.8078.35.orig/third_party/libaom/cmake_update.sh
++++ chromium-156.0.8078.35/third_party/libaom/cmake_update.sh
+@@ -168,6 +168,9 @@ egrep \
"#define [A-Z0-9_]+[[:space:]]+[01]" "${CFG}/win/ia32/config/aom_config.h" \
| awk '{print "%define " $2 " " $3}' > "${CFG}/win/ia32/config/aom_config.asm"
diff --git a/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch b/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
index 50c89b4..44a7ee4 100644
--- a/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
+++ b/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
@@ -1,7 +1,7 @@
-Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
+Index: chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
===================================================================
--- /dev/null
-+++ chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
++++ chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
@@ -0,0 +1,100 @@
+;
+; Copyright (c) 2017, Alliance for Open Media. All rights reserved.
@@ -103,10 +103,10 @@ Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/confi
+HAVE_VSX equ 1
+HAVE_WXWIDGETS equ 0
+STATIC_LINK_JXL equ 0
-Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
+Index: chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
===================================================================
--- /dev/null
-+++ chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
++++ chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
@@ -121,10 +121,10 @@ Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/confi
+#include "aom/aom_codec.h"
+static const char* const cfg = "cmake ../source/libaom -G \"Unix Makefiles\" -DCMAKE_TOOLCHAIN_FILE=\"../source/libaom/cmake/toolchains/ppc-linux-gcc.cmake\" -DCONFIG_AV1_DECODER=0 -DCONFIG_AV1_ENCODER=1 -DCONFIG_AV1_HIGHBITDEPTH=0 -DCONFIG_AV1_TEMPORAL_DENOISING=0 -DCONFIG_QUANT_MATRIX=0 -DCONFIG_REALTIME_ONLY=1 -DCONFIG_DENOISE=0 -DCONFIG_SIZE_LIMIT=1 -DDECODE_HEIGHT_LIMIT=16384 -DDECODE_WIDTH_LIMIT=16384";
+const char *aom_codec_build_config(void) {return cfg;}
-Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
+Index: chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
===================================================================
--- /dev/null
-+++ chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
++++ chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
@@ -0,0 +1,103 @@
+/*
+ * Copyright (c) 2017, Alliance for Open Media. All rights reserved.
@@ -229,10 +229,10 @@ Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/confi
+#define HAVE_WXWIDGETS 0
+#define STATIC_LINK_JXL 0
+#endif // AOM_CONFIG_H_
-Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
===================================================================
--- /dev/null
-+++ chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
++++ chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
@@ -0,0 +1,1183 @@
+/*
+ * Copyright (c) 2017, Alliance for Open Media. All rights reserved.
@@ -1417,10 +1417,10 @@ Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/confi
+#endif
+
+#endif // AOM_DSP_RTCD_H_
-Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
===================================================================
--- /dev/null
-+++ chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
++++ chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
@@ -0,0 +1,88 @@
+/*
+ * Copyright (c) 2017, Alliance for Open Media. All rights reserved.
@@ -1510,10 +1510,10 @@ Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/confi
+#endif
+
+#endif // AOM_SCALE_RTCD_H_
-Index: chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
===================================================================
--- /dev/null
-+++ chromium-152.0.7977.64/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
++++ chromium-156.0.8078.35/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
@@ -0,0 +1,405 @@
+/*
+ * Copyright (c) 2017, Alliance for Open Media. All rights reserved.
diff --git a/0001-Enable-ppc64-pointer-compression.patch b/0001-Enable-ppc64-pointer-compression.patch
index a7197a5..50092bf 100644
--- a/0001-Enable-ppc64-pointer-compression.patch
+++ b/0001-Enable-ppc64-pointer-compression.patch
@@ -1,8 +1,8 @@
-Index: chromium-144.0.7559.59/v8/gni/v8.gni
+Index: chromium-156.0.8078.35/v8/gni/v8.gni
===================================================================
---- chromium-144.0.7559.59.orig/v8/gni/v8.gni
-+++ chromium-144.0.7559.59/v8/gni/v8.gni
-@@ -317,7 +317,7 @@ assert(
+--- chromium-156.0.8078.35.orig/v8/gni/v8.gni
++++ chromium-156.0.8078.35/v8/gni/v8.gni
+@@ -348,7 +348,7 @@ assert(
if (v8_enable_pointer_compression == "") {
v8_enable_pointer_compression =
v8_current_cpu == "arm64" || v8_current_cpu == "x64" ||
diff --git a/0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch b/0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
index 1733d70..080dee5 100644
--- a/0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
+++ b/0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
@@ -8,11 +8,11 @@ Subject: [PATCH] Force baseline POWER8 / AltiVec / VSX CPU features when on a
BUILD.gn | 6 ++++++
1 file changed, 6 insertions(+)
-Index: chromium-155.0.8059.39/v8/BUILD.gn
+Index: chromium-156.0.8078.35/v8/BUILD.gn
===================================================================
---- chromium-155.0.8059.39.orig/v8/BUILD.gn
-+++ chromium-155.0.8059.39/v8/BUILD.gn
-@@ -1775,7 +1775,14 @@ config("toolchain") {
+--- chromium-156.0.8078.35.orig/v8/BUILD.gn
++++ chromium-156.0.8078.35/v8/BUILD.gn
+@@ -1779,7 +1779,14 @@ config("toolchain") {
if (v8_current_cpu == "ppc64") {
defines += [ "V8_TARGET_ARCH_PPC64" ]
cflags += [ "-ffp-contract=off" ]
diff --git a/0001-Implement-support-for-PPC64-on-Linux.patch b/0001-Implement-support-for-PPC64-on-Linux.patch
index 772cd3c..4862a0f 100644
--- a/0001-Implement-support-for-PPC64-on-Linux.patch
+++ b/0001-Implement-support-for-PPC64-on-Linux.patch
@@ -40,20 +40,20 @@ This patch implements support for the PPC64 architecture on Linux hosts.
util/misc/capture_context_test_util_linux.cc | 6 +
36 files changed, 932 insertions(+), 12 deletions(-)
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/CONTRIBUTORS
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/CONTRIBUTORS
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/CONTRIBUTORS
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/CONTRIBUTORS
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/CONTRIBUTORS
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/CONTRIBUTORS
@@ -13,3 +13,5 @@ Mark Mentovai <mark@chromium.org>
Robert Sesek <rsesek@chromium.org>
Scott Graham <scottmg@chromium.org>
Joshua Peraza <jperaza@chromium.org>
+Shawn Anastasio <sanastasio@raptorengineering.com>
+Timothy Pearson <tpearson@raptorengineering.com>
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_context.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/minidump/minidump_context.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_context.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context.h
@@ -686,6 +686,70 @@ struct MinidumpContextRISCV64 {
uint32_t fcsr;
};
@@ -125,10 +125,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_co
} // namespace crashpad
#endif // CRASHPAD_MINIDUMP_MINIDUMP_CONTEXT_H_
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
@@ -110,6 +110,13 @@ MinidumpContextWriter::CreateFromSnapsho
break;
}
@@ -192,10 +192,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_co
+}
} // namespace crashpad
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
@@ -413,6 +413,49 @@ class MinidumpContextRISCV64Writer final
MinidumpContextRISCV64 context_;
};
@@ -246,10 +246,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_co
} // namespace crashpad
#endif // CRASHPAD_MINIDUMP_MINIDUMP_CONTEXT_WRITER_H_
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
@@ -322,6 +322,21 @@ TYPED_TEST(MinidumpContextWriter, RISCV6
TypeParam>(context, ExpectMinidumpContextRISCV64, kSeed);
}
@@ -272,10 +272,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_co
} // namespace
} // namespace test
} // namespace crashpad
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
@@ -177,6 +177,8 @@ std::string MinidumpMiscInfoDebugBuildSt
static constexpr char kCPU[] = "mips64";
#elif defined(ARCH_CPU_RISCV64)
@@ -285,10 +285,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/minidump_mi
#else
#error define kCPU for this CPU
#endif
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
@@ -297,6 +297,40 @@ void InitializeMinidumpContextRISCV64(Mi
context->fcsr = value++;
}
@@ -369,10 +369,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/test/minidu
+
} // namespace test
} // namespace crashpad
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
@@ -90,6 +90,9 @@ void ExpectMinidumpContextMIPS64(uint32_
void ExpectMinidumpContextRISCV64(uint32_t expect_seed,
const MinidumpContextRISCV64* observed,
@@ -383,10 +383,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/minidump/test/minidu
//! \}
} // namespace test
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/capture_memory.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/capture_memory.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/capture_memory.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/capture_memory.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/capture_memory.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/capture_memory.cc
@@ -123,6 +123,11 @@ void CaptureMemory::PointedToByContext(c
for (size_t i = 0; i < std::size(context.riscv64->regs); ++i) {
MaybeCaptureMemoryAround(delegate, context.riscv64->regs[i]);
@@ -399,10 +399,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/capture_mem
#else
#error Port.
#endif
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
@@ -47,6 +47,9 @@ enum CPUArchitecture {
//! \brief 64-bit RISC-V.
@@ -413,10 +413,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/cpu_archite
};
} // namespace crashpad
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/cpu_context.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/cpu_context.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/cpu_context.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/cpu_context.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.cc
@@ -173,6 +173,8 @@ uint64_t CPUContext::InstructionPointer(
return arm64->pc;
case kCPUArchitectureRISCV64:
@@ -443,10 +443,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/cpu_context
case kCPUArchitectureRISCV64:
return true;
case kCPUArchitectureX86:
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/cpu_context.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/cpu_context.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/cpu_context.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/cpu_context.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.h
@@ -371,6 +371,24 @@ struct CPUContextRISCV64 {
uint32_t fcsr;
};
@@ -480,10 +480,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/cpu_context
};
};
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
@@ -15,6 +15,7 @@
#ifndef CRASHPAD_SNAPSHOT_LINUX_CPU_CONTEXT_LINUX_H_
#define CRASHPAD_SNAPSHOT_LINUX_CPU_CONTEXT_LINUX_H_
@@ -571,10 +571,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/cpu_c
} // namespace internal
} // namespace crashpad
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
@@ -194,12 +194,15 @@ void TestAgainstTarget(PtraceConnection*
device == 0 && inode == 0 && mapping_name == "[vdso]";
#if defined(ARCH_CPU_X86)
@@ -592,10 +592,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/debug
},
module_mapping->name,
module_mapping->device,
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
@@ -367,6 +367,69 @@ bool ExceptionSnapshotLinux::ReadContext
return internal::ReadContext(reader, context_address, context_.riscv64);
}
@@ -666,10 +666,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/excep
#endif // ARCH_CPU_X86_FAMILY
bool ExceptionSnapshotLinux::Initialize(
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
@@ -94,6 +94,8 @@ class ExceptionSnapshotLinux final : pub
CPUContextMIPS64 mips64;
#elif defined(ARCH_CPU_RISCV64)
@@ -679,11 +679,11 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/excep
#endif
} context_union_;
CPUContext context_;
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
-@@ -325,7 +325,28 @@ void ExpectContext(const CPUContext& act
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
+@@ -326,7 +326,28 @@ void ExpectContext(const CPUContext& act
sizeof(actual.riscv64->fpregs)),
0);
}
@@ -712,10 +712,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/excep
#else
#error Port.
#endif
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
@@ -129,6 +129,8 @@ void ProcessReaderLinux::Thread::Initial
: thread_info.thread_context.t32.regs[29];
#elif defined(ARCH_CPU_RISCV64)
@@ -725,10 +725,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/proce
#else
#error Port.
#endif
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
@@ -456,6 +456,89 @@ static_assert(offsetof(UContext<ContextT
offsetof(ucontext_t, uc_mcontext.__fpregs),
"context offset mismatch");
@@ -819,10 +819,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/signa
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
@@ -229,6 +229,8 @@ CPUArchitecture SystemSnapshotLinux::Get
: kCPUArchitectureMIPSEL;
#elif defined(ARCH_CPU_RISCV64)
@@ -862,10 +862,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/syste
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
@@ -196,6 +196,14 @@ bool ThreadSnapshotLinux::Initialize(
InitializeCPUContextRISCV64(thread.thread_info.thread_context.t64,
thread.thread_info.float_context.f64,
@@ -881,10 +881,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/threa
#else
#error Port.
#endif
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
@@ -79,6 +79,8 @@ class ThreadSnapshotLinux final : public
CPUContextMIPS64 mips64;
#elif defined(ARCH_CPU_RISCV64)
@@ -894,10 +894,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/linux/threa
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
@@ -317,5 +317,38 @@ void InitializeCPUContextRISCV64(CPUCont
riscv64->fcsr = value++;
}
@@ -937,10 +937,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/test/test_c
+
} // namespace test
} // namespace crashpad
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
@@ -64,6 +64,7 @@ void InitializeCPUContextARM64(CPUContex
void InitializeCPUContextMIPS(CPUContext* context, uint32_t seed);
void InitializeCPUContextMIPS64(CPUContext* context, uint32_t seed);
@@ -949,10 +949,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/snapshot/test/test_c
//! \}
} // namespace test
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/test/linux/get_tls.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/test/linux/get_tls.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/test/linux/get_tls.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/test/linux/get_tls.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/test/linux/get_tls.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/test/linux/get_tls.cc
@@ -51,6 +51,8 @@ LinuxVMAddress GetTLS() {
: "$3");
#elif defined(ARCH_CPU_RISCV64)
@@ -962,10 +962,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/test/linux/get_tls.c
#else
#error Port.
#endif // ARCH_CPU_ARMEL
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/test/multiprocess_posix.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/test/multiprocess_posix.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/test/multiprocess_posix.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/test/multiprocess_posix.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/test/multiprocess_posix.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/test/multiprocess_posix.cc
@@ -162,7 +162,8 @@ void Multiprocess::SetExpectedChildTermi
}
@@ -976,10 +976,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/test/multiprocess_po
SetExpectedChildTermination(kTerminationSignal, SIGTRAP);
#else
SetExpectedChildTermination(kTerminationSignal, SIGILL);
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
@@ -56,6 +56,11 @@ bool AuxiliaryVector::Read(PtraceConnect
if (type == AT_IGNORE) {
continue;
@@ -992,11 +992,11 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/auxiliary
if (!MapInsertOrReplace(&values_, type, value, nullptr)) {
LOG(ERROR) << "duplicate auxv entry";
return false;
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/ptracer.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/ptracer.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/util/linux/ptracer.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/ptracer.cc
-@@ -430,6 +430,64 @@ bool GetThreadArea64(pid_t tid,
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/linux/ptracer.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/ptracer.cc
+@@ -432,6 +432,64 @@ bool GetThreadArea64(pid_t tid,
return true;
}
@@ -1061,7 +1061,7 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/ptracer.c
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-@@ -528,6 +586,9 @@ bool Ptracer::GetThreadInfo(pid_t tid, T
+@@ -530,6 +588,9 @@ bool Ptracer::GetThreadInfo(pid_t tid, T
if (is_64_bit_) {
return GetGeneralPurposeRegisters64(tid, &info->thread_context, can_log_) &&
GetFloatingPointRegisters64(tid, &info->float_context, can_log_) &&
@@ -1071,10 +1071,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/ptracer.c
GetThreadArea64(tid,
info->thread_context,
&info->thread_specific_data_address,
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/thread_info.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/thread_info.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/util/linux/thread_info.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/thread_info.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/linux/thread_info.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/thread_info.h
@@ -34,6 +34,10 @@
#include <asm/ptrace.h>
#endif
@@ -1147,7 +1147,7 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/thread_in
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-@@ -302,6 +332,8 @@ union FloatContext {
+@@ -294,6 +324,8 @@ union FloatContext {
// No appropriate floating point context native type for available MIPS.
#elif defined(ARCH_CPU_RISCV64)
static_assert(sizeof(f64) == sizeof(__riscv_d_ext_state), "Size mismatch");
@@ -1156,7 +1156,7 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/thread_in
#else
#error Port.
#endif // ARCH_CPU_X86
-@@ -309,6 +341,26 @@ union FloatContext {
+@@ -301,6 +333,26 @@ union FloatContext {
static_assert(std::is_standard_layout<FloatContext>::value,
"Not standard layout");
@@ -1183,7 +1183,7 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/thread_in
//! \brief A collection of `ptrace`-able information about a thread.
struct ThreadInfo {
ThreadInfo();
-@@ -320,6 +372,9 @@ struct ThreadInfo {
+@@ -312,6 +364,9 @@ struct ThreadInfo {
//! \brief The floating point registers for the thread.
FloatContext float_context;
@@ -1193,10 +1193,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/linux/thread_in
//! \brief The thread-local storage address for the thread.
LinuxVMAddress thread_specific_data_address;
};
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_context.h
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/util/misc/capture_context.h
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_context.h
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context.h
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context.h
@@ -70,6 +70,7 @@ using NativeCPUContext = ucontext_t;
//! Linux | ARM/ARM64 | `r0`/`x0`
//! Linux | MIPS/MIPS64 | `$a0`
@@ -1205,10 +1205,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_co
//!
//! Additionally, the value `LR` on ARM/ARM64 will be the return address of
//! this function.
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
@@ -30,7 +30,7 @@
.globl CAPTURECONTEXT_SYMBOL2
#if defined(__i386__) || defined(__x86_64__)
@@ -1435,10 +1435,10 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_co
#elif defined(__riscv)
#define MCONTEXT_GREGS_OFFSET 176
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
@@ -48,7 +48,7 @@ void TestCaptureContext() {
uintptr_t pc = ProgramCounterFromContext(context_1);
@@ -1448,11 +1448,11 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_co
// Sanitizers can cause enough code bloat that the “nearby” check would
// likely fail.
const uintptr_t kReferencePC =
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
-@@ -38,6 +38,8 @@ void SanityCheckContext(const NativeCPUC
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
+@@ -39,6 +39,8 @@ void SanityCheckContext(const NativeCPUC
#elif defined(ARCH_CPU_RISCV64)
EXPECT_EQ(context.uc_mcontext.__gregs[10],
FromPointerCast<uintptr_t>(&context));
@@ -1461,7 +1461,7 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_co
#endif
}
-@@ -54,6 +56,8 @@ uintptr_t ProgramCounterFromContext(cons
+@@ -55,6 +57,8 @@ uintptr_t ProgramCounterFromContext(cons
return context.uc_mcontext.pc;
#elif defined(ARCH_CPU_RISCV64)
return context.uc_mcontext.__gregs[0];
@@ -1470,7 +1470,7 @@ Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/misc/capture_co
#endif
}
-@@ -70,6 +74,8 @@ uintptr_t StackPointerFromContext(const
+@@ -71,6 +75,8 @@ uintptr_t StackPointerFromContext(const
return context.uc_mcontext.gregs[29];
#elif defined(ARCH_CPU_RISCV64)
return context.uc_mcontext.__gregs[2];
diff --git a/0001-Implement-support-for-ppc64-on-Linux.patch b/0001-Implement-support-for-ppc64-on-Linux.patch
index 3ae468e..454c0e9 100644
--- a/0001-Implement-support-for-ppc64-on-Linux.patch
+++ b/0001-Implement-support-for-ppc64-on-Linux.patch
@@ -54,8 +54,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
src/tools/linux/md2core/minidump-2-core.cc | 45 +++++++++++++++
25 files changed, 281 insertions(+), 35 deletions(-)
---- a/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
-+++ b/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
@@ -51,6 +51,8 @@ typedef MDRawContextRISCV64 RawContextCP
# else
# error "Unexpected __riscv_xlen"
@@ -65,8 +67,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
#else
#error "This code has not been ported to your platform yet."
#endif
---- a/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
@@ -336,7 +336,42 @@ void ThreadInfo::FillCPUContext(RawConte
#error "Unexpected __riscv_xlen"
#endif
@@ -149,8 +153,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
+#endif
+
} // namespace google_breakpad
---- a/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
-+++ b/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
@@ -67,6 +67,10 @@ struct ThreadInfo {
// Use the structures defined in <sys/user.h>
struct user_regs_struct regs;
@@ -174,8 +180,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
};
} // namespace google_breakpad
---- a/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
@@ -324,6 +324,48 @@ void UContextReader::FillCPUContext(RawC
#error "Unexpected __riscv_xlen"
#endif
@@ -225,8 +233,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
#endif
} // namespace google_breakpad
---- a/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
-+++ b/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
@@ -54,6 +54,9 @@ struct UContextReader {
#elif defined(__aarch64__)
static void FillCPUContext(RawContextCPU* out, const ucontext_t* uc,
@@ -237,8 +247,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
#else
static void FillCPUContext(RawContextCPU* out, const ucontext_t* uc);
#endif
---- a/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
@@ -466,6 +466,13 @@ bool ExceptionHandler::HandleSignal(int
memcpy(&g_crash_context_.float_state, fp_ptr,
sizeof(g_crash_context_.float_state));
@@ -283,8 +295,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
#elif defined(__riscv)
context.siginfo.si_addr =
reinterpret_cast<void*>(context.context.uc_mcontext.__gregs[REG_PC]);
---- a/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
-+++ b/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
@@ -197,7 +197,11 @@ class ExceptionHandler {
siginfo_t siginfo;
pid_t tid; // the crashing thread.
@@ -298,8 +312,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
fpstate_t float_state;
#endif
};
---- a/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
@@ -325,7 +325,7 @@ TEST(ExceptionHandlerTest, ParallelChild
ASSERT_EQ(SIGSEGV, WTERMSIG(status));
return;
@@ -331,8 +347,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
const int kOffset = kMemorySize - sizeof(kIllegalInstruction);
const pid_t child = fork();
---- a/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
@@ -144,7 +144,9 @@ class MicrodumpWriter {
const MicrodumpExtraInfo& microdump_extra_info,
LinuxDumper* dumper)
@@ -364,7 +382,7 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
UContextReader::FillCPUContext(&cpu, ucontext_, float_state_);
#else
UContextReader::FillCPUContext(&cpu, ucontext_);
-@@ -622,7 +628,9 @@ class MicrodumpWriter {
+@@ -624,7 +630,9 @@ class MicrodumpWriter {
}
const ucontext_t* const ucontext_;
@@ -375,8 +393,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
const google_breakpad::fpstate_t* const float_state_;
#endif
LinuxDumper* dumper_;
---- a/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
@@ -281,10 +281,19 @@ TEST(MicrodumpWriterTest, BasicWithMappi
CrashAndGetMicrodump(mappings, MicrodumpExtraInfo(), &buf);
ASSERT_TRUE(ContainsMicrodump(buf));
@@ -400,8 +420,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
#else
ASSERT_NE(std::string::npos,
buf.find("M 00001000 0000002A 00001000 "
---- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
@@ -118,6 +118,9 @@ bool LinuxCoreDumper::GetThreadInfoByInd
#elif defined(__riscv)
stack_pointer = reinterpret_cast<uint8_t*>(
@@ -424,8 +446,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
# if defined(__ANDROID__)
for (int i = EF_R0; i <= EF_R31; i++)
info.mcontext.gregs[i - EF_R0] = status->pr_reg[i];
---- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
@@ -789,7 +789,9 @@ bool LinuxDumper::GetStackInfo(const voi
reinterpret_cast<uint8_t*>(int_stack_pointer & ~(page_size - 1));
@@ -437,8 +461,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
const MappingInfo* mapping = FindMapping(stack_pointer);
if (!mapping)
---- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
-+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
@@ -64,7 +64,8 @@ namespace google_breakpad {
typedef Elf32_auxv_t elf_aux_entry;
#elif defined(__x86_64) || defined(__aarch64__) || \
@@ -449,8 +475,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
typedef Elf64_auxv_t elf_aux_entry;
#endif
---- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
@@ -57,6 +57,8 @@
#define TID_PTR_REGISTER "$1"
#elif defined(__riscv)
@@ -460,8 +488,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
#else
#error This test has not been ported to this platform.
#endif
---- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
@@ -208,12 +208,12 @@ bool LinuxPtraceDumper::ReadRegisterSet(
#ifdef PTRACE_GETREGSET
struct iovec io;
@@ -503,8 +533,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
#else
# error "This code hasn't been ported to your platform yet."
#endif
---- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
@@ -469,6 +469,9 @@ TEST(LinuxPtraceDumperTest, VerifyStackR
#elif defined(__riscv)
pid_t* process_tid_location =
@@ -524,8 +556,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
#else
#error This test has not been ported to this platform.
#endif
---- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
@@ -145,7 +145,9 @@ class MinidumpWriter {
: fd_(minidump_fd),
path_(minidump_path),
@@ -579,8 +613,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
const google_breakpad::fpstate_t* const float_state_; // ditto
#endif
LinuxDumper* dumper_;
---- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
-+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
@@ -47,6 +47,8 @@ class ExceptionHandler;
#if defined(__aarch64__)
@@ -590,8 +626,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
#elif !defined(__ARM_EABI__) && !defined(__mips__)
typedef std::remove_pointer<fpregset_t>::type fpstate_t;
#endif
---- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
-+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
@@ -723,6 +723,9 @@ TEST(MinidumpWriterTest, InvalidStackPoi
#elif defined(__riscv)
context.context.uc_mcontext.__gregs[MD_CONTEXT_RISCV_REG_SP] =
@@ -602,8 +640,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
#else
# error "This code has not been ported to your platform yet."
#endif
---- a/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
-+++ b/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
@@ -72,8 +72,7 @@ bool MemoryMappedFile::Map(const char* p
#if defined(__x86_64__) || defined(__aarch64__) || \
@@ -612,10 +652,12 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
-
+ (defined(__riscv) && __riscv_xlen == 64) || defined(__powerpc64__)
struct kernel_stat st;
+ __builtin_memset(&st, 0, sizeof(st));
if (sys_fstat(fd, &st) == -1 || st.st_size < 0) {
- #else
---- a/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
-+++ b/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
@@ -178,9 +178,10 @@ TEST_F(MemoryMappedFileTest, RemapAfterM
TEST_F(MemoryMappedFileTest, MapWithOffset) {
// Put more data in the test file this time. Offsets can only be
@@ -630,8 +672,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
for (size_t i = 0; i < data1_size; ++i) {
data1[i] = i & 0x7f;
}
---- a/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
-+++ b/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
@@ -64,8 +64,9 @@ TEST(PageAllocatorTest, LargeObject) {
EXPECT_EQ(0U, allocator.pages_allocated());
@@ -643,8 +687,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
for (unsigned i = 1; i < 10; ++i) {
uint8_t* p = reinterpret_cast<uint8_t*>(allocator.Alloc(i));
ASSERT_FALSE(p == nullptr);
---- a/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
-+++ b/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
+Index: chromium-156.0.8078.35/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
++++ chromium-156.0.8078.35/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
@@ -82,6 +82,8 @@
#define ELF_ARCH EM_AARCH64
#elif defined(__riscv)
diff --git a/0001-add-xnn-ppc64el-support.patch b/0001-add-xnn-ppc64el-support.patch
index f8415ac..8b03d8d 100644
--- a/0001-add-xnn-ppc64el-support.patch
+++ b/0001-add-xnn-ppc64el-support.patch
@@ -1,7 +1,7 @@
-Index: chromium-144.0.7559.59/third_party/xnnpack/generate_build_gn.py
+Index: chromium-156.0.8078.35/third_party/xnnpack/generate_build_gn.py
===================================================================
---- chromium-144.0.7559.59.orig/third_party/xnnpack/generate_build_gn.py
-+++ chromium-144.0.7559.59/third_party/xnnpack/generate_build_gn.py
+--- chromium-156.0.8078.35.orig/third_party/xnnpack/generate_build_gn.py
++++ chromium-156.0.8078.35/third_party/xnnpack/generate_build_gn.py
@@ -239,7 +239,10 @@ _PLATFORMS = [
bazel_platform='//:linux_aarch64'),
_Platform(gn_cpu='riscv64',
@@ -14,10 +14,10 @@ Index: chromium-144.0.7559.59/third_party/xnnpack/generate_build_gn.py
]
-Index: chromium-144.0.7559.59/third_party/xnnpack/bazelroot/BUILD
+Index: chromium-156.0.8078.35/third_party/xnnpack/bazelroot/BUILD
===================================================================
---- chromium-144.0.7559.59.orig/third_party/xnnpack/bazelroot/BUILD
-+++ chromium-144.0.7559.59/third_party/xnnpack/bazelroot/BUILD
+--- chromium-156.0.8078.35.orig/third_party/xnnpack/bazelroot/BUILD
++++ chromium-156.0.8078.35/third_party/xnnpack/bazelroot/BUILD
@@ -29,6 +29,14 @@ platform(
],
)
diff --git a/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch b/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
index 168db73..b50d962 100644
--- a/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
+++ b/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
@@ -1,32 +1,7 @@
-Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf/trap.cc
+Index: chromium-156.0.8078.35/sandbox/features.gni
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/seccomp-bpf/trap.cc
-+++ chromium-151.0.7922.47/sandbox/linux/seccomp-bpf/trap.cc
-@@ -236,6 +236,20 @@ void Trap::SigSys(int nr, LinuxSigInfo*
- SetIsInSigHandler();
- }
-
-+#if defined(__powerpc64__)
-+ // On ppc64+glibc, some syscalls seem to accidentally negate the first
-+ // parameter which causes checks against it to fail. For now, manually
-+ // negate them back.
-+ // TODO(sanastasio@raptorengineering.com): investigate this issue further
-+ auto nr = SECCOMP_SYSCALL(ctx);
-+ if (nr == __NR_openat || nr == __NR_mkdirat || nr == __NR_faccessat || nr == __NR_readlinkat ||
-+ nr == __NR_renameat || nr == __NR_renameat2 || nr == __NR_newfstatat || nr == __NR_unlinkat) {
-+ if (static_cast<int>(SECCOMP_PARM1(ctx)) > 0) {
-+ SECCOMP_PARM1(ctx) = -SECCOMP_PARM1(ctx);
-+ }
-+ }
-+#endif
-+
- // Copy the seccomp-specific data into a arch_seccomp_data structure. This
- // is what we are showing to TrapFnc callbacks that the system call
- // evaluator registered with the sandbox.
-Index: chromium-151.0.7922.47/sandbox/features.gni
-===================================================================
---- chromium-151.0.7922.47.orig/sandbox/features.gni
-+++ chromium-151.0.7922.47/sandbox/features.gni
+--- chromium-156.0.8078.35.orig/sandbox/features.gni
++++ chromium-156.0.8078.35/sandbox/features.gni
@@ -9,4 +9,5 @@
use_seccomp_bpf = (is_linux || is_chromeos || is_android) &&
(current_cpu == "x86" || current_cpu == "x64" ||
@@ -34,10 +9,10 @@ Index: chromium-151.0.7922.47/sandbox/features.gni
- current_cpu == "mipsel" || current_cpu == "mips64el")
+ current_cpu == "mipsel" || current_cpu == "mips64el" ||
+ current_cpu == "ppc64")
-Index: chromium-151.0.7922.47/sandbox/policy/linux/bpf_renderer_policy_linux.cc
+Index: chromium-156.0.8078.35/sandbox/policy/linux/bpf_renderer_policy_linux.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/policy/linux/bpf_renderer_policy_linux.cc
-+++ chromium-151.0.7922.47/sandbox/policy/linux/bpf_renderer_policy_linux.cc
+--- chromium-156.0.8078.35.orig/sandbox/policy/linux/bpf_renderer_policy_linux.cc
++++ chromium-156.0.8078.35/sandbox/policy/linux/bpf_renderer_policy_linux.cc
@@ -17,6 +17,11 @@
#include "sandbox/linux/system_headers/linux_syscalls.h"
#include "sandbox/policy/linux/sandbox_linux.h"
@@ -59,10 +34,10 @@ Index: chromium-151.0.7922.47/sandbox/policy/linux/bpf_renderer_policy_linux.cc
case __NR_getrlimit:
case __NR_setrlimit:
// We allow setrlimit to dynamically adjust the address space limit as
-Index: chromium-151.0.7922.47/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
+Index: chromium-156.0.8078.35/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
-+++ chromium-151.0.7922.47/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
+--- chromium-156.0.8078.35.orig/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
++++ chromium-156.0.8078.35/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
@@ -56,6 +56,13 @@
#define MAX_PUBLIC_SYSCALL __NR_syscalls
#define MAX_SYSCALL MAX_PUBLIC_SYSCALL
@@ -77,11 +52,11 @@ Index: chromium-151.0.7922.47/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
#else
#error "Unsupported architecture"
#endif
-Index: chromium-151.0.7922.47/sandbox/linux/BUILD.gn
+Index: chromium-156.0.8078.35/sandbox/linux/BUILD.gn
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/BUILD.gn
-+++ chromium-151.0.7922.47/sandbox/linux/BUILD.gn
-@@ -376,6 +376,8 @@ component("sandbox_services") {
+--- chromium-156.0.8078.35.orig/sandbox/linux/BUILD.gn
++++ chromium-156.0.8078.35/sandbox/linux/BUILD.gn
+@@ -380,6 +380,8 @@ component("sandbox_services") {
source_set("sandbox_services_headers") {
sources = [
@@ -90,10 +65,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/BUILD.gn
"system_headers/arm64_linux_syscalls.h",
"system_headers/arm_linux_syscalls.h",
"system_headers/arm_linux_ucontext.h",
-Index: chromium-151.0.7922.47/sandbox/linux/system_headers/linux_syscalls.h
+Index: chromium-156.0.8078.35/sandbox/linux/system_headers/linux_syscalls.h
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/system_headers/linux_syscalls.h
-+++ chromium-151.0.7922.47/sandbox/linux/system_headers/linux_syscalls.h
+--- chromium-156.0.8078.35.orig/sandbox/linux/system_headers/linux_syscalls.h
++++ chromium-156.0.8078.35/sandbox/linux/system_headers/linux_syscalls.h
@@ -44,4 +44,8 @@
#include "sandbox/linux/system_headers/arm64_linux_syscalls.h"
#endif
@@ -103,10 +78,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/system_headers/linux_syscalls.h
+#endif
+
#endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_
-Index: chromium-151.0.7922.47/sandbox/linux/system_headers/ppc64_linux_syscalls.h
+Index: chromium-156.0.8078.35/sandbox/linux/system_headers/ppc64_linux_syscalls.h
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/sandbox/linux/system_headers/ppc64_linux_syscalls.h
++++ chromium-156.0.8078.35/sandbox/linux/system_headers/ppc64_linux_syscalls.h
@@ -0,0 +1,28 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
@@ -136,10 +111,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/system_headers/ppc64_linux_syscalls.
+#endif
+
+#endif // SANDBOX_LINUX_SYSTEM_HEADERS_PPC64_LINUX_SYSCALLS_H_
-Index: chromium-151.0.7922.47/sandbox/linux/system_headers/ppc64_linux_ucontext.h
+Index: chromium-156.0.8078.35/sandbox/linux/system_headers/ppc64_linux_ucontext.h
===================================================================
--- /dev/null
-+++ chromium-151.0.7922.47/sandbox/linux/system_headers/ppc64_linux_ucontext.h
++++ chromium-156.0.8078.35/sandbox/linux/system_headers/ppc64_linux_ucontext.h
@@ -0,0 +1,12 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
@@ -153,10 +128,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/system_headers/ppc64_linux_ucontext.
+//TODO: is it necessary to redefine ucontext on PPC64?
+
+#endif // SANDBOX_LINUX_SYSTEM_HEADERS_PPC64_LINUX_UCONTEXT_H_
-Index: chromium-151.0.7922.47/sandbox/linux/syscall_broker/broker_process.cc
+Index: chromium-156.0.8078.35/sandbox/linux/syscall_broker/broker_process.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/syscall_broker/broker_process.cc
-+++ chromium-151.0.7922.47/sandbox/linux/syscall_broker/broker_process.cc
+--- chromium-156.0.8078.35.orig/sandbox/linux/syscall_broker/broker_process.cc
++++ chromium-156.0.8078.35/sandbox/linux/syscall_broker/broker_process.cc
@@ -166,7 +166,7 @@ bool BrokerProcess::IsSyscallBrokerable(
#if defined(__NR_fstatat64)
case __NR_fstatat64:
@@ -166,10 +141,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/syscall_broker/broker_process.cc
case __NR_newfstatat:
#endif
return !fast_check || policy_->allowed_command_set.test(COMMAND_STAT);
-Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+Index: chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-+++ chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+--- chromium-156.0.8078.35.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
++++ chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
@@ -91,7 +91,8 @@ bool IsBaselinePolicyWatched(int sysno)
SyscallSets::IsPrctl(sysno) ||
SyscallSets::IsProcessGroupOrSession(sysno) ||
@@ -180,16 +155,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/baseline_policy.
SyscallSets::IsSocketCall(sysno) ||
#endif
#if defined(__arm__)
-@@ -260,7 +261,7 @@ ResultExpr EvaluateSyscallImpl(int fs_de
-
- // TODO(crbug.com/40528912): should i386 really be in this list?
- #if defined(__i386__) || defined(__x86_64__) || defined(__mips__) || \
-- defined(__aarch64__)
-+ defined(__aarch64__) || defined(__powerpc64__)
- if (sysno == __NR_mmap)
- return RestrictMmapFlags();
- #endif
-@@ -358,7 +359,8 @@ ResultExpr EvaluateSyscallImpl(int fs_de
+@@ -350,7 +351,8 @@ ResultExpr EvaluateSyscallImpl(int fs_de
}
#if defined(__i386__) || \
@@ -199,11 +165,11 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/baseline_policy.
if (SyscallSets::IsSocketCall(sysno))
return RestrictSocketcallCommand();
#endif
-Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+Index: chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
-+++ chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
-@@ -43,7 +43,7 @@
+--- chromium-156.0.8078.35.orig/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
++++ chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+@@ -45,7 +45,7 @@
#define MAP_DROPPABLE 0x08 // Zero memory under memory pressure.
#endif
@@ -212,7 +178,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
!defined(PTRACE_GET_THREAD_AREA)
// Also include asm/ptrace-abi.h since ptrace.h in older libc (for instance
// the one in Ubuntu 16.04 LTS) is missing PTRACE_GET_THREAD_AREA.
-@@ -52,6 +52,11 @@
+@@ -54,6 +54,11 @@
#include <asm/ptrace-abi.h>
#endif
@@ -224,7 +190,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
#if BUILDFLAG(IS_ANDROID)
#include "base/android/background_thread_pool_field_trial.h"
-@@ -110,6 +115,15 @@ inline bool IsArchitectureMips() {
+@@ -112,6 +117,15 @@ inline bool IsArchitectureMips() {
#endif
}
@@ -240,7 +206,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
// Ubuntu's version of glibc has a race condition in sem_post that can cause
// it to call futex(2) with bogus op arguments. To workaround this, we need
// to allow those futex(2) calls to fail with EINVAL, instead of crashing the
-@@ -288,9 +302,11 @@ ResultExpr RestrictFcntlCommands() {
+@@ -299,9 +313,11 @@ ResultExpr RestrictFcntlCommands() {
// operator.
// Glibc overrides the kernel's O_LARGEFILE value. Account for this.
uint64_t kOLargeFileFlag = O_LARGEFILE;
@@ -253,7 +219,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
const Arg<int> cmd(1);
const Arg<long> long_arg(2);
-@@ -313,8 +329,17 @@ ResultExpr RestrictFcntlCommands() {
+@@ -324,8 +340,17 @@ ResultExpr RestrictFcntlCommands() {
F_SETLKW,
F_GETLK,
F_DUPFD,
@@ -273,7 +239,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
.Case(F_SETFL,
If((long_arg & ~kAllowedMask) == 0, Allow()).Else(CrashSIGSYS()))
.Case(F_ADD_SEALS,
-@@ -323,7 +348,7 @@ ResultExpr RestrictFcntlCommands() {
+@@ -334,7 +359,7 @@ ResultExpr RestrictFcntlCommands() {
// clang-format on
}
@@ -282,7 +248,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
ResultExpr RestrictSocketcallCommand() {
// Unfortunately, we are unable to restrict the first parameter to
// socketpair(2). Whilst initially sounding bad, it's noteworthy that very
-@@ -483,7 +508,7 @@ ResultExpr RestrictPtrace() {
+@@ -494,7 +519,7 @@ ResultExpr RestrictPtrace() {
#endif
return Switch(request)
.Cases({
@@ -291,7 +257,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
PTRACE_GETREGS, PTRACE_GETFPREGS, PTRACE_GET_THREAD_AREA,
PTRACE_GETREGSET,
#endif
-@@ -523,13 +548,14 @@ SANDBOX_EXPORT bpf_dsl::ResultExpr Restr
+@@ -534,13 +559,14 @@ SANDBOX_EXPORT bpf_dsl::ResultExpr Restr
size_t argIndex;
switch (sysno) {
#if defined(__arm__) || \
@@ -308,11 +274,11 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
case __NR_sendto: // Could specify destination.
argIndex = 3;
break;
-Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
+Index: chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
-+++ chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
-@@ -58,7 +58,7 @@ SANDBOX_EXPORT bpf_dsl::ResultExpr Restr
+--- chromium-156.0.8078.35.orig/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
++++ chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
+@@ -59,7 +59,7 @@ SANDBOX_EXPORT bpf_dsl::ResultExpr Restr
// O_NONBLOCK | O_SYNC | O_LARGEFILE | O_CLOEXEC | O_NOATIME.
SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictFcntlCommands();
@@ -321,10 +287,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
// Restrict socketcall(2) to only allow socketpair(2), send(2), recv(2),
// sendto(2), recvfrom(2), shutdown(2), sendmsg(2) and recvmsg(2).
SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictSocketcallCommand();
-Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+Index: chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
-+++ chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+--- chromium-156.0.8078.35.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
++++ chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
@@ -29,7 +29,8 @@ bool SyscallSets::IsAllowedGettime(int s
switch (sysno) {
case __NR_gettimeofday:
@@ -522,7 +488,16 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_mmap:
#endif
#if defined(__i386__) || defined(__arm__) || \
-@@ -584,7 +600,8 @@ bool SyscallSets::IsAllowedGeneralIo(int
+@@ -583,7 +599,7 @@ bool SyscallSets::IsAllowedAddressSpaceA
+ bool SyscallSets::IsMmap(int sysno) {
+ switch (sysno) {
+ #if defined(__i386__) || defined(__x86_64__) || defined(__mips__) || \
+- defined(__aarch64__)
++ defined(__aarch64__) || defined(__powerpc64__)
+ case __NR_mmap:
+ #endif
+ #if !defined(__LP64__)
+@@ -599,7 +615,8 @@ bool SyscallSets::IsAllowedGeneralIo(int
switch (sysno) {
case __NR_lseek:
#if defined(__i386__) || defined(__arm__) || \
@@ -532,7 +507,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR__llseek:
#endif
#if !defined(__aarch64__)
-@@ -604,11 +621,12 @@ bool SyscallSets::IsAllowedGeneralIo(int
+@@ -619,11 +636,12 @@ bool SyscallSets::IsAllowedGeneralIo(int
case __NR_readv:
case __NR_pread64:
#if defined(__arm__) || \
@@ -547,7 +522,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_recvfrom: // Could specify source.
case __NR_recvmsg: // Could specify source.
#endif
-@@ -620,10 +638,10 @@ bool SyscallSets::IsAllowedGeneralIo(int
+@@ -635,10 +653,10 @@ bool SyscallSets::IsAllowedGeneralIo(int
(defined(ARCH_CPU_MIPS_FAMILY) && defined(ARCH_CPU_32_BITS))
case __NR_recvmmsg_time64: // Could specify source.
#endif
@@ -560,7 +535,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR__newselect:
#endif
case __NR_write:
-@@ -638,11 +656,12 @@ bool SyscallSets::IsAllowedGeneralIo(int
+@@ -653,11 +671,12 @@ bool SyscallSets::IsAllowedGeneralIo(int
case __NR_vmsplice:
// send* syscalls need their flags filtered.
#if defined(__arm__) || \
@@ -575,7 +550,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_sendmsg: // Could specify destination.
case __NR_sendto: // Could specify destination.
#endif
-@@ -655,11 +674,12 @@ bool SyscallSets::IsAllowedGeneralIo(int
+@@ -670,11 +689,12 @@ bool SyscallSets::IsAllowedGeneralIo(int
bool SyscallSets::IsSockSendOneMsg(int sysno) {
switch (sysno) {
#if defined(__arm__) || \
@@ -590,7 +565,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_sendmsg: // Could specify destination.
case __NR_sendto: // Could specify destination.
#endif
-@@ -700,7 +720,8 @@ bool SyscallSets::IsAllowedBasicSchedule
+@@ -715,7 +735,8 @@ bool SyscallSets::IsAllowedBasicSchedule
return true;
case __NR_getpriority:
#if defined(__i386__) || defined(__arm__) || \
@@ -600,7 +575,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_nice:
#endif
case __NR_setpriority:
-@@ -712,7 +733,8 @@ bool SyscallSets::IsAllowedBasicSchedule
+@@ -727,7 +748,8 @@ bool SyscallSets::IsAllowedBasicSchedule
bool SyscallSets::IsAdminOperation(int sysno) {
switch (sysno) {
#if defined(__i386__) || defined(__arm__) || \
@@ -610,7 +585,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_bdflush:
#endif
case __NR_kexec_load:
-@@ -728,7 +750,8 @@ bool SyscallSets::IsAdminOperation(int s
+@@ -743,7 +765,8 @@ bool SyscallSets::IsAdminOperation(int s
bool SyscallSets::IsKernelModule(int sysno) {
switch (sysno) {
@@ -620,7 +595,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_create_module:
case __NR_get_kernel_syms: // Should ENOSYS.
case __NR_query_module:
-@@ -761,7 +784,8 @@ bool SyscallSets::IsFsControl(int sysno)
+@@ -776,7 +799,8 @@ bool SyscallSets::IsFsControl(int sysno)
case __NR_swapoff:
case __NR_swapon:
#if defined(__i386__) || \
@@ -630,7 +605,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_umount:
#endif
case __NR_umount2:
-@@ -777,7 +801,7 @@ bool SyscallSets::IsNuma(int sysno) {
+@@ -792,7 +816,7 @@ bool SyscallSets::IsNuma(int sysno) {
case __NR_getcpu:
case __NR_mbind:
#if defined(__i386__) || defined(__x86_64__) || defined(__mips__) || \
@@ -639,7 +614,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_migrate_pages:
#endif
case __NR_move_pages:
-@@ -812,14 +836,15 @@ bool SyscallSets::IsGlobalProcessEnviron
+@@ -827,14 +851,15 @@ bool SyscallSets::IsGlobalProcessEnviron
switch (sysno) {
case __NR_acct: // Privileged.
#if defined(__i386__) || defined(__x86_64__) || defined(__mips__) || \
@@ -658,7 +633,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_ulimit:
#endif
case __NR_getrusage:
-@@ -853,7 +878,7 @@ bool SyscallSets::IsGlobalSystemStatus(i
+@@ -868,7 +893,7 @@ bool SyscallSets::IsGlobalSystemStatus(i
#endif
case __NR_sysinfo:
case __NR_uname:
@@ -667,7 +642,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_olduname:
case __NR_oldolduname:
#endif
-@@ -917,12 +942,15 @@ bool SyscallSets::IsKeyManagement(int sy
+@@ -932,12 +957,15 @@ bool SyscallSets::IsKeyManagement(int sy
}
#if defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) || \
@@ -684,7 +659,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_semtimedop:
#if defined(__i386__) || defined(__arm__) || \
(defined(ARCH_CPU_MIPS_FAMILY) && defined(ARCH_CPU_32_BITS))
-@@ -937,7 +965,8 @@ bool SyscallSets::IsSystemVSemaphores(in
+@@ -952,7 +980,8 @@ bool SyscallSets::IsSystemVSemaphores(in
#if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || \
defined(__aarch64__) || \
@@ -694,7 +669,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
// These give a lot of ambient authority and bypass the setuid sandbox.
bool SyscallSets::IsSystemVSharedMemory(int sysno) {
switch (sysno) {
-@@ -953,7 +982,8 @@ bool SyscallSets::IsSystemVSharedMemory(
+@@ -968,7 +997,8 @@ bool SyscallSets::IsSystemVSharedMemory(
#endif
#if defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) || \
@@ -704,7 +679,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
bool SyscallSets::IsSystemVMessageQueue(int sysno) {
switch (sysno) {
case __NR_msgctl:
-@@ -968,7 +998,8 @@ bool SyscallSets::IsSystemVMessageQueue(
+@@ -983,7 +1013,8 @@ bool SyscallSets::IsSystemVMessageQueue(
#endif
#if defined(__i386__) || \
@@ -714,7 +689,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
// Big system V multiplexing system call.
bool SyscallSets::IsSystemVIpc(int sysno) {
switch (sysno) {
-@@ -990,6 +1021,9 @@ bool SyscallSets::IsAnySystemV(int sysno
+@@ -1005,6 +1036,9 @@ bool SyscallSets::IsAnySystemV(int sysno
#elif defined(__i386__) || \
(defined(ARCH_CPU_MIPS_FAMILY) && defined(ARCH_CPU_32_BITS))
return IsSystemVIpc(sysno);
@@ -724,7 +699,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
#endif
}
-@@ -1045,7 +1079,8 @@ bool SyscallSets::IsFaNotify(int sysno)
+@@ -1060,7 +1094,8 @@ bool SyscallSets::IsFaNotify(int sysno)
bool SyscallSets::IsTimer(int sysno) {
switch (sysno) {
case __NR_getitimer:
@@ -734,7 +709,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_alarm:
#endif
case __NR_setitimer:
-@@ -1124,18 +1159,22 @@ bool SyscallSets::IsMisc(int sysno) {
+@@ -1139,18 +1174,22 @@ bool SyscallSets::IsMisc(int sysno) {
case __NR_syncfs:
case __NR_vhangup:
// The system calls below are not implemented.
@@ -761,7 +736,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_gtty:
case __NR_idle:
case __NR_lock:
-@@ -1143,20 +1182,22 @@ bool SyscallSets::IsMisc(int sysno) {
+@@ -1158,20 +1197,22 @@ bool SyscallSets::IsMisc(int sysno) {
case __NR_prof:
case __NR_profil:
#endif
@@ -788,10 +763,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_vserver:
#endif
return true;
-Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
+Index: chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
-+++ chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
+--- chromium-156.0.8078.35.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
++++ chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
@@ -46,13 +46,14 @@ class SANDBOX_EXPORT SyscallSets {
static bool IsDeniedGetOrModifySocket(int sysno);
@@ -809,7 +784,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
static bool IsNetworkSocketInformation(int sysno);
#endif
-@@ -80,23 +81,27 @@ class SANDBOX_EXPORT SyscallSets {
+@@ -81,23 +82,27 @@ class SANDBOX_EXPORT SyscallSets {
static bool IsAsyncIo(int sysno);
static bool IsKeyManagement(int sysno);
#if defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) || \
@@ -841,10 +816,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
// Big system V multiplexing system call.
static bool IsSystemVIpc(int sysno);
#endif
-Index: chromium-151.0.7922.47/sandbox/linux/services/syscall_wrappers.cc
+Index: chromium-156.0.8078.35/sandbox/linux/services/syscall_wrappers.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/services/syscall_wrappers.cc
-+++ chromium-151.0.7922.47/sandbox/linux/services/syscall_wrappers.cc
+--- chromium-156.0.8078.35.orig/sandbox/linux/services/syscall_wrappers.cc
++++ chromium-156.0.8078.35/sandbox/linux/services/syscall_wrappers.cc
@@ -63,7 +63,7 @@ long sys_clone(unsigned long flags,
#if defined(ARCH_CPU_X86_64)
return syscall(__NR_clone, flags, child_stack, ptid, ctid, tls);
@@ -854,10 +829,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/services/syscall_wrappers.cc
// CONFIG_CLONE_BACKWARDS defined.
return syscall(__NR_clone, flags, child_stack, ptid, tls, ctid);
#endif
-Index: chromium-151.0.7922.47/sandbox/linux/bpf_dsl/seccomp_macros.h
+Index: chromium-156.0.8078.35/sandbox/linux/bpf_dsl/seccomp_macros.h
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/bpf_dsl/seccomp_macros.h
-+++ chromium-151.0.7922.47/sandbox/linux/bpf_dsl/seccomp_macros.h
+--- chromium-156.0.8078.35.orig/sandbox/linux/bpf_dsl/seccomp_macros.h
++++ chromium-156.0.8078.35/sandbox/linux/bpf_dsl/seccomp_macros.h
@@ -14,6 +14,9 @@
#if defined(__mips__)
// sys/user.h in eglibc misses size_t definition
@@ -868,7 +843,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/bpf_dsl/seccomp_macros.h
#endif
#endif
-@@ -343,6 +346,51 @@ struct regs_struct {
+@@ -343,6 +346,53 @@ struct regs_struct {
#define SECCOMP_PT_PARM4(_regs) (_regs).regs[3]
#define SECCOMP_PT_PARM5(_regs) (_regs).regs[4]
#define SECCOMP_PT_PARM6(_regs) (_regs).regs[5]
@@ -889,7 +864,9 @@ Index: chromium-151.0.7922.47/sandbox/linux/bpf_dsl/seccomp_macros.h
+#define SECCOMP_RESULT(_ctx) SECCOMP_REG(_ctx, 3)
+#define SECCOMP_SYSCALL(_ctx) SECCOMP_REG(_ctx, 0)
+#define SECCOMP_IP(_ctx) (_ctx)->uc_mcontext.regs->nip
-+#define SECCOMP_PARM1(_ctx) SECCOMP_REG(_ctx, 3)
++// Newer kernels leave -ENOSYS in gpr[3] of the SIGSYS context; the real
++// first syscall argument is in orig_gpr3.
++#define SECCOMP_PARM1(_ctx) ((_ctx)->uc_mcontext.regs->orig_gpr3)
+#define SECCOMP_PARM2(_ctx) SECCOMP_REG(_ctx, 4)
+#define SECCOMP_PARM3(_ctx) SECCOMP_REG(_ctx, 5)
+#define SECCOMP_PARM4(_ctx) SECCOMP_REG(_ctx, 6)
@@ -920,10 +897,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/bpf_dsl/seccomp_macros.h
#else
#error Unsupported target platform
-Index: chromium-151.0.7922.47/sandbox/linux/system_headers/linux_seccomp.h
+Index: chromium-156.0.8078.35/sandbox/linux/system_headers/linux_seccomp.h
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/system_headers/linux_seccomp.h
-+++ chromium-151.0.7922.47/sandbox/linux/system_headers/linux_seccomp.h
+--- chromium-156.0.8078.35.orig/sandbox/linux/system_headers/linux_seccomp.h
++++ chromium-156.0.8078.35/sandbox/linux/system_headers/linux_seccomp.h
@@ -38,6 +38,9 @@
#ifndef EM_AARCH64
#define EM_AARCH64 183
@@ -947,10 +924,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/system_headers/linux_seccomp.h
// For prctl.h
#ifndef PR_SET_SECCOMP
-Index: chromium-151.0.7922.47/sandbox/linux/system_headers/linux_signal.h
+Index: chromium-156.0.8078.35/sandbox/linux/system_headers/linux_signal.h
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/system_headers/linux_signal.h
-+++ chromium-151.0.7922.47/sandbox/linux/system_headers/linux_signal.h
+--- chromium-156.0.8078.35.orig/sandbox/linux/system_headers/linux_signal.h
++++ chromium-156.0.8078.35/sandbox/linux/system_headers/linux_signal.h
@@ -13,7 +13,7 @@
// (not undefined, but defined different values and in different memory
// layouts). So, fill the gap here.
@@ -960,10 +937,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/system_headers/linux_signal.h
#define LINUX_SIGHUP 1
#define LINUX_SIGINT 2
-Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf/syscall.cc
+Index: chromium-156.0.8078.35/sandbox/linux/seccomp-bpf/syscall.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/seccomp-bpf/syscall.cc
-+++ chromium-151.0.7922.47/sandbox/linux/seccomp-bpf/syscall.cc
+--- chromium-156.0.8078.35.orig/sandbox/linux/seccomp-bpf/syscall.cc
++++ chromium-156.0.8078.35/sandbox/linux/seccomp-bpf/syscall.cc
@@ -19,7 +19,7 @@ namespace sandbox {
namespace {
@@ -1032,7 +1009,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf/syscall.cc
extern "C" {
intptr_t SyscallAsm(intptr_t nr, const intptr_t args[6]);
}
-@@ -426,6 +470,8 @@ intptr_t Syscall::Call(int nr,
+@@ -426,6 +473,8 @@ intptr_t Syscall::Call(int nr,
ret = inout;
}
@@ -1041,7 +1018,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf/syscall.cc
#else
#error "Unimplemented architecture"
#endif
-@@ -442,8 +488,18 @@ void Syscall::PutValueInUcontext(intptr_
+@@ -442,8 +491,18 @@ void Syscall::PutValueInUcontext(intptr_
// needs to be changed back.
ret_val = -ret_val;
SECCOMP_PARM4(ctx) = 1;
@@ -1061,11 +1038,11 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf/syscall.cc
#endif
SECCOMP_RESULT(ctx) = static_cast<greg_t>(ret_val);
}
-Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
+Index: chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
-+++ chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
-@@ -354,8 +354,10 @@ TEST_BASELINE_SIGSYS(__NR_timer_create)
+--- chromium-156.0.8078.35.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
++++ chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
+@@ -394,8 +394,10 @@ TEST_BASELINE_SIGSYS(__NR_timer_create)
#if !defined(__aarch64__)
TEST_BASELINE_SIGSYS(__NR_inotify_init)
@@ -1076,10 +1053,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/baseline_policy_
#if defined(LIBC_GLIBC) && !BUILDFLAG(IS_CHROMEOS)
BPF_TEST_C(BaselinePolicy, FutexEINVAL, BaselinePolicy) {
-Index: chromium-151.0.7922.47/sandbox/linux/system_headers/linux_stat.h
+Index: chromium-156.0.8078.35/sandbox/linux/system_headers/linux_stat.h
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/system_headers/linux_stat.h
-+++ chromium-151.0.7922.47/sandbox/linux/system_headers/linux_stat.h
+--- chromium-156.0.8078.35.orig/sandbox/linux/system_headers/linux_stat.h
++++ chromium-156.0.8078.35/sandbox/linux/system_headers/linux_stat.h
@@ -173,6 +173,28 @@ struct kernel_stat {
unsigned int __unused4;
unsigned int __unused5;
@@ -1109,10 +1086,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/system_headers/linux_stat.h
#endif
#if !defined(AT_EMPTY_PATH)
-Index: chromium-151.0.7922.47/sandbox/linux/services/credentials.cc
+Index: chromium-156.0.8078.35/sandbox/linux/services/credentials.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/services/credentials.cc
-+++ chromium-151.0.7922.47/sandbox/linux/services/credentials.cc
+--- chromium-156.0.8078.35.orig/sandbox/linux/services/credentials.cc
++++ chromium-156.0.8078.35/sandbox/linux/services/credentials.cc
@@ -85,7 +85,7 @@ bool ChrootToSafeEmptyDir() {
alignas(16) std::array<char, PTHREAD_STACK_MIN_CONST> stack_buf;
@@ -1144,10 +1121,10 @@ Index: chromium-151.0.7922.47/sandbox/linux/services/credentials.cc
clone_flags |= CLONE_VM | CLONE_VFORK | CLONE_SETTLS;
char tls_buf[PTHREAD_STACK_MIN_CONST] = {};
-Index: chromium-151.0.7922.47/sandbox/policy/linux/bpf_utility_policy_linux.cc
+Index: chromium-156.0.8078.35/sandbox/policy/linux/bpf_utility_policy_linux.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/policy/linux/bpf_utility_policy_linux.cc
-+++ chromium-151.0.7922.47/sandbox/policy/linux/bpf_utility_policy_linux.cc
+--- chromium-156.0.8078.35.orig/sandbox/policy/linux/bpf_utility_policy_linux.cc
++++ chromium-156.0.8078.35/sandbox/policy/linux/bpf_utility_policy_linux.cc
@@ -34,7 +34,7 @@ ResultExpr UtilityProcessPolicy::Evaluat
case __NR_fdatasync:
case __NR_fsync:
@@ -1157,10 +1134,10 @@ Index: chromium-151.0.7922.47/sandbox/policy/linux/bpf_utility_policy_linux.cc
case __NR_getrlimit:
#endif
#if defined(__i386__) || defined(__arm__)
-Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
+Index: chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
===================================================================
---- chromium-151.0.7922.47.orig/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
-+++ chromium-151.0.7922.47/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
+--- chromium-156.0.8078.35.orig/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
++++ chromium-156.0.8078.35/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
@@ -384,7 +384,16 @@ intptr_t SIGSYSFstatatHandler(const stru
if (args.nr == __NR_fstatat_default) {
if (*reinterpret_cast<const char*>(args.args[1]) == '\0' &&
diff --git a/0001-swiftshader-fix-build.patch b/0001-swiftshader-fix-build.patch
index efd12dc..2fd4e83 100644
--- a/0001-swiftshader-fix-build.patch
+++ b/0001-swiftshader-fix-build.patch
@@ -4,10 +4,10 @@ Bug: https://buildd.debian.org/status/fetch.php?pkg=chromium&arch=ppc64el&ver=13
Last-Update: 2024-12-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: chromium-144.0.7559.59/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
+Index: chromium-156.0.8078.35/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
===================================================================
---- chromium-144.0.7559.59.orig/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
-+++ chromium-144.0.7559.59/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
+--- chromium-156.0.8078.35.orig/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
++++ chromium-156.0.8078.35/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
@@ -1599,6 +1599,9 @@ swiftshader_llvm_source_set("swiftshader
"llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp",
"llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp",
diff --git a/0001-third_party-angle-Include-missing-header-cstddef-in-.patch b/0001-third_party-angle-Include-missing-header-cstddef-in-.patch
index 72b1e2a..5cbb9e4 100644
--- a/0001-third_party-angle-Include-missing-header-cstddef-in-.patch
+++ b/0001-third_party-angle-Include-missing-header-cstddef-in-.patch
@@ -1,7 +1,7 @@
-Index: chromium-144.0.7559.59/third_party/angle/src/libANGLE/Constants.h
+Index: chromium-156.0.8078.35/third_party/angle/src/libANGLE/Constants.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/angle/src/libANGLE/Constants.h
-+++ chromium-144.0.7559.59/third_party/angle/src/libANGLE/Constants.h
+--- chromium-156.0.8078.35.orig/third_party/angle/src/libANGLE/Constants.h
++++ chromium-156.0.8078.35/third_party/angle/src/libANGLE/Constants.h
@@ -9,6 +9,7 @@
#ifndef LIBANGLE_CONSTANTS_H_
#define LIBANGLE_CONSTANTS_H_
diff --git a/0001-third_party-libvpx-Disable-vsx-on-ppc64.patch b/0001-third_party-libvpx-Disable-vsx-on-ppc64.patch
index 0144749..6f29aa6 100644
--- a/0001-third_party-libvpx-Disable-vsx-on-ppc64.patch
+++ b/0001-third_party-libvpx-Disable-vsx-on-ppc64.patch
@@ -1,7 +1,7 @@
-Index: chromium-149.0.7827.53/third_party/libvpx/generate_gni.sh
+Index: chromium-156.0.8078.35/third_party/libvpx/generate_gni.sh
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/generate_gni.sh
-+++ chromium-149.0.7827.53/third_party/libvpx/generate_gni.sh
+--- chromium-156.0.8078.35.orig/third_party/libvpx/generate_gni.sh
++++ chromium-156.0.8078.35/third_party/libvpx/generate_gni.sh
@@ -407,6 +407,8 @@ x86_platforms="--enable-pic --as=yasm $D
# third_party\llvm-build\Release+Asserts\lib\clang\18\include\arm_sve.h(271,1):
# error: cannot mangle this built-in __SVInt8_t type yet
diff --git a/0001-third_party-libvpx-Properly-generate-gni-on-ppc64.patch b/0001-third_party-libvpx-Properly-generate-gni-on-ppc64.patch
index 359a1ca..ad46b8e 100644
--- a/0001-third_party-libvpx-Properly-generate-gni-on-ppc64.patch
+++ b/0001-third_party-libvpx-Properly-generate-gni-on-ppc64.patch
@@ -8,16 +8,16 @@ Subject: [PATCH] third_party/libvpx: Properly generate gni on ppc64
third_party/libvpx/generate_gni.sh | 10 ++++++++++
2 files changed, 12 insertions(+)
-Index: chromium-149.0.7827.53/third_party/libvpx/BUILD.gn
+Index: chromium-156.0.8078.35/third_party/libvpx/BUILD.gn
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/BUILD.gn
-+++ chromium-149.0.7827.53/third_party/libvpx/BUILD.gn
-@@ -294,6 +294,8 @@ if (current_cpu == "x86" || (current_cpu
+--- chromium-156.0.8078.35.orig/third_party/libvpx/BUILD.gn
++++ chromium-156.0.8078.35/third_party/libvpx/BUILD.gn
+@@ -282,6 +282,8 @@ if (current_cpu == "x86" || (current_cpu
+ sources = libvpx_srcs_x86_avx512
} else if (current_cpu == "x64") {
- deps = [ ":libvpx_x86_64_headers" ]
sources = libvpx_srcs_x86_64_avx512
+ } else if (current_cpu == "ppc64") {
+ sources = libvpx_srcs_ppc64
}
+ deps = [ ":libvpx_headers" ]
}
- }
diff --git a/0001-third_party-pffft-Include-altivec.h-on-ppc64-with-SI.patch b/0001-third_party-pffft-Include-altivec.h-on-ppc64-with-SI.patch
index 06a8f9e..ca0d1f5 100644
--- a/0001-third_party-pffft-Include-altivec.h-on-ppc64-with-SI.patch
+++ b/0001-third_party-pffft-Include-altivec.h-on-ppc64-with-SI.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] third_party/pffft: Include altivec.h on ppc64 with SIMD
third_party/pffft/src/pffft.c | 1 +
1 file changed, 1 insertion(+)
-Index: chromium-144.0.7559.59/third_party/pffft/src/pffft.c
+Index: chromium-156.0.8078.35/third_party/pffft/src/pffft.c
===================================================================
---- chromium-144.0.7559.59.orig/third_party/pffft/src/pffft.c
-+++ chromium-144.0.7559.59/third_party/pffft/src/pffft.c
+--- chromium-156.0.8078.35.orig/third_party/pffft/src/pffft.c
++++ chromium-156.0.8078.35/third_party/pffft/src/pffft.c
@@ -100,6 +100,7 @@
Altivec support macros
*/
diff --git a/0002-Add-PPC64-generated-files-for-boringssl.patch b/0002-Add-PPC64-generated-files-for-boringssl.patch
index 79e72c5..2ba9b84 100644
--- a/0002-Add-PPC64-generated-files-for-boringssl.patch
+++ b/0002-Add-PPC64-generated-files-for-boringssl.patch
@@ -1,7 +1,7 @@
-Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/bcm/aesp8-ppc-linux.S
+Index: chromium-156.0.8078.35/third_party/boringssl/src/gen/bcm/aesp8-ppc-linux.S
===================================================================
--- /dev/null
-+++ chromium-144.0.7559.59/third_party/boringssl/src/gen/bcm/aesp8-ppc-linux.S
++++ chromium-156.0.8078.35/third_party/boringssl/src/gen/bcm/aesp8-ppc-linux.S
@@ -0,0 +1,3673 @@
+// This file is generated from a similarly-named Perl script in the BoringSSL
+// source tree. Do not edit by hand.
@@ -3676,10 +3676,10 @@ Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/bcm/aesp8-ppc-linux.
+// See https://www.airs.ccom/blog/archives/518.
+.section .note.GNU-stack,"",%progbits
+#endif
-Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/bcm/ghashp8-ppc-linux.S
+Index: chromium-156.0.8078.35/third_party/boringssl/src/gen/bcm/ghashp8-ppc-linux.S
===================================================================
--- /dev/null
-+++ chromium-144.0.7559.59/third_party/boringssl/src/gen/bcm/ghashp8-ppc-linux.S
++++ chromium-156.0.8078.35/third_party/boringssl/src/gen/bcm/ghashp8-ppc-linux.S
@@ -0,0 +1,590 @@
+// This file is generated from a similarly-named Perl script in the BoringSSL
+// source tree. Do not edit by hand.
@@ -4271,11 +4271,11 @@ Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/bcm/ghashp8-ppc-linu
+// See https://www.airs.ccom/blog/archives/518.
+.section .note.GNU-stack,"",%progbits
+#endif
-Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.cmake
+Index: chromium-156.0.8078.35/third_party/boringssl/src/gen/sources.cmake
===================================================================
---- chromium-144.0.7559.59.orig/third_party/boringssl/src/gen/sources.cmake
-+++ chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.cmake
-@@ -122,6 +122,7 @@ set(
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/gen/sources.cmake
++++ chromium-156.0.8078.35/third_party/boringssl/src/gen/sources.cmake
+@@ -121,6 +121,7 @@ set(
gen/bcm/aesni-x86-linux.S
gen/bcm/aesni-x86_64-apple.S
gen/bcm/aesni-x86_64-linux.S
@@ -4283,7 +4283,7 @@ Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.cmake
gen/bcm/aesv8-armv7-linux.S
gen/bcm/aesv8-armv8-apple.S
gen/bcm/aesv8-armv8-linux.S
-@@ -153,6 +154,7 @@ set(
+@@ -152,6 +153,7 @@ set(
gen/bcm/ghash-x86-linux.S
gen/bcm/ghash-x86_64-apple.S
gen/bcm/ghash-x86_64-linux.S
@@ -4291,7 +4291,7 @@ Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.cmake
gen/bcm/ghashv8-armv7-linux.S
gen/bcm/ghashv8-armv8-apple.S
gen/bcm/ghashv8-armv8-linux.S
-@@ -352,6 +354,7 @@ set(
+@@ -383,6 +385,7 @@ set(
crypto/cpu_arm_freebsd.cc
crypto/cpu_arm_linux.cc
crypto/cpu_intel.cc
@@ -4299,7 +4299,7 @@ Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.cmake
crypto/crypto.cc
crypto/curve25519/curve25519.cc
crypto/curve25519/curve25519_64_adx.cc
-@@ -2980,6 +2983,7 @@ set(
+@@ -3136,6 +3139,7 @@ set(
gen/test_support/trampoline-armv8-apple.S
gen/test_support/trampoline-armv8-linux.S
gen/test_support/trampoline-armv8-win.S
@@ -4307,11 +4307,11 @@ Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.cmake
gen/test_support/trampoline-x86-apple.S
gen/test_support/trampoline-x86-linux.S
gen/test_support/trampoline-x86_64-apple.S
-Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.json
+Index: chromium-156.0.8078.35/third_party/boringssl/src/gen/sources.json
===================================================================
---- chromium-144.0.7559.59.orig/third_party/boringssl/src/gen/sources.json
-+++ chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.json
-@@ -100,6 +100,7 @@
+--- chromium-156.0.8078.35.orig/third_party/boringssl/src/gen/sources.json
++++ chromium-156.0.8078.35/third_party/boringssl/src/gen/sources.json
+@@ -99,6 +99,7 @@
"gen/bcm/aesni-x86-linux.S",
"gen/bcm/aesni-x86_64-apple.S",
"gen/bcm/aesni-x86_64-linux.S",
@@ -4319,7 +4319,7 @@ Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.json
"gen/bcm/aesv8-armv7-linux.S",
"gen/bcm/aesv8-armv8-apple.S",
"gen/bcm/aesv8-armv8-linux.S",
-@@ -131,6 +132,7 @@
+@@ -130,6 +131,7 @@
"gen/bcm/ghash-x86-linux.S",
"gen/bcm/ghash-x86_64-apple.S",
"gen/bcm/ghash-x86_64-linux.S",
@@ -4327,7 +4327,7 @@ Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.json
"gen/bcm/ghashv8-armv7-linux.S",
"gen/bcm/ghashv8-armv8-apple.S",
"gen/bcm/ghashv8-armv8-linux.S",
-@@ -322,6 +324,7 @@
+@@ -349,6 +351,7 @@
"crypto/cpu_arm_freebsd.cc",
"crypto/cpu_arm_linux.cc",
"crypto/cpu_intel.cc",
@@ -4335,7 +4335,7 @@ Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.json
"crypto/crypto.cc",
"crypto/curve25519/curve25519.cc",
"crypto/curve25519/curve25519_64_adx.cc",
-@@ -2892,6 +2895,7 @@
+@@ -3038,6 +3041,7 @@
"gen/test_support/trampoline-armv8-apple.S",
"gen/test_support/trampoline-armv8-linux.S",
"gen/test_support/trampoline-armv8-win.S",
@@ -4343,10 +4343,10 @@ Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/sources.json
"gen/test_support/trampoline-x86-apple.S",
"gen/test_support/trampoline-x86-linux.S",
"gen/test_support/trampoline-x86_64-apple.S",
-Index: chromium-144.0.7559.59/third_party/boringssl/src/gen/test_support/trampoline-ppc-linux.S
+Index: chromium-156.0.8078.35/third_party/boringssl/src/gen/test_support/trampoline-ppc-linux.S
===================================================================
--- /dev/null
-+++ chromium-144.0.7559.59/third_party/boringssl/src/gen/test_support/trampoline-ppc-linux.S
++++ chromium-156.0.8078.35/third_party/boringssl/src/gen/test_support/trampoline-ppc-linux.S
@@ -0,0 +1,1413 @@
+// This file is generated from a similarly-named Perl script in the BoringSSL
+// source tree. Do not edit by hand.
diff --git a/0002-regenerate-xnn-buildgn.patch b/0002-regenerate-xnn-buildgn.patch
index 92ba829..dc33b56 100644
--- a/0002-regenerate-xnn-buildgn.patch
+++ b/0002-regenerate-xnn-buildgn.patch
@@ -1,144057 +1,8516 @@
-File regenerated by running 'python3 generate_build_gn.py'
-Requires Bazel 8 or higher to regenerate
+File regenerated by running the 'regenerate_xnnpack_patch' script
+Requires Bazel 8 (cannot be 9+) to regenerate
NOTE: Multiple Bazel 8 files have a "cpu:ppc" bug, where it should read "cpu:ppc64le"
This causes various toolchain failures of the form:
While resolving toolchains for target @@rules_python+//python:current_py_toolchain
@@bazel_tools//tools/python:toolchain_type
-Index: chromium-155.0.8059.39/third_party/xnnpack/BUILD.gn
+
+Index: chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
===================================================================
---- chromium-155.0.8059.39.orig/third_party/xnnpack/BUILD.gn
-+++ chromium-155.0.8059.39/third_party/xnnpack/BUILD.gn
-@@ -34,10 +34,10 @@ config("xnnpack_public_config") {
+--- chromium-156.0.8078.35.orig/third_party/xnnpack/BUILD.gn
++++ chromium-156.0.8078.35/third_party/xnnpack/BUILD.gn
+@@ -2252,6 +2252,298 @@ if (current_cpu == "x64" || current_cpu
+ ":xx-transposev_riscv64_standalone",
+ ]
}
-
- defines = [
-- "CHROMIUM",
-- "XNN_LOG_LEVEL=0",
-- "XNN_LOG_TO_STDIO=0",
-- ] + xnn_defines
-+ "CHROMIUM",
-+ "XNN_LOG_LEVEL=0",
-+ "XNN_LOG_TO_STDIO=0",
-+ ] + xnn_defines
- }
-
- config("xnnpack_private_config") {
-@@ -48,2196 +48,2494 @@ config("xnnpack_private_config") {
- ]
- }
-
-+
- if (current_cpu == "x64" || current_cpu == "x86") {
-+
++} else if (current_cpu == "ppc64") {
+ if (build_with_chromium) {
+ xnnpack_deps = [
-+ ":bf16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":bf16-f32-vcvt_x64",
-+ ":bf16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":bf16-qs8-vcvt_x64",
-+ ":bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":bf16-qu8-vcvt_x64",
-+ ":bf16-rminmax_x64",
-+ ":bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":bf16-vunary_x64",
-+ ":configs_x64",
-+ ":enums_x64",
-+ ":f16-avgpool_f16c-no-avx2-no-fma",
-+ ":f16-avgpool_x64",
-+ ":f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-dwconv_f16c-fma-no-avx2",
-+ ":f16-dwconv_x64",
-+ ":f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma",
-+ ":f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f16-f32-vcvt_f16c-no-avx2-no-fma",
-+ ":f16-f32-vcvt_sse2-no-sse3",
-+ ":f16-f32-vcvt_sse4.1-no-sse4.2",
-+ ":f16-f32-vcvt_x64",
-+ ":f16-f32acc-gemm_f16c-fma-avx2",
-+ ":f16-f32acc-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f16-f32acc-igemm_f16c-fma-avx2",
-+ ":f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f16-f32acc-rdsum2_f16c-no-avx2-no-fma",
-+ ":f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f16-f32acc-rdsum_f16c-no-avx2-no-fma",
-+ ":f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f16-f32acc-rsum2_f16c-no-avx2-no-fma",
-+ ":f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f16-f32acc-rsum_f16c-no-avx2-no-fma",
-+ ":f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-ibilinear_f16c-fma-no-avx2",
-+ ":f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-maxpool_f16c-fma-avx2",
-+ ":f16-maxpool_sse4.1-no-sse4.2",
-+ ":f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f16-qs8-vcvt_x64",
-+ ":f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f16-qu8-vcvt_x64",
-+ ":f16-raddstoreexpminusmax_f16c-fma-avx2",
-+ ":f16-rdminmax_x64",
-+ ":f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-rminmax_f16c-no-avx2-no-fma",
-+ ":f16-rminmax_x64",
-+ ":f16-vapproxgelu_avx512f",
-+ ":f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-vapproxgelu_f16c-no-avx2-no-fma",
-+ ":f16-vapproxgelu_x64",
-+ ":f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-vbinary_f16c-no-avx2-no-fma",
-+ ":f16-vclamp_f16c-no-avx2-no-fma",
-+ ":f16-vcos_avx512f",
-+ ":f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-vcos_f16c-no-avx2-no-fma",
-+ ":f16-vcos_x64",
-+ ":f16-velu_f16c-fma-avx2",
-+ ":f16-vexp_avx512f",
-+ ":f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-vexp_f16c-no-avx2-no-fma",
-+ ":f16-vexp_x64",
-+ ":f16-vgelu_x64",
-+ ":f16-vhswish_f16c-no-avx2-no-fma",
-+ ":f16-vlog_avx512f",
-+ ":f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-vlog_f16c-no-avx2-no-fma",
-+ ":f16-vlog_x64",
-+ ":f16-vlrelu_f16c-no-avx2-no-fma",
-+ ":f16-vmulcaddc_f16c-fma-no-avx2",
-+ ":f16-vrnd_f16c-no-avx2-no-fma",
-+ ":f16-vrsqrt_f16c-no-avx2-no-fma",
-+ ":f16-vsigmoid_f16c-fma-avx2",
-+ ":f16-vsin_avx512f",
-+ ":f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-vsin_f16c-no-avx2-no-fma",
-+ ":f16-vsin_x64",
-+ ":f16-vsqrt_f16c-no-avx2-no-fma",
-+ ":f16-vsqrt_x64",
-+ ":f16-vtanh_avx512f",
-+ ":f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-+ ":f16-vtanh_f16c-no-avx2-no-fma",
-+ ":f16-vtanh_x64",
-+ ":f16-vunary_f16c-no-avx2-no-fma",
-+ ":f16-vunary_sse2-no-sse3",
-+ ":f32-argmaxpool_sse2-no-sse3",
-+ ":f32-argmaxpool_x64",
-+ ":f32-avgpool_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-avgpool_avx512f",
-+ ":f32-avgpool_sse2-no-sse3",
-+ ":f32-avgpool_x64",
-+ ":f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16",
-+ ":f32-bf16-vcvt_x64",
-+ ":f32-conv-hwc2chw_sse-no-sse2",
-+ ":f32-conv-hwc2chw_x64",
-+ ":f32-dwconv2d-chw_sse-no-sse2",
-+ ":f32-dwconv2d-chw_ssse3-no-sse4.1",
-+ ":f32-dwconv2d-chw_x64",
-+ ":f32-dwconv_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-dwconv_avx512f",
-+ ":f32-dwconv_f16c-fma-no-avx2",
-+ ":f32-dwconv_sse-no-sse2",
-+ ":f32-dwconv_x64",
-+ ":f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f32-f16-vcvt_f16c-no-avx2-no-fma",
-+ ":f32-f16-vcvt_sse2-no-sse3",
-+ ":f32-f16-vcvt_sse4.1-no-sse4.2",
-+ ":f32-f16-vcvt_x64",
-+ ":f32-gemm_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-gemm_avx512f",
-+ ":f32-gemm_f16c-fma-no-avx2",
-+ ":f32-gemm_sse-no-sse2",
-+ ":f32-gemm_x64",
-+ ":f32-ibilinear-chw_sse-no-sse2",
-+ ":f32-ibilinear-chw_x64",
-+ ":f32-ibilinear_sse-no-sse2",
-+ ":f32-ibilinear_x64",
-+ ":f32-igemm_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-igemm_avx512f",
-+ ":f32-igemm_f16c-fma-no-avx2",
-+ ":f32-igemm_sse-no-sse2",
-+ ":f32-igemm_x64",
-+ ":f32-maxpool_sse2-no-sse3",
-+ ":f32-maxpool_x64",
-+ ":f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-qc4w-gemm_f16c-fma-avx2",
-+ ":f32-qc4w-gemm_f16c-fma-no-avx2",
-+ ":f32-qc4w-gemm_sse4.1-no-sse4.2",
-+ ":f32-qc4w-gemm_x64",
-+ ":f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-qc8w-gemm_f16c-fma-avx2",
-+ ":f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f32-qc8w-gemm_f16c-fma-no-avx2",
-+ ":f32-qc8w-gemm_sse4.1-no-sse4.2",
-+ ":f32-qc8w-gemm_x64",
-+ ":f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-qs8-vcvt_f16c-fma-avx2",
-+ ":f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f32-qs8-vcvt_sse2-no-sse3",
-+ ":f32-qs8-vcvt_sse4.1-no-sse4.2",
-+ ":f32-qs8-vcvt_x64",
-+ ":f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-qu8-vcvt_f16c-fma-avx2",
-+ ":f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f32-qu8-vcvt_sse2-no-sse3",
-+ ":f32-qu8-vcvt_x64",
-+ ":f32-raddstoreexpminusmax_avx512f",
-+ ":f32-raddstoreexpminusmax_f16c-fma-avx2",
-+ ":f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":f32-raddstoreexpminusmax_sse2-no-sse3",
-+ ":f32-raddstoreexpminusmax_x64",
-+ ":f32-rdminmax_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-rdminmax_avx512f",
-+ ":f32-rdminmax_sse2-no-sse3",
-+ ":f32-rdminmax_x64",
-+ ":f32-rdsum2_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-rdsum2_avx512f",
-+ ":f32-rdsum2_sse2-no-sse3",
-+ ":f32-rdsum2_x64",
-+ ":f32-rdsum_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-rdsum_avx512f",
-+ ":f32-rdsum_sse2-no-sse3",
-+ ":f32-rdsum_x64",
-+ ":f32-rminmax_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-rminmax_avx512f",
-+ ":f32-rminmax_sse-no-sse2",
-+ ":f32-rminmax_x64",
-+ ":f32-rsum2_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-rsum2_avx512f",
-+ ":f32-rsum2_sse2-no-sse3",
-+ ":f32-rsum2_x64",
-+ ":f32-rsum_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-rsum_avx512f",
-+ ":f32-rsum_sse2-no-sse3",
-+ ":f32-rsum_x64",
-+ ":f32-spmm_sse-no-sse2",
-+ ":f32-spmm_x64",
-+ ":f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vapproxgelu_avx512f",
-+ ":f32-vapproxgelu_f16c-fma-no-avx2",
-+ ":f32-vapproxgelu_sse2-no-sse3",
-+ ":f32-vapproxgelu_x64",
-+ ":f32-vbinary_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vbinary_avx512f",
-+ ":f32-vbinary_sse-no-sse2",
-+ ":f32-vbinary_sse2-no-sse3",
-+ ":f32-vbinary_x64",
-+ ":f32-vclamp_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vclamp_avx512f",
-+ ":f32-vclamp_sse2-no-sse3",
-+ ":f32-vclamp_x64",
-+ ":f32-vcmul_avx512f",
-+ ":f32-vcmul_f16c-fma-no-avx2",
-+ ":f32-vcmul_sse-no-sse2",
-+ ":f32-vcmul_x64",
-+ ":f32-vcopysign_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vcopysign_avx512f",
-+ ":f32-vcopysign_sse2-no-sse3",
-+ ":f32-vcopysign_x64",
-+ ":f32-vcos_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vcos_avx512f",
-+ ":f32-vcos_f16c-fma-no-avx2",
-+ ":f32-vcos_sse2-no-sse3",
-+ ":f32-vcos_x64",
-+ ":f32-velu_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-velu_avx512f",
-+ ":f32-velu_f16c-fma-avx2",
-+ ":f32-velu_sse2-no-sse3",
-+ ":f32-velu_x64",
-+ ":f32-vexp_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vexp_avx512f",
-+ ":f32-vexp_f16c-fma-no-avx2",
-+ ":f32-vexp_sse2-no-sse3",
-+ ":f32-vexp_x64",
-+ ":f32-vgelu_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vgelu_avx512f",
-+ ":f32-vgelu_f16c-fma-no-avx2",
-+ ":f32-vgelu_sse2-no-sse3",
-+ ":f32-vgelu_x64",
-+ ":f32-vhswish_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vhswish_avx512f",
-+ ":f32-vhswish_f16c-fma-no-avx2",
-+ ":f32-vhswish_sse2-no-sse3",
-+ ":f32-vhswish_x64",
-+ ":f32-vlog_avx512f",
-+ ":f32-vlog_f16c-fma-avx2",
-+ ":f32-vlog_f16c-fma-no-avx2",
-+ ":f32-vlog_sse2-no-sse3",
-+ ":f32-vlog_x64",
-+ ":f32-vlrelu_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vlrelu_avx512f",
-+ ":f32-vlrelu_sse-no-sse2",
-+ ":f32-vlrelu_sse4.1-no-sse4.2",
-+ ":f32-vlrelu_x64",
-+ ":f32-vmulcaddc_sse-no-sse2",
-+ ":f32-vmulcaddc_x64",
-+ ":f32-vrnd_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vrnd_avx512f",
-+ ":f32-vrnd_sse2-no-sse3",
-+ ":f32-vrnd_sse4.1-no-sse4.2",
-+ ":f32-vrnd_x64",
-+ ":f32-vrsqrt_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vrsqrt_avx512f",
-+ ":f32-vrsqrt_sse2-no-sse3",
-+ ":f32-vrsqrt_x64",
-+ ":f32-vsigmoid_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vsigmoid_avx512f",
-+ ":f32-vsigmoid_f16c-fma-avx2",
-+ ":f32-vsigmoid_sse2-no-sse3",
-+ ":f32-vsigmoid_sse4.1-no-sse4.2",
-+ ":f32-vsigmoid_x64",
-+ ":f32-vsin_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vsin_avx512f",
-+ ":f32-vsin_f16c-fma-no-avx2",
-+ ":f32-vsin_sse2-no-sse3",
-+ ":f32-vsin_x64",
-+ ":f32-vsqrt_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vsqrt_avx512f",
-+ ":f32-vsqrt_sse2-no-sse3",
-+ ":f32-vsqrt_x64",
-+ ":f32-vtanh_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vtanh_avx512f",
-+ ":f32-vtanh_f16c-fma-no-avx2",
-+ ":f32-vtanh_sse2-no-sse3",
-+ ":f32-vtanh_x64",
-+ ":f32-vunary_avx-no-avx2-no-f16c-no-fma",
-+ ":f32-vunary_avx512f",
-+ ":f32-vunary_sse2-no-sse3",
-+ ":f32-vunary_x64",
-+ ":operators_x64",
-+ ":qd8-bf16-qb4w-gemm_f16c-fma-avx2",
-+ ":qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qd8-bf16-qb4w-gemm_x64",
-+ ":qd8-f16-qb4w-gemm_f16c-fma-avx2",
-+ ":qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qd8-f16-qc2w-gemm_f16c-fma-avx2",
-+ ":qd8-f16-qc2w-gemm_x64",
-+ ":qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qd8-f16-qc4w-gemm_f16c-fma-avx2",
-+ ":qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qd8-f16-qc8w-gemm_f16c-fma-avx2",
-+ ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-+ ":qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qd8-f16-qc8w-igemm_f16c-fma-avx2",
-+ ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-+ ":qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma",
-+ ":qd8-f32-qb4w-gemm_f16c-fma-avx2",
-+ ":qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni",
-+ ":qd8-f32-qb4w-gemm_sse2-no-sse3",
-+ ":qd8-f32-qb4w-gemm_sse4.1-no-sse4.2",
-+ ":qd8-f32-qb4w-gemm_x64",
-+ ":qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qd8-f32-qc2w-gemm_f16c-fma-avx2",
-+ ":qd8-f32-qc2w-gemm_ssse3-no-sse4.1",
-+ ":qd8-f32-qc2w-gemm_x64",
-+ ":qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qd8-f32-qc4w-gemm_f16c-fma-avx2",
-+ ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni",
-+ ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-+ ":qd8-f32-qc4w-gemm_sse2-no-sse3",
-+ ":qd8-f32-qc4w-gemm_ssse3-no-sse4.1",
-+ ":qd8-f32-qc4w-gemm_x64",
-+ ":qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qd8-f32-qc8w-gemm_f16c-fma-avx2",
-+ ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-+ ":qd8-f32-qc8w-gemm_sse2-no-sse3",
-+ ":qd8-f32-qc8w-gemm_sse4.1-no-sse4.2",
-+ ":qd8-f32-qc8w-gemm_x64",
-+ ":qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qd8-f32-qc8w-igemm_f16c-fma-avx2",
-+ ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-+ ":qd8-f32-qc8w-igemm_sse2-no-sse3",
-+ ":qd8-f32-qc8w-igemm_sse4.1-no-sse4.2",
-+ ":qd8-f32-qc8w-igemm_x64",
-+ ":qs8-dwconv_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-dwconv_f16c-fma-avx2",
-+ ":qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-dwconv_sse2-no-sse3",
-+ ":qs8-dwconv_sse4.1-no-sse4.2",
-+ ":qs8-dwconv_x64",
-+ ":qs8-f16-vcvt_f16c-fma-avx2",
-+ ":qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-f32-vcvt_f16c-fma-avx2",
-+ ":qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-f32-vcvt_sse2-no-sse3",
-+ ":qs8-f32-vcvt_sse4.1-no-sse4.2",
-+ ":qs8-f32-vcvt_x64",
-+ ":qs8-packw_avx2-avxvnni-f16c-fma-gfni",
-+ ":qs8-packw_f16c-fma-avx2",
-+ ":qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qs8-packw_x64",
-+ ":qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qs8-qc2w-gemm_f16c-fma-avx2",
-+ ":qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-qc2w-gemm_ssse3-no-sse4.1",
-+ ":qs8-qc2w-gemm_x64",
-+ ":qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qs8-qc4w-gemm_f16c-fma-avx2",
-+ ":qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qs8-qc4w-gemm_ssse3-no-sse4.1",
-+ ":qs8-qc4w-gemm_x64",
-+ ":qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni",
-+ ":qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qs8-qc4w-packw_sse2-no-sse3",
-+ ":qs8-qc4w-packw_x64",
-+ ":qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-qc8w-dwconv_f16c-fma-avx2",
-+ ":qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-qc8w-dwconv_sse2-no-sse3",
-+ ":qs8-qc8w-dwconv_sse4.1-no-sse4.2",
-+ ":qs8-qc8w-dwconv_x64",
-+ ":qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni",
-+ ":qs8-qc8w-gemm_f16c-fma-avx2",
-+ ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-+ ":qs8-qc8w-gemm_sse2-no-sse3",
-+ ":qs8-qc8w-gemm_sse4.1-no-sse4.2",
-+ ":qs8-qc8w-gemm_x64",
-+ ":qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni",
-+ ":qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni",
-+ ":qs8-qc8w-igemm_f16c-fma-avx2",
-+ ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-+ ":qs8-qc8w-igemm_sse2-no-sse3",
-+ ":qs8-qc8w-igemm_sse4.1-no-sse4.2",
-+ ":qs8-qc8w-igemm_x64",
-+ ":qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni",
-+ ":qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qs8-qu8-packw_x64",
-+ ":qs8-rdsum_f16c-fma-avx2",
-+ ":qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-rdsum_sse4.1-no-sse4.2",
-+ ":qs8-rdsum_x64",
-+ ":qs8-rsum_avx2-avxvnni-f16c-fma-gfni",
-+ ":qs8-rsum_f16c-fma-avx2",
-+ ":qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-+ ":qs8-rsum_ssse3-no-sse4.1",
-+ ":qs8-rsum_x64",
-+ ":qs8-vadd_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-vadd_f16c-fma-avx2",
-+ ":qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-vadd_sse2-no-sse3",
-+ ":qs8-vadd_sse4.1-no-sse4.2",
-+ ":qs8-vadd_x64",
-+ ":qs8-vaddc_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-vaddc_f16c-fma-avx2",
-+ ":qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qs8-vaddc_sse2-no-sse3",
-+ ":qs8-vaddc_sse4.1-no-sse4.2",
-+ ":qs8-vaddc_x64",
-+ ":qs8-vcvt_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-vcvt_f16c-fma-avx2",
-+ ":qs8-vcvt_sse2-no-sse3",
-+ ":qs8-vcvt_sse4.1-no-sse4.2",
-+ ":qs8-vcvt_ssse3-no-sse4.1",
-+ ":qs8-vcvt_x64",
-+ ":qs8-vlrelu_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-vlrelu_f16c-fma-avx2",
-+ ":qs8-vlrelu_sse2-no-sse3",
-+ ":qs8-vlrelu_sse4.1-no-sse4.2",
-+ ":qs8-vlrelu_ssse3-no-sse4.1",
-+ ":qs8-vlrelu_x64",
-+ ":qs8-vmul_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-vmul_sse2-no-sse3",
-+ ":qs8-vmul_sse4.1-no-sse4.2",
-+ ":qs8-vmul_x64",
-+ ":qs8-vmulc_avx-no-avx2-no-f16c-no-fma",
-+ ":qs8-vmulc_sse2-no-sse3",
-+ ":qs8-vmulc_sse4.1-no-sse4.2",
-+ ":qs8-vmulc_x64",
-+ ":qs8-vprelu_f16c-fma-avx2",
-+ ":qs8-vprelu_x64",
-+ ":qs8-vpreluc_f16c-fma-avx2",
-+ ":qs8-vpreluc_x64",
-+ ":qs8-vrpreluc_f16c-fma-avx2",
-+ ":qs8-vrpreluc_x64",
-+ ":qu8-dwconv_avx-no-avx2-no-f16c-no-fma",
-+ ":qu8-dwconv_f16c-fma-avx2",
-+ ":qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qu8-dwconv_sse2-no-sse3",
-+ ":qu8-dwconv_sse4.1-no-sse4.2",
-+ ":qu8-dwconv_x64",
-+ ":qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma",
-+ ":qu8-f32-vcvt_f16c-fma-avx2",
-+ ":qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qu8-f32-vcvt_sse2-no-sse3",
-+ ":qu8-f32-vcvt_sse4.1-no-sse4.2",
-+ ":qu8-f32-vcvt_x64",
-+ ":qu8-gemm_avx-no-avx2-no-f16c-no-fma",
-+ ":qu8-gemm_f16c-fma-avx2",
-+ ":qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qu8-gemm_sse2-no-sse3",
-+ ":qu8-gemm_sse4.1-no-sse4.2",
-+ ":qu8-gemm_x64",
-+ ":qu8-igemm_avx-no-avx2-no-f16c-no-fma",
-+ ":qu8-igemm_f16c-fma-avx2",
-+ ":qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qu8-igemm_sse2-no-sse3",
-+ ":qu8-igemm_sse4.1-no-sse4.2",
-+ ":qu8-igemm_x64",
-+ ":qu8-rdsum_ssse3-no-sse4.1",
-+ ":qu8-rdsum_x64",
-+ ":qu8-rsum_f16c-fma-avx2",
-+ ":qu8-rsum_sse2-no-sse3",
-+ ":qu8-rsum_x64",
-+ ":qu8-vadd_avx-no-avx2-no-f16c-no-fma",
-+ ":qu8-vadd_f16c-fma-avx2",
-+ ":qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qu8-vadd_sse2-no-sse3",
-+ ":qu8-vadd_sse4.1-no-sse4.2",
-+ ":qu8-vadd_x64",
-+ ":qu8-vaddc_avx-no-avx2-no-f16c-no-fma",
-+ ":qu8-vaddc_f16c-fma-avx2",
-+ ":qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":qu8-vaddc_sse2-no-sse3",
-+ ":qu8-vaddc_sse4.1-no-sse4.2",
-+ ":qu8-vaddc_x64",
-+ ":qu8-vcvt_avx-no-avx2-no-f16c-no-fma",
-+ ":qu8-vcvt_f16c-fma-avx2",
-+ ":qu8-vcvt_sse2-no-sse3",
-+ ":qu8-vcvt_sse4.1-no-sse4.2",
-+ ":qu8-vcvt_ssse3-no-sse4.1",
-+ ":qu8-vcvt_x64",
-+ ":qu8-vlrelu_avx-no-avx2-no-f16c-no-fma",
-+ ":qu8-vlrelu_f16c-fma-avx2",
-+ ":qu8-vlrelu_sse2-no-sse3",
-+ ":qu8-vlrelu_sse4.1-no-sse4.2",
-+ ":qu8-vlrelu_ssse3-no-sse4.1",
-+ ":qu8-vlrelu_x64",
-+ ":qu8-vmul_avx-no-avx2-no-f16c-no-fma",
-+ ":qu8-vmul_sse2-no-sse3",
-+ ":qu8-vmul_sse4.1-no-sse4.2",
-+ ":qu8-vmul_x64",
-+ ":qu8-vmulc_avx-no-avx2-no-f16c-no-fma",
-+ ":qu8-vmulc_sse2-no-sse3",
-+ ":qu8-vmulc_sse4.1-no-sse4.2",
-+ ":qu8-vmulc_x64",
-+ ":qu8-vprelu_f16c-fma-avx2",
-+ ":qu8-vprelu_x64",
-+ ":qu8-vpreluc_f16c-fma-avx2",
-+ ":qu8-vpreluc_x64",
-+ ":qu8-vrpreluc_f16c-fma-avx2",
-+ ":qu8-vrpreluc_x64",
-+ ":reference_x64",
-+ ":s8-ibilinear_sse2-no-sse3",
-+ ":s8-ibilinear_sse4.1-no-sse4.2",
-+ ":s8-ibilinear_x64",
-+ ":s8-maxpool_sse4.1-no-sse4.2",
-+ ":s8-maxpool_x64",
-+ ":s8-rdminmax_sse4.1-no-sse4.2",
-+ ":s8-rdminmax_x64",
-+ ":s8-rminmax_sse4.1-no-sse4.2",
-+ ":s8-rminmax_x64",
-+ ":s8-vclamp_f16c-fma-avx2",
-+ ":s8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":s8-vclamp_sse2-no-sse3",
-+ ":s8-vclamp_sse4.1-no-sse4.2",
-+ ":s8-vclamp_x64",
-+ ":subgraph_x64",
-+ ":tables_x64",
-+ ":u8-ibilinear_sse2-no-sse3",
-+ ":u8-ibilinear_sse4.1-no-sse4.2",
-+ ":u8-ibilinear_x64",
-+ ":u8-lut32norm_x64",
-+ ":u8-maxpool_sse2-no-sse3",
-+ ":u8-maxpool_x64",
-+ ":u8-rdminmax_sse2-no-sse3",
-+ ":u8-rdminmax_x64",
-+ ":u8-rminmax_sse2-no-sse3",
-+ ":u8-rminmax_x64",
-+ ":u8-vclamp_f16c-fma-avx2",
-+ ":u8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":u8-vclamp_sse2-no-sse3",
-+ ":u8-vclamp_x64",
-+ ":x16-packw_f16c-fma-avx2",
-+ ":x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":x16-packw_x64",
-+ ":x16-transposec_f16c-fma-avx2",
-+ ":x16-transposec_sse2-no-sse3",
-+ ":x16-transposec_x64",
-+ ":x16-x32-packw_x64",
-+ ":x24-transposec_ssse3-no-sse4.1",
-+ ":x24-transposec_x64",
-+ ":x32-packw_avx-no-avx2-no-f16c-no-fma",
-+ ":x32-packw_avx512f",
-+ ":x32-packw_sse2-no-sse3",
-+ ":x32-packw_x64",
-+ ":x32-transposec_avx-no-avx2-no-f16c-no-fma",
-+ ":x32-transposec_sse-no-sse2",
-+ ":x32-transposec_x64",
-+ ":x32-unpool_sse2-no-sse3",
-+ ":x32-unpool_x64",
-+ ":x64-transposec_avx-no-avx2-no-f16c-no-fma",
-+ ":x64-transposec_sse2-no-sse3",
-+ ":x64-transposec_x64",
-+ ":x8-lut_avx-no-avx2-no-f16c-no-fma",
-+ ":x8-lut_f16c-fma-avx2",
-+ ":x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vbmi",
-+ ":x8-lut_x64",
-+ ":x8-packq_x64",
-+ ":x8-packw_x64",
-+ ":x8-transposec_f16c-fma-avx2",
-+ ":x8-transposec_sse2-no-sse3",
-+ ":x8-transposec_x64",
-+ ":xx-copy_x64",
-+ ":xx-fill_sse2-no-sse3",
-+ ":xx-fill_x64",
-+ ":xx-pad_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-+ ":xx-pad_sse2-no-sse3",
-+ ":xx-pad_x64",
-+ ":xx-transposev_x64"
++ ":bf16-f32-vcvt_ppc64",
++ ":bf16-qs8-vcvt_ppc64",
++ ":bf16-qu8-vcvt_ppc64",
++ ":bf16-rminmax_ppc64",
++ ":bf16-vunary_ppc64",
++ ":configs_ppc64",
++ ":enums_ppc64",
++ ":f16-avgpool_ppc64",
++ ":f16-dwconv_ppc64",
++ ":f16-f32-vcvt_ppc64",
++ ":f16-qs8-vcvt_ppc64",
++ ":f16-qu8-vcvt_ppc64",
++ ":f16-rdminmax_ppc64",
++ ":f16-rminmax_ppc64",
++ ":f16-vapproxgelu_ppc64",
++ ":f16-vbinary_ppc64",
++ ":f16-vcos_ppc64",
++ ":f16-vexp_ppc64",
++ ":f16-vgelu_ppc64",
++ ":f16-vlog_ppc64",
++ ":f16-vsin_ppc64",
++ ":f16-vsqrt_ppc64",
++ ":f16-vtanh_ppc64",
++ ":f32-argmaxpool_ppc64",
++ ":f32-avgpool_ppc64",
++ ":f32-bf16-vcvt_ppc64",
++ ":f32-conv-hwc2chw_ppc64",
++ ":f32-dwconv2d-chw_ppc64",
++ ":f32-dwconv_ppc64",
++ ":f32-f16-vcvt_ppc64",
++ ":f32-gemm_ppc64",
++ ":f32-ibilinear-chw_ppc64",
++ ":f32-ibilinear_ppc64",
++ ":f32-igemm_ppc64",
++ ":f32-maxpool_ppc64",
++ ":f32-qc4w-gemm_ppc64",
++ ":f32-qc8w-gemm_ppc64",
++ ":f32-qs8-vcvt_ppc64",
++ ":f32-qu8-vcvt_ppc64",
++ ":f32-raddstoreexpminusmax_ppc64",
++ ":f32-rdminmax_ppc64",
++ ":f32-rdsum2_ppc64",
++ ":f32-rdsum_ppc64",
++ ":f32-rminmax_ppc64",
++ ":f32-rsum2_ppc64",
++ ":f32-rsum_ppc64",
++ ":f32-spmm_ppc64",
++ ":f32-vapproxgelu_ppc64",
++ ":f32-vbinary_ppc64",
++ ":f32-vclamp_ppc64",
++ ":f32-vcmul_ppc64",
++ ":f32-vcopysign_ppc64",
++ ":f32-vcos_ppc64",
++ ":f32-velu_ppc64",
++ ":f32-vexp_ppc64",
++ ":f32-vgelu_ppc64",
++ ":f32-vhswish_ppc64",
++ ":f32-vlog_ppc64",
++ ":f32-vlrelu_ppc64",
++ ":f32-vmulcaddc_ppc64",
++ ":f32-vrnd_ppc64",
++ ":f32-vrsqrt_ppc64",
++ ":f32-vsigmoid_ppc64",
++ ":f32-vsin_ppc64",
++ ":f32-vsqrt_ppc64",
++ ":f32-vtanh_ppc64",
++ ":f32-vunary_ppc64",
++ ":operators_ppc64",
++ ":qd8-bf16-qb4w-gemm_ppc64",
++ ":qd8-f16-qc2w-gemm_ppc64",
++ ":qd8-f32-qb4w-gemm_ppc64",
++ ":qd8-f32-qc2w-gemm_ppc64",
++ ":qd8-f32-qc4w-gemm_ppc64",
++ ":qd8-f32-qc8w-gemm_ppc64",
++ ":qd8-f32-qc8w-igemm_ppc64",
++ ":qs8-dwconv_ppc64",
++ ":qs8-f32-vcvt_ppc64",
++ ":qs8-packw_ppc64",
++ ":qs8-qc2w-gemm_ppc64",
++ ":qs8-qc4w-gemm_ppc64",
++ ":qs8-qc4w-packw_ppc64",
++ ":qs8-qc8w-dwconv_ppc64",
++ ":qs8-qc8w-gemm_ppc64",
++ ":qs8-qc8w-igemm_ppc64",
++ ":qs8-qu8-packw_ppc64",
++ ":qs8-rdsum_ppc64",
++ ":qs8-rsum_ppc64",
++ ":qs8-vadd_ppc64",
++ ":qs8-vaddc_ppc64",
++ ":qs8-vcvt_ppc64",
++ ":qs8-vlrelu_ppc64",
++ ":qs8-vmul_ppc64",
++ ":qs8-vmulc_ppc64",
++ ":qs8-vprelu_ppc64",
++ ":qs8-vpreluc_ppc64",
++ ":qs8-vrpreluc_ppc64",
++ ":qu8-dwconv_ppc64",
++ ":qu8-f32-vcvt_ppc64",
++ ":qu8-gemm_ppc64",
++ ":qu8-igemm_ppc64",
++ ":qu8-rdsum_ppc64",
++ ":qu8-rsum_ppc64",
++ ":qu8-vadd_ppc64",
++ ":qu8-vaddc_ppc64",
++ ":qu8-vcvt_ppc64",
++ ":qu8-vlrelu_ppc64",
++ ":qu8-vmul_ppc64",
++ ":qu8-vmulc_ppc64",
++ ":qu8-vprelu_ppc64",
++ ":qu8-vpreluc_ppc64",
++ ":qu8-vrpreluc_ppc64",
++ ":reference_ppc64",
++ ":s8-ibilinear_ppc64",
++ ":s8-maxpool_ppc64",
++ ":s8-rdminmax_ppc64",
++ ":s8-rminmax_ppc64",
++ ":s8-vclamp_ppc64",
++ ":subgraph_ppc64",
++ ":tables_ppc64",
++ ":u8-ibilinear_ppc64",
++ ":u8-lut32norm_ppc64",
++ ":u8-maxpool_ppc64",
++ ":u8-rdminmax_ppc64",
++ ":u8-rminmax_ppc64",
++ ":u8-vclamp_ppc64",
++ ":x16-packw_ppc64",
++ ":x16-transposec_ppc64",
++ ":x16-x32-packw_ppc64",
++ ":x24-transposec_ppc64",
++ ":x32-packw_ppc64",
++ ":x32-transposec_ppc64",
++ ":x32-unpool_ppc64",
++ ":x64-transposec_ppc64",
++ ":x8-lut_ppc64",
++ ":x8-packq_ppc64",
++ ":x8-packw_ppc64",
++ ":x8-transposec_ppc64",
++ ":xx-copy_ppc64",
++ ":xx-fill_ppc64",
++ ":xx-pad_ppc64",
++ ":xx-transposev_ppc64",
+ ]
+ }
+
+ if (build_with_internal_optimization_guide) {
+ xnnpack_standalone_deps = [
-+ ":bf16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":bf16-f32-vcvt_x64_standalone",
-+ ":bf16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":bf16-qs8-vcvt_x64_standalone",
-+ ":bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":bf16-qu8-vcvt_x64_standalone",
-+ ":bf16-rminmax_x64_standalone",
-+ ":bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":bf16-vunary_x64_standalone",
-+ ":configs_x64_standalone",
-+ ":enums_x64_standalone",
-+ ":f16-avgpool_f16c-no-avx2-no-fma_standalone",
-+ ":f16-avgpool_x64_standalone",
-+ ":f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-dwconv_f16c-fma-no-avx2_standalone",
-+ ":f16-dwconv_x64_standalone",
-+ ":f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f16-f32-vcvt_f16c-no-avx2-no-fma_standalone",
-+ ":f16-f32-vcvt_sse2-no-sse3_standalone",
-+ ":f16-f32-vcvt_sse4.1-no-sse4.2_standalone",
-+ ":f16-f32-vcvt_x64_standalone",
-+ ":f16-f32acc-gemm_f16c-fma-avx2_standalone",
-+ ":f16-f32acc-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f16-f32acc-igemm_f16c-fma-avx2_standalone",
-+ ":f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f16-f32acc-rdsum2_f16c-no-avx2-no-fma_standalone",
-+ ":f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f16-f32acc-rdsum_f16c-no-avx2-no-fma_standalone",
-+ ":f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f16-f32acc-rsum2_f16c-no-avx2-no-fma_standalone",
-+ ":f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f16-f32acc-rsum_f16c-no-avx2-no-fma_standalone",
-+ ":f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-ibilinear_f16c-fma-no-avx2_standalone",
-+ ":f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-maxpool_f16c-fma-avx2_standalone",
-+ ":f16-maxpool_sse4.1-no-sse4.2_standalone",
-+ ":f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f16-qs8-vcvt_x64_standalone",
-+ ":f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f16-qu8-vcvt_x64_standalone",
-+ ":f16-raddstoreexpminusmax_f16c-fma-avx2_standalone",
-+ ":f16-rdminmax_x64_standalone",
-+ ":f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-rminmax_f16c-no-avx2-no-fma_standalone",
-+ ":f16-rminmax_x64_standalone",
-+ ":f16-vapproxgelu_avx512f_standalone",
-+ ":f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-vapproxgelu_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vapproxgelu_x64_standalone",
-+ ":f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-vbinary_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vclamp_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vcos_avx512f_standalone",
-+ ":f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-vcos_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vcos_x64_standalone",
-+ ":f16-velu_f16c-fma-avx2_standalone",
-+ ":f16-vexp_avx512f_standalone",
-+ ":f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-vexp_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vexp_x64_standalone",
-+ ":f16-vgelu_x64_standalone",
-+ ":f16-vhswish_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vlog_avx512f_standalone",
-+ ":f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-vlog_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vlog_x64_standalone",
-+ ":f16-vlrelu_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vmulcaddc_f16c-fma-no-avx2_standalone",
-+ ":f16-vrnd_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vrsqrt_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vsigmoid_f16c-fma-avx2_standalone",
-+ ":f16-vsin_avx512f_standalone",
-+ ":f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-vsin_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vsin_x64_standalone",
-+ ":f16-vsqrt_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vsqrt_x64_standalone",
-+ ":f16-vtanh_avx512f_standalone",
-+ ":f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-+ ":f16-vtanh_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vtanh_x64_standalone",
-+ ":f16-vunary_f16c-no-avx2-no-fma_standalone",
-+ ":f16-vunary_sse2-no-sse3_standalone",
-+ ":f32-argmaxpool_sse2-no-sse3_standalone",
-+ ":f32-argmaxpool_x64_standalone",
-+ ":f32-avgpool_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-avgpool_avx512f_standalone",
-+ ":f32-avgpool_sse2-no-sse3_standalone",
-+ ":f32-avgpool_x64_standalone",
-+ ":f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16_standalone",
-+ ":f32-bf16-vcvt_x64_standalone",
-+ ":f32-conv-hwc2chw_sse-no-sse2_standalone",
-+ ":f32-conv-hwc2chw_x64_standalone",
-+ ":f32-dwconv2d-chw_sse-no-sse2_standalone",
-+ ":f32-dwconv2d-chw_ssse3-no-sse4.1_standalone",
-+ ":f32-dwconv2d-chw_x64_standalone",
-+ ":f32-dwconv_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-dwconv_avx512f_standalone",
-+ ":f32-dwconv_f16c-fma-no-avx2_standalone",
-+ ":f32-dwconv_sse-no-sse2_standalone",
-+ ":f32-dwconv_x64_standalone",
-+ ":f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f32-f16-vcvt_f16c-no-avx2-no-fma_standalone",
-+ ":f32-f16-vcvt_sse2-no-sse3_standalone",
-+ ":f32-f16-vcvt_sse4.1-no-sse4.2_standalone",
-+ ":f32-f16-vcvt_x64_standalone",
-+ ":f32-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-gemm_avx512f_standalone",
-+ ":f32-gemm_f16c-fma-no-avx2_standalone",
-+ ":f32-gemm_sse-no-sse2_standalone",
-+ ":f32-gemm_x64_standalone",
-+ ":f32-ibilinear-chw_sse-no-sse2_standalone",
-+ ":f32-ibilinear-chw_x64_standalone",
-+ ":f32-ibilinear_sse-no-sse2_standalone",
-+ ":f32-ibilinear_x64_standalone",
-+ ":f32-igemm_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-igemm_avx512f_standalone",
-+ ":f32-igemm_f16c-fma-no-avx2_standalone",
-+ ":f32-igemm_sse-no-sse2_standalone",
-+ ":f32-igemm_x64_standalone",
-+ ":f32-maxpool_sse2-no-sse3_standalone",
-+ ":f32-maxpool_x64_standalone",
-+ ":f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-qc4w-gemm_f16c-fma-avx2_standalone",
-+ ":f32-qc4w-gemm_f16c-fma-no-avx2_standalone",
-+ ":f32-qc4w-gemm_sse4.1-no-sse4.2_standalone",
-+ ":f32-qc4w-gemm_x64_standalone",
-+ ":f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-qc8w-gemm_f16c-fma-avx2_standalone",
-+ ":f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f32-qc8w-gemm_f16c-fma-no-avx2_standalone",
-+ ":f32-qc8w-gemm_sse4.1-no-sse4.2_standalone",
-+ ":f32-qc8w-gemm_x64_standalone",
-+ ":f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-qs8-vcvt_f16c-fma-avx2_standalone",
-+ ":f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f32-qs8-vcvt_sse2-no-sse3_standalone",
-+ ":f32-qs8-vcvt_sse4.1-no-sse4.2_standalone",
-+ ":f32-qs8-vcvt_x64_standalone",
-+ ":f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-qu8-vcvt_f16c-fma-avx2_standalone",
-+ ":f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f32-qu8-vcvt_sse2-no-sse3_standalone",
-+ ":f32-qu8-vcvt_x64_standalone",
-+ ":f32-raddstoreexpminusmax_avx512f_standalone",
-+ ":f32-raddstoreexpminusmax_f16c-fma-avx2_standalone",
-+ ":f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":f32-raddstoreexpminusmax_sse2-no-sse3_standalone",
-+ ":f32-raddstoreexpminusmax_x64_standalone",
-+ ":f32-rdminmax_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-rdminmax_avx512f_standalone",
-+ ":f32-rdminmax_sse2-no-sse3_standalone",
-+ ":f32-rdminmax_x64_standalone",
-+ ":f32-rdsum2_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-rdsum2_avx512f_standalone",
-+ ":f32-rdsum2_sse2-no-sse3_standalone",
-+ ":f32-rdsum2_x64_standalone",
-+ ":f32-rdsum_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-rdsum_avx512f_standalone",
-+ ":f32-rdsum_sse2-no-sse3_standalone",
-+ ":f32-rdsum_x64_standalone",
-+ ":f32-rminmax_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-rminmax_avx512f_standalone",
-+ ":f32-rminmax_sse-no-sse2_standalone",
-+ ":f32-rminmax_x64_standalone",
-+ ":f32-rsum2_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-rsum2_avx512f_standalone",
-+ ":f32-rsum2_sse2-no-sse3_standalone",
-+ ":f32-rsum2_x64_standalone",
-+ ":f32-rsum_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-rsum_avx512f_standalone",
-+ ":f32-rsum_sse2-no-sse3_standalone",
-+ ":f32-rsum_x64_standalone",
-+ ":f32-spmm_sse-no-sse2_standalone",
-+ ":f32-spmm_x64_standalone",
-+ ":f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vapproxgelu_avx512f_standalone",
-+ ":f32-vapproxgelu_f16c-fma-no-avx2_standalone",
-+ ":f32-vapproxgelu_sse2-no-sse3_standalone",
-+ ":f32-vapproxgelu_x64_standalone",
-+ ":f32-vbinary_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vbinary_avx512f_standalone",
-+ ":f32-vbinary_sse-no-sse2_standalone",
-+ ":f32-vbinary_sse2-no-sse3_standalone",
-+ ":f32-vbinary_x64_standalone",
-+ ":f32-vclamp_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vclamp_avx512f_standalone",
-+ ":f32-vclamp_sse2-no-sse3_standalone",
-+ ":f32-vclamp_x64_standalone",
-+ ":f32-vcmul_avx512f_standalone",
-+ ":f32-vcmul_f16c-fma-no-avx2_standalone",
-+ ":f32-vcmul_sse-no-sse2_standalone",
-+ ":f32-vcmul_x64_standalone",
-+ ":f32-vcopysign_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vcopysign_avx512f_standalone",
-+ ":f32-vcopysign_sse2-no-sse3_standalone",
-+ ":f32-vcopysign_x64_standalone",
-+ ":f32-vcos_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vcos_avx512f_standalone",
-+ ":f32-vcos_f16c-fma-no-avx2_standalone",
-+ ":f32-vcos_sse2-no-sse3_standalone",
-+ ":f32-vcos_x64_standalone",
-+ ":f32-velu_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-velu_avx512f_standalone",
-+ ":f32-velu_f16c-fma-avx2_standalone",
-+ ":f32-velu_sse2-no-sse3_standalone",
-+ ":f32-velu_x64_standalone",
-+ ":f32-vexp_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vexp_avx512f_standalone",
-+ ":f32-vexp_f16c-fma-no-avx2_standalone",
-+ ":f32-vexp_sse2-no-sse3_standalone",
-+ ":f32-vexp_x64_standalone",
-+ ":f32-vgelu_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vgelu_avx512f_standalone",
-+ ":f32-vgelu_f16c-fma-no-avx2_standalone",
-+ ":f32-vgelu_sse2-no-sse3_standalone",
-+ ":f32-vgelu_x64_standalone",
-+ ":f32-vhswish_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vhswish_avx512f_standalone",
-+ ":f32-vhswish_f16c-fma-no-avx2_standalone",
-+ ":f32-vhswish_sse2-no-sse3_standalone",
-+ ":f32-vhswish_x64_standalone",
-+ ":f32-vlog_avx512f_standalone",
-+ ":f32-vlog_f16c-fma-avx2_standalone",
-+ ":f32-vlog_f16c-fma-no-avx2_standalone",
-+ ":f32-vlog_sse2-no-sse3_standalone",
-+ ":f32-vlog_x64_standalone",
-+ ":f32-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vlrelu_avx512f_standalone",
-+ ":f32-vlrelu_sse-no-sse2_standalone",
-+ ":f32-vlrelu_sse4.1-no-sse4.2_standalone",
-+ ":f32-vlrelu_x64_standalone",
-+ ":f32-vmulcaddc_sse-no-sse2_standalone",
-+ ":f32-vmulcaddc_x64_standalone",
-+ ":f32-vrnd_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vrnd_avx512f_standalone",
-+ ":f32-vrnd_sse2-no-sse3_standalone",
-+ ":f32-vrnd_sse4.1-no-sse4.2_standalone",
-+ ":f32-vrnd_x64_standalone",
-+ ":f32-vrsqrt_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vrsqrt_avx512f_standalone",
-+ ":f32-vrsqrt_sse2-no-sse3_standalone",
-+ ":f32-vrsqrt_x64_standalone",
-+ ":f32-vsigmoid_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vsigmoid_avx512f_standalone",
-+ ":f32-vsigmoid_f16c-fma-avx2_standalone",
-+ ":f32-vsigmoid_sse2-no-sse3_standalone",
-+ ":f32-vsigmoid_sse4.1-no-sse4.2_standalone",
-+ ":f32-vsigmoid_x64_standalone",
-+ ":f32-vsin_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vsin_avx512f_standalone",
-+ ":f32-vsin_f16c-fma-no-avx2_standalone",
-+ ":f32-vsin_sse2-no-sse3_standalone",
-+ ":f32-vsin_x64_standalone",
-+ ":f32-vsqrt_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vsqrt_avx512f_standalone",
-+ ":f32-vsqrt_sse2-no-sse3_standalone",
-+ ":f32-vsqrt_x64_standalone",
-+ ":f32-vtanh_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vtanh_avx512f_standalone",
-+ ":f32-vtanh_f16c-fma-no-avx2_standalone",
-+ ":f32-vtanh_sse2-no-sse3_standalone",
-+ ":f32-vtanh_x64_standalone",
-+ ":f32-vunary_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":f32-vunary_avx512f_standalone",
-+ ":f32-vunary_sse2-no-sse3_standalone",
-+ ":f32-vunary_x64_standalone",
-+ ":operators_x64_standalone",
-+ ":qd8-bf16-qb4w-gemm_f16c-fma-avx2_standalone",
-+ ":qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qd8-bf16-qb4w-gemm_x64_standalone",
-+ ":qd8-f16-qb4w-gemm_f16c-fma-avx2_standalone",
-+ ":qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qd8-f16-qc2w-gemm_f16c-fma-avx2_standalone",
-+ ":qd8-f16-qc2w-gemm_x64_standalone",
-+ ":qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qd8-f16-qc4w-gemm_f16c-fma-avx2_standalone",
-+ ":qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qd8-f16-qc8w-gemm_f16c-fma-avx2_standalone",
-+ ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-+ ":qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qd8-f16-qc8w-igemm_f16c-fma-avx2_standalone",
-+ ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-+ ":qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qd8-f32-qb4w-gemm_f16c-fma-avx2_standalone",
-+ ":qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone",
-+ ":qd8-f32-qb4w-gemm_sse2-no-sse3_standalone",
-+ ":qd8-f32-qb4w-gemm_sse4.1-no-sse4.2_standalone",
-+ ":qd8-f32-qb4w-gemm_x64_standalone",
-+ ":qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qd8-f32-qc2w-gemm_f16c-fma-avx2_standalone",
-+ ":qd8-f32-qc2w-gemm_ssse3-no-sse4.1_standalone",
-+ ":qd8-f32-qc2w-gemm_x64_standalone",
-+ ":qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qd8-f32-qc4w-gemm_f16c-fma-avx2_standalone",
-+ ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone",
-+ ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-+ ":qd8-f32-qc4w-gemm_sse2-no-sse3_standalone",
-+ ":qd8-f32-qc4w-gemm_ssse3-no-sse4.1_standalone",
-+ ":qd8-f32-qc4w-gemm_x64_standalone",
-+ ":qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qd8-f32-qc8w-gemm_f16c-fma-avx2_standalone",
-+ ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-+ ":qd8-f32-qc8w-gemm_sse2-no-sse3_standalone",
-+ ":qd8-f32-qc8w-gemm_sse4.1-no-sse4.2_standalone",
-+ ":qd8-f32-qc8w-gemm_x64_standalone",
-+ ":qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qd8-f32-qc8w-igemm_f16c-fma-avx2_standalone",
-+ ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-+ ":qd8-f32-qc8w-igemm_sse2-no-sse3_standalone",
-+ ":qd8-f32-qc8w-igemm_sse4.1-no-sse4.2_standalone",
-+ ":qd8-f32-qc8w-igemm_x64_standalone",
-+ ":qs8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-dwconv_f16c-fma-avx2_standalone",
-+ ":qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-dwconv_sse2-no-sse3_standalone",
-+ ":qs8-dwconv_sse4.1-no-sse4.2_standalone",
-+ ":qs8-dwconv_x64_standalone",
-+ ":qs8-f16-vcvt_f16c-fma-avx2_standalone",
-+ ":qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-f32-vcvt_f16c-fma-avx2_standalone",
-+ ":qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-f32-vcvt_sse2-no-sse3_standalone",
-+ ":qs8-f32-vcvt_sse4.1-no-sse4.2_standalone",
-+ ":qs8-f32-vcvt_x64_standalone",
-+ ":qs8-packw_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qs8-packw_f16c-fma-avx2_standalone",
-+ ":qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qs8-packw_x64_standalone",
-+ ":qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qs8-qc2w-gemm_f16c-fma-avx2_standalone",
-+ ":qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-qc2w-gemm_ssse3-no-sse4.1_standalone",
-+ ":qs8-qc2w-gemm_x64_standalone",
-+ ":qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qs8-qc4w-gemm_f16c-fma-avx2_standalone",
-+ ":qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qs8-qc4w-gemm_ssse3-no-sse4.1_standalone",
-+ ":qs8-qc4w-gemm_x64_standalone",
-+ ":qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qs8-qc4w-packw_sse2-no-sse3_standalone",
-+ ":qs8-qc4w-packw_x64_standalone",
-+ ":qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-qc8w-dwconv_f16c-fma-avx2_standalone",
-+ ":qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-qc8w-dwconv_sse2-no-sse3_standalone",
-+ ":qs8-qc8w-dwconv_sse4.1-no-sse4.2_standalone",
-+ ":qs8-qc8w-dwconv_x64_standalone",
-+ ":qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni_standalone",
-+ ":qs8-qc8w-gemm_f16c-fma-avx2_standalone",
-+ ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-+ ":qs8-qc8w-gemm_sse2-no-sse3_standalone",
-+ ":qs8-qc8w-gemm_sse4.1-no-sse4.2_standalone",
-+ ":qs8-qc8w-gemm_x64_standalone",
-+ ":qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni_standalone",
-+ ":qs8-qc8w-igemm_f16c-fma-avx2_standalone",
-+ ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-+ ":qs8-qc8w-igemm_sse2-no-sse3_standalone",
-+ ":qs8-qc8w-igemm_sse4.1-no-sse4.2_standalone",
-+ ":qs8-qc8w-igemm_x64_standalone",
-+ ":qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qs8-qu8-packw_x64_standalone",
-+ ":qs8-rdsum_f16c-fma-avx2_standalone",
-+ ":qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-rdsum_sse4.1-no-sse4.2_standalone",
-+ ":qs8-rdsum_x64_standalone",
-+ ":qs8-rsum_avx2-avxvnni-f16c-fma-gfni_standalone",
-+ ":qs8-rsum_f16c-fma-avx2_standalone",
-+ ":qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-+ ":qs8-rsum_ssse3-no-sse4.1_standalone",
-+ ":qs8-rsum_x64_standalone",
-+ ":qs8-vadd_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-vadd_f16c-fma-avx2_standalone",
-+ ":qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-vadd_sse2-no-sse3_standalone",
-+ ":qs8-vadd_sse4.1-no-sse4.2_standalone",
-+ ":qs8-vadd_x64_standalone",
-+ ":qs8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-vaddc_f16c-fma-avx2_standalone",
-+ ":qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qs8-vaddc_sse2-no-sse3_standalone",
-+ ":qs8-vaddc_sse4.1-no-sse4.2_standalone",
-+ ":qs8-vaddc_x64_standalone",
-+ ":qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-vcvt_f16c-fma-avx2_standalone",
-+ ":qs8-vcvt_sse2-no-sse3_standalone",
-+ ":qs8-vcvt_sse4.1-no-sse4.2_standalone",
-+ ":qs8-vcvt_ssse3-no-sse4.1_standalone",
-+ ":qs8-vcvt_x64_standalone",
-+ ":qs8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-vlrelu_f16c-fma-avx2_standalone",
-+ ":qs8-vlrelu_sse2-no-sse3_standalone",
-+ ":qs8-vlrelu_sse4.1-no-sse4.2_standalone",
-+ ":qs8-vlrelu_ssse3-no-sse4.1_standalone",
-+ ":qs8-vlrelu_x64_standalone",
-+ ":qs8-vmul_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-vmul_sse2-no-sse3_standalone",
-+ ":qs8-vmul_sse4.1-no-sse4.2_standalone",
-+ ":qs8-vmul_x64_standalone",
-+ ":qs8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qs8-vmulc_sse2-no-sse3_standalone",
-+ ":qs8-vmulc_sse4.1-no-sse4.2_standalone",
-+ ":qs8-vmulc_x64_standalone",
-+ ":qs8-vprelu_f16c-fma-avx2_standalone",
-+ ":qs8-vprelu_x64_standalone",
-+ ":qs8-vpreluc_f16c-fma-avx2_standalone",
-+ ":qs8-vpreluc_x64_standalone",
-+ ":qs8-vrpreluc_f16c-fma-avx2_standalone",
-+ ":qs8-vrpreluc_x64_standalone",
-+ ":qu8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qu8-dwconv_f16c-fma-avx2_standalone",
-+ ":qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qu8-dwconv_sse2-no-sse3_standalone",
-+ ":qu8-dwconv_sse4.1-no-sse4.2_standalone",
-+ ":qu8-dwconv_x64_standalone",
-+ ":qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qu8-f32-vcvt_f16c-fma-avx2_standalone",
-+ ":qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qu8-f32-vcvt_sse2-no-sse3_standalone",
-+ ":qu8-f32-vcvt_sse4.1-no-sse4.2_standalone",
-+ ":qu8-f32-vcvt_x64_standalone",
-+ ":qu8-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qu8-gemm_f16c-fma-avx2_standalone",
-+ ":qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qu8-gemm_sse2-no-sse3_standalone",
-+ ":qu8-gemm_sse4.1-no-sse4.2_standalone",
-+ ":qu8-gemm_x64_standalone",
-+ ":qu8-igemm_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qu8-igemm_f16c-fma-avx2_standalone",
-+ ":qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qu8-igemm_sse2-no-sse3_standalone",
-+ ":qu8-igemm_sse4.1-no-sse4.2_standalone",
-+ ":qu8-igemm_x64_standalone",
-+ ":qu8-rdsum_ssse3-no-sse4.1_standalone",
-+ ":qu8-rdsum_x64_standalone",
-+ ":qu8-rsum_f16c-fma-avx2_standalone",
-+ ":qu8-rsum_sse2-no-sse3_standalone",
-+ ":qu8-rsum_x64_standalone",
-+ ":qu8-vadd_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qu8-vadd_f16c-fma-avx2_standalone",
-+ ":qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qu8-vadd_sse2-no-sse3_standalone",
-+ ":qu8-vadd_sse4.1-no-sse4.2_standalone",
-+ ":qu8-vadd_x64_standalone",
-+ ":qu8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qu8-vaddc_f16c-fma-avx2_standalone",
-+ ":qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":qu8-vaddc_sse2-no-sse3_standalone",
-+ ":qu8-vaddc_sse4.1-no-sse4.2_standalone",
-+ ":qu8-vaddc_x64_standalone",
-+ ":qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qu8-vcvt_f16c-fma-avx2_standalone",
-+ ":qu8-vcvt_sse2-no-sse3_standalone",
-+ ":qu8-vcvt_sse4.1-no-sse4.2_standalone",
-+ ":qu8-vcvt_ssse3-no-sse4.1_standalone",
-+ ":qu8-vcvt_x64_standalone",
-+ ":qu8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qu8-vlrelu_f16c-fma-avx2_standalone",
-+ ":qu8-vlrelu_sse2-no-sse3_standalone",
-+ ":qu8-vlrelu_sse4.1-no-sse4.2_standalone",
-+ ":qu8-vlrelu_ssse3-no-sse4.1_standalone",
-+ ":qu8-vlrelu_x64_standalone",
-+ ":qu8-vmul_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qu8-vmul_sse2-no-sse3_standalone",
-+ ":qu8-vmul_sse4.1-no-sse4.2_standalone",
-+ ":qu8-vmul_x64_standalone",
-+ ":qu8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":qu8-vmulc_sse2-no-sse3_standalone",
-+ ":qu8-vmulc_sse4.1-no-sse4.2_standalone",
-+ ":qu8-vmulc_x64_standalone",
-+ ":qu8-vprelu_f16c-fma-avx2_standalone",
-+ ":qu8-vprelu_x64_standalone",
-+ ":qu8-vpreluc_f16c-fma-avx2_standalone",
-+ ":qu8-vpreluc_x64_standalone",
-+ ":qu8-vrpreluc_f16c-fma-avx2_standalone",
-+ ":qu8-vrpreluc_x64_standalone",
-+ ":reference_x64_standalone",
-+ ":s8-ibilinear_sse2-no-sse3_standalone",
-+ ":s8-ibilinear_sse4.1-no-sse4.2_standalone",
-+ ":s8-ibilinear_x64_standalone",
-+ ":s8-maxpool_sse4.1-no-sse4.2_standalone",
-+ ":s8-maxpool_x64_standalone",
-+ ":s8-rdminmax_sse4.1-no-sse4.2_standalone",
-+ ":s8-rdminmax_x64_standalone",
-+ ":s8-rminmax_sse4.1-no-sse4.2_standalone",
-+ ":s8-rminmax_x64_standalone",
-+ ":s8-vclamp_f16c-fma-avx2_standalone",
-+ ":s8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":s8-vclamp_sse2-no-sse3_standalone",
-+ ":s8-vclamp_sse4.1-no-sse4.2_standalone",
-+ ":s8-vclamp_x64_standalone",
-+ ":subgraph_x64_standalone",
-+ ":tables_x64_standalone",
-+ ":u8-ibilinear_sse2-no-sse3_standalone",
-+ ":u8-ibilinear_sse4.1-no-sse4.2_standalone",
-+ ":u8-ibilinear_x64_standalone",
-+ ":u8-lut32norm_x64_standalone",
-+ ":u8-maxpool_sse2-no-sse3_standalone",
-+ ":u8-maxpool_x64_standalone",
-+ ":u8-rdminmax_sse2-no-sse3_standalone",
-+ ":u8-rdminmax_x64_standalone",
-+ ":u8-rminmax_sse2-no-sse3_standalone",
-+ ":u8-rminmax_x64_standalone",
-+ ":u8-vclamp_f16c-fma-avx2_standalone",
-+ ":u8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":u8-vclamp_sse2-no-sse3_standalone",
-+ ":u8-vclamp_x64_standalone",
-+ ":x16-packw_f16c-fma-avx2_standalone",
-+ ":x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":x16-packw_x64_standalone",
-+ ":x16-transposec_f16c-fma-avx2_standalone",
-+ ":x16-transposec_sse2-no-sse3_standalone",
-+ ":x16-transposec_x64_standalone",
-+ ":x16-x32-packw_x64_standalone",
-+ ":x24-transposec_ssse3-no-sse4.1_standalone",
-+ ":x24-transposec_x64_standalone",
-+ ":x32-packw_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":x32-packw_avx512f_standalone",
-+ ":x32-packw_sse2-no-sse3_standalone",
-+ ":x32-packw_x64_standalone",
-+ ":x32-transposec_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":x32-transposec_sse-no-sse2_standalone",
-+ ":x32-transposec_x64_standalone",
-+ ":x32-unpool_sse2-no-sse3_standalone",
-+ ":x32-unpool_x64_standalone",
-+ ":x64-transposec_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":x64-transposec_sse2-no-sse3_standalone",
-+ ":x64-transposec_x64_standalone",
-+ ":x8-lut_avx-no-avx2-no-f16c-no-fma_standalone",
-+ ":x8-lut_f16c-fma-avx2_standalone",
-+ ":x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vbmi_standalone",
-+ ":x8-lut_x64_standalone",
-+ ":x8-packq_x64_standalone",
-+ ":x8-packw_x64_standalone",
-+ ":x8-transposec_f16c-fma-avx2_standalone",
-+ ":x8-transposec_sse2-no-sse3_standalone",
-+ ":x8-transposec_x64_standalone",
-+ ":xx-copy_x64_standalone",
-+ ":xx-fill_sse2-no-sse3_standalone",
-+ ":xx-fill_x64_standalone",
-+ ":xx-pad_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-+ ":xx-pad_sse2-no-sse3_standalone",
-+ ":xx-pad_x64_standalone",
-+ ":xx-transposev_x64_standalone"
++ ":bf16-f32-vcvt_ppc64_standalone",
++ ":bf16-qs8-vcvt_ppc64_standalone",
++ ":bf16-qu8-vcvt_ppc64_standalone",
++ ":bf16-rminmax_ppc64_standalone",
++ ":bf16-vunary_ppc64_standalone",
++ ":configs_ppc64_standalone",
++ ":enums_ppc64_standalone",
++ ":f16-avgpool_ppc64_standalone",
++ ":f16-dwconv_ppc64_standalone",
++ ":f16-f32-vcvt_ppc64_standalone",
++ ":f16-qs8-vcvt_ppc64_standalone",
++ ":f16-qu8-vcvt_ppc64_standalone",
++ ":f16-rdminmax_ppc64_standalone",
++ ":f16-rminmax_ppc64_standalone",
++ ":f16-vapproxgelu_ppc64_standalone",
++ ":f16-vbinary_ppc64_standalone",
++ ":f16-vcos_ppc64_standalone",
++ ":f16-vexp_ppc64_standalone",
++ ":f16-vgelu_ppc64_standalone",
++ ":f16-vlog_ppc64_standalone",
++ ":f16-vsin_ppc64_standalone",
++ ":f16-vsqrt_ppc64_standalone",
++ ":f16-vtanh_ppc64_standalone",
++ ":f32-argmaxpool_ppc64_standalone",
++ ":f32-avgpool_ppc64_standalone",
++ ":f32-bf16-vcvt_ppc64_standalone",
++ ":f32-conv-hwc2chw_ppc64_standalone",
++ ":f32-dwconv2d-chw_ppc64_standalone",
++ ":f32-dwconv_ppc64_standalone",
++ ":f32-f16-vcvt_ppc64_standalone",
++ ":f32-gemm_ppc64_standalone",
++ ":f32-ibilinear-chw_ppc64_standalone",
++ ":f32-ibilinear_ppc64_standalone",
++ ":f32-igemm_ppc64_standalone",
++ ":f32-maxpool_ppc64_standalone",
++ ":f32-qc4w-gemm_ppc64_standalone",
++ ":f32-qc8w-gemm_ppc64_standalone",
++ ":f32-qs8-vcvt_ppc64_standalone",
++ ":f32-qu8-vcvt_ppc64_standalone",
++ ":f32-raddstoreexpminusmax_ppc64_standalone",
++ ":f32-rdminmax_ppc64_standalone",
++ ":f32-rdsum2_ppc64_standalone",
++ ":f32-rdsum_ppc64_standalone",
++ ":f32-rminmax_ppc64_standalone",
++ ":f32-rsum2_ppc64_standalone",
++ ":f32-rsum_ppc64_standalone",
++ ":f32-spmm_ppc64_standalone",
++ ":f32-vapproxgelu_ppc64_standalone",
++ ":f32-vbinary_ppc64_standalone",
++ ":f32-vclamp_ppc64_standalone",
++ ":f32-vcmul_ppc64_standalone",
++ ":f32-vcopysign_ppc64_standalone",
++ ":f32-vcos_ppc64_standalone",
++ ":f32-velu_ppc64_standalone",
++ ":f32-vexp_ppc64_standalone",
++ ":f32-vgelu_ppc64_standalone",
++ ":f32-vhswish_ppc64_standalone",
++ ":f32-vlog_ppc64_standalone",
++ ":f32-vlrelu_ppc64_standalone",
++ ":f32-vmulcaddc_ppc64_standalone",
++ ":f32-vrnd_ppc64_standalone",
++ ":f32-vrsqrt_ppc64_standalone",
++ ":f32-vsigmoid_ppc64_standalone",
++ ":f32-vsin_ppc64_standalone",
++ ":f32-vsqrt_ppc64_standalone",
++ ":f32-vtanh_ppc64_standalone",
++ ":f32-vunary_ppc64_standalone",
++ ":operators_ppc64_standalone",
++ ":qd8-bf16-qb4w-gemm_ppc64_standalone",
++ ":qd8-f16-qc2w-gemm_ppc64_standalone",
++ ":qd8-f32-qb4w-gemm_ppc64_standalone",
++ ":qd8-f32-qc2w-gemm_ppc64_standalone",
++ ":qd8-f32-qc4w-gemm_ppc64_standalone",
++ ":qd8-f32-qc8w-gemm_ppc64_standalone",
++ ":qd8-f32-qc8w-igemm_ppc64_standalone",
++ ":qs8-dwconv_ppc64_standalone",
++ ":qs8-f32-vcvt_ppc64_standalone",
++ ":qs8-packw_ppc64_standalone",
++ ":qs8-qc2w-gemm_ppc64_standalone",
++ ":qs8-qc4w-gemm_ppc64_standalone",
++ ":qs8-qc4w-packw_ppc64_standalone",
++ ":qs8-qc8w-dwconv_ppc64_standalone",
++ ":qs8-qc8w-gemm_ppc64_standalone",
++ ":qs8-qc8w-igemm_ppc64_standalone",
++ ":qs8-qu8-packw_ppc64_standalone",
++ ":qs8-rdsum_ppc64_standalone",
++ ":qs8-rsum_ppc64_standalone",
++ ":qs8-vadd_ppc64_standalone",
++ ":qs8-vaddc_ppc64_standalone",
++ ":qs8-vcvt_ppc64_standalone",
++ ":qs8-vlrelu_ppc64_standalone",
++ ":qs8-vmul_ppc64_standalone",
++ ":qs8-vmulc_ppc64_standalone",
++ ":qs8-vprelu_ppc64_standalone",
++ ":qs8-vpreluc_ppc64_standalone",
++ ":qs8-vrpreluc_ppc64_standalone",
++ ":qu8-dwconv_ppc64_standalone",
++ ":qu8-f32-vcvt_ppc64_standalone",
++ ":qu8-gemm_ppc64_standalone",
++ ":qu8-igemm_ppc64_standalone",
++ ":qu8-rdsum_ppc64_standalone",
++ ":qu8-rsum_ppc64_standalone",
++ ":qu8-vadd_ppc64_standalone",
++ ":qu8-vaddc_ppc64_standalone",
++ ":qu8-vcvt_ppc64_standalone",
++ ":qu8-vlrelu_ppc64_standalone",
++ ":qu8-vmul_ppc64_standalone",
++ ":qu8-vmulc_ppc64_standalone",
++ ":qu8-vprelu_ppc64_standalone",
++ ":qu8-vpreluc_ppc64_standalone",
++ ":qu8-vrpreluc_ppc64_standalone",
++ ":reference_ppc64_standalone",
++ ":s8-ibilinear_ppc64_standalone",
++ ":s8-maxpool_ppc64_standalone",
++ ":s8-rdminmax_ppc64_standalone",
++ ":s8-rminmax_ppc64_standalone",
++ ":s8-vclamp_ppc64_standalone",
++ ":subgraph_ppc64_standalone",
++ ":tables_ppc64_standalone",
++ ":u8-ibilinear_ppc64_standalone",
++ ":u8-lut32norm_ppc64_standalone",
++ ":u8-maxpool_ppc64_standalone",
++ ":u8-rdminmax_ppc64_standalone",
++ ":u8-rminmax_ppc64_standalone",
++ ":u8-vclamp_ppc64_standalone",
++ ":x16-packw_ppc64_standalone",
++ ":x16-transposec_ppc64_standalone",
++ ":x16-x32-packw_ppc64_standalone",
++ ":x24-transposec_ppc64_standalone",
++ ":x32-packw_ppc64_standalone",
++ ":x32-transposec_ppc64_standalone",
++ ":x32-unpool_ppc64_standalone",
++ ":x64-transposec_ppc64_standalone",
++ ":x8-lut_ppc64_standalone",
++ ":x8-packq_ppc64_standalone",
++ ":x8-packw_ppc64_standalone",
++ ":x8-transposec_ppc64_standalone",
++ ":xx-copy_ppc64_standalone",
++ ":xx-fill_ppc64_standalone",
++ ":xx-pad_ppc64_standalone",
++ ":xx-transposev_ppc64_standalone",
+ ]
+ }
-+} else
-+if (current_cpu == "arm64") {
-+
- if (build_with_chromium) {
- xnnpack_deps = [
-- ":bf16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":bf16-f32-vcvt_x64",
-- ":bf16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":bf16-qs8-vcvt_x64",
-- ":bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":bf16-qu8-vcvt_x64",
-- ":bf16-rminmax_x64",
-- ":bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":bf16-vunary_x64",
-- ":configs_x64",
-- ":enums_x64",
-- ":f16-avgpool_f16c-no-avx2-no-fma",
-- ":f16-avgpool_x64",
-- ":f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-dwconv_f16c-fma-no-avx2",
-- ":f16-dwconv_x64",
-- ":f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma",
-- ":f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f16-f32-vcvt_f16c-no-avx2-no-fma",
-- ":f16-f32-vcvt_sse2-no-sse3",
-- ":f16-f32-vcvt_sse4.1-no-sse4.2",
-- ":f16-f32-vcvt_x64",
-- ":f16-f32acc-gemm_f16c-fma-avx2",
-- ":f16-f32acc-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f16-f32acc-igemm_f16c-fma-avx2",
-- ":f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f16-f32acc-rdsum2_f16c-no-avx2-no-fma",
-- ":f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f16-f32acc-rdsum_f16c-no-avx2-no-fma",
-- ":f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f16-f32acc-rsum2_f16c-no-avx2-no-fma",
-- ":f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f16-f32acc-rsum_f16c-no-avx2-no-fma",
-- ":f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-ibilinear_f16c-fma-no-avx2",
-- ":f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-maxpool_f16c-fma-avx2",
-- ":f16-maxpool_sse4.1-no-sse4.2",
-- ":f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f16-qs8-vcvt_x64",
-- ":f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f16-qu8-vcvt_x64",
-- ":f16-raddstoreexpminusmax_f16c-fma-avx2",
-- ":f16-rdminmax_x64",
-- ":f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-rminmax_f16c-no-avx2-no-fma",
-- ":f16-rminmax_x64",
-- ":f16-vapproxgelu_avx512f",
-- ":f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-vapproxgelu_f16c-no-avx2-no-fma",
-- ":f16-vapproxgelu_x64",
-- ":f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-vbinary_f16c-no-avx2-no-fma",
-- ":f16-vclamp_f16c-no-avx2-no-fma",
-- ":f16-vcos_avx512f",
-- ":f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-vcos_f16c-no-avx2-no-fma",
-- ":f16-vcos_x64",
-- ":f16-velu_f16c-fma-avx2",
-- ":f16-vexp_avx512f",
-- ":f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-vexp_f16c-no-avx2-no-fma",
-- ":f16-vexp_x64",
-- ":f16-vgelu_x64",
-- ":f16-vhswish_f16c-no-avx2-no-fma",
-- ":f16-vlog_avx512f",
-- ":f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-vlog_f16c-no-avx2-no-fma",
-- ":f16-vlog_x64",
-- ":f16-vlrelu_f16c-no-avx2-no-fma",
-- ":f16-vmulcaddc_f16c-fma-no-avx2",
-- ":f16-vrnd_f16c-no-avx2-no-fma",
-- ":f16-vrsqrt_f16c-no-avx2-no-fma",
-- ":f16-vsigmoid_f16c-fma-avx2",
-- ":f16-vsin_avx512f",
-- ":f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-vsin_f16c-no-avx2-no-fma",
-- ":f16-vsin_x64",
-- ":f16-vsqrt_f16c-no-avx2-no-fma",
-- ":f16-vsqrt_x64",
-- ":f16-vtanh_avx512f",
-- ":f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
-- ":f16-vtanh_f16c-no-avx2-no-fma",
-- ":f16-vtanh_x64",
-- ":f16-vunary_f16c-no-avx2-no-fma",
-- ":f16-vunary_sse2-no-sse3",
-- ":f32-argmaxpool_sse2-no-sse3",
-- ":f32-argmaxpool_x64",
-- ":f32-avgpool_avx-no-avx2-no-f16c-no-fma",
-- ":f32-avgpool_avx512f",
-- ":f32-avgpool_sse2-no-sse3",
-- ":f32-avgpool_x64",
-- ":f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16",
-- ":f32-bf16-vcvt_x64",
-- ":f32-conv-hwc2chw_sse-no-sse2",
-- ":f32-conv-hwc2chw_x64",
-- ":f32-dwconv2d-chw_sse-no-sse2",
-- ":f32-dwconv2d-chw_ssse3-no-sse4.1",
-- ":f32-dwconv2d-chw_x64",
-- ":f32-dwconv_avx-no-avx2-no-f16c-no-fma",
-- ":f32-dwconv_avx512f",
-- ":f32-dwconv_f16c-fma-no-avx2",
-- ":f32-dwconv_sse-no-sse2",
-- ":f32-dwconv_x64",
-- ":f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma",
-- ":f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f32-f16-vcvt_f16c-no-avx2-no-fma",
-- ":f32-f16-vcvt_sse2-no-sse3",
-- ":f32-f16-vcvt_sse4.1-no-sse4.2",
-- ":f32-f16-vcvt_x64",
-- ":f32-gemm_avx-no-avx2-no-f16c-no-fma",
-- ":f32-gemm_avx512f",
-- ":f32-gemm_f16c-fma-no-avx2",
-- ":f32-gemm_sse-no-sse2",
-- ":f32-gemm_x64",
-- ":f32-ibilinear-chw_sse-no-sse2",
-- ":f32-ibilinear-chw_x64",
-- ":f32-ibilinear_sse-no-sse2",
-- ":f32-ibilinear_x64",
-- ":f32-igemm_avx-no-avx2-no-f16c-no-fma",
-- ":f32-igemm_avx512f",
-- ":f32-igemm_f16c-fma-no-avx2",
-- ":f32-igemm_sse-no-sse2",
-- ":f32-igemm_x64",
-- ":f32-maxpool_sse2-no-sse3",
-- ":f32-maxpool_x64",
-- ":f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma",
-- ":f32-qc4w-gemm_f16c-fma-avx2",
-- ":f32-qc4w-gemm_f16c-fma-no-avx2",
-- ":f32-qc4w-gemm_sse4.1-no-sse4.2",
-- ":f32-qc4w-gemm_x64",
-- ":f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma",
-- ":f32-qc8w-gemm_f16c-fma-avx2",
-- ":f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f32-qc8w-gemm_f16c-fma-no-avx2",
-- ":f32-qc8w-gemm_sse4.1-no-sse4.2",
-- ":f32-qc8w-gemm_x64",
-- ":f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma",
-- ":f32-qs8-vcvt_f16c-fma-avx2",
-- ":f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f32-qs8-vcvt_sse2-no-sse3",
-- ":f32-qs8-vcvt_sse4.1-no-sse4.2",
-- ":f32-qs8-vcvt_x64",
-- ":f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma",
-- ":f32-qu8-vcvt_f16c-fma-avx2",
-- ":f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f32-qu8-vcvt_sse2-no-sse3",
-- ":f32-qu8-vcvt_x64",
-- ":f32-raddstoreexpminusmax_avx512f",
-- ":f32-raddstoreexpminusmax_f16c-fma-avx2",
-- ":f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":f32-raddstoreexpminusmax_sse2-no-sse3",
-- ":f32-raddstoreexpminusmax_x64",
-- ":f32-rdminmax_avx-no-avx2-no-f16c-no-fma",
-- ":f32-rdminmax_avx512f",
-- ":f32-rdminmax_sse2-no-sse3",
-- ":f32-rdminmax_x64",
-- ":f32-rdsum2_avx-no-avx2-no-f16c-no-fma",
-- ":f32-rdsum2_avx512f",
-- ":f32-rdsum2_sse2-no-sse3",
-- ":f32-rdsum2_x64",
-- ":f32-rdsum_avx-no-avx2-no-f16c-no-fma",
-- ":f32-rdsum_avx512f",
-- ":f32-rdsum_sse2-no-sse3",
-- ":f32-rdsum_x64",
-- ":f32-rminmax_avx-no-avx2-no-f16c-no-fma",
-- ":f32-rminmax_avx512f",
-- ":f32-rminmax_sse-no-sse2",
-- ":f32-rminmax_x64",
-- ":f32-rsum2_avx-no-avx2-no-f16c-no-fma",
-- ":f32-rsum2_avx512f",
-- ":f32-rsum2_sse2-no-sse3",
-- ":f32-rsum2_x64",
-- ":f32-rsum_avx-no-avx2-no-f16c-no-fma",
-- ":f32-rsum_avx512f",
-- ":f32-rsum_sse2-no-sse3",
-- ":f32-rsum_x64",
-- ":f32-spmm_sse-no-sse2",
-- ":f32-spmm_x64",
-- ":f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vapproxgelu_avx512f",
-- ":f32-vapproxgelu_f16c-fma-no-avx2",
-- ":f32-vapproxgelu_sse2-no-sse3",
-- ":f32-vapproxgelu_x64",
-- ":f32-vbinary_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vbinary_avx512f",
-- ":f32-vbinary_sse-no-sse2",
-- ":f32-vbinary_sse2-no-sse3",
-- ":f32-vbinary_x64",
-- ":f32-vclamp_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vclamp_avx512f",
-- ":f32-vclamp_sse2-no-sse3",
-- ":f32-vclamp_x64",
-- ":f32-vcmul_avx512f",
-- ":f32-vcmul_f16c-fma-no-avx2",
-- ":f32-vcmul_sse-no-sse2",
-- ":f32-vcmul_x64",
-- ":f32-vcopysign_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vcopysign_avx512f",
-- ":f32-vcopysign_sse2-no-sse3",
-- ":f32-vcopysign_x64",
-- ":f32-vcos_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vcos_avx512f",
-- ":f32-vcos_f16c-fma-no-avx2",
-- ":f32-vcos_sse2-no-sse3",
-- ":f32-vcos_x64",
-- ":f32-velu_avx-no-avx2-no-f16c-no-fma",
-- ":f32-velu_avx512f",
-- ":f32-velu_f16c-fma-avx2",
-- ":f32-velu_sse2-no-sse3",
-- ":f32-velu_x64",
-- ":f32-vexp_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vexp_avx512f",
-- ":f32-vexp_f16c-fma-no-avx2",
-- ":f32-vexp_sse2-no-sse3",
-- ":f32-vexp_x64",
-- ":f32-vgelu_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vgelu_avx512f",
-- ":f32-vgelu_f16c-fma-no-avx2",
-- ":f32-vgelu_sse2-no-sse3",
-- ":f32-vgelu_x64",
-- ":f32-vhswish_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vhswish_avx512f",
-- ":f32-vhswish_f16c-fma-no-avx2",
-- ":f32-vhswish_sse2-no-sse3",
-- ":f32-vhswish_x64",
-- ":f32-vlog_avx512f",
-- ":f32-vlog_f16c-fma-avx2",
-- ":f32-vlog_f16c-fma-no-avx2",
-- ":f32-vlog_sse2-no-sse3",
-- ":f32-vlog_x64",
-- ":f32-vlrelu_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vlrelu_avx512f",
-- ":f32-vlrelu_sse-no-sse2",
-- ":f32-vlrelu_sse4.1-no-sse4.2",
-- ":f32-vlrelu_x64",
-- ":f32-vmulcaddc_sse-no-sse2",
-- ":f32-vmulcaddc_x64",
-- ":f32-vrnd_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vrnd_avx512f",
-- ":f32-vrnd_sse2-no-sse3",
-- ":f32-vrnd_sse4.1-no-sse4.2",
-- ":f32-vrnd_x64",
-- ":f32-vrsqrt_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vrsqrt_avx512f",
-- ":f32-vrsqrt_sse2-no-sse3",
-- ":f32-vrsqrt_x64",
-- ":f32-vsigmoid_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vsigmoid_avx512f",
-- ":f32-vsigmoid_f16c-fma-avx2",
-- ":f32-vsigmoid_sse2-no-sse3",
-- ":f32-vsigmoid_sse4.1-no-sse4.2",
-- ":f32-vsigmoid_x64",
-- ":f32-vsin_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vsin_avx512f",
-- ":f32-vsin_f16c-fma-no-avx2",
-- ":f32-vsin_sse2-no-sse3",
-- ":f32-vsin_x64",
-- ":f32-vsqrt_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vsqrt_avx512f",
-- ":f32-vsqrt_sse2-no-sse3",
-- ":f32-vsqrt_x64",
-- ":f32-vtanh_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vtanh_avx512f",
-- ":f32-vtanh_f16c-fma-no-avx2",
-- ":f32-vtanh_sse2-no-sse3",
-- ":f32-vtanh_x64",
-- ":f32-vunary_avx-no-avx2-no-f16c-no-fma",
-- ":f32-vunary_avx512f",
-- ":f32-vunary_sse2-no-sse3",
-- ":f32-vunary_x64",
-- ":operators_x64",
-- ":qd8-bf16-qb4w-gemm_f16c-fma-avx2",
-- ":qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qd8-bf16-qb4w-gemm_x64",
-- ":qd8-f16-qb4w-gemm_f16c-fma-avx2",
-- ":qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qd8-f16-qc2w-gemm_f16c-fma-avx2",
-- ":qd8-f16-qc2w-gemm_x64",
-- ":qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qd8-f16-qc4w-gemm_f16c-fma-avx2",
-- ":qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qd8-f16-qc8w-gemm_f16c-fma-avx2",
-- ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-- ":qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qd8-f16-qc8w-igemm_f16c-fma-avx2",
-- ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-- ":qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma",
-- ":qd8-f32-qb4w-gemm_f16c-fma-avx2",
-- ":qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni",
-- ":qd8-f32-qb4w-gemm_sse2-no-sse3",
-- ":qd8-f32-qb4w-gemm_sse4.1-no-sse4.2",
-- ":qd8-f32-qb4w-gemm_x64",
-- ":qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qd8-f32-qc2w-gemm_f16c-fma-avx2",
-- ":qd8-f32-qc2w-gemm_ssse3-no-sse4.1",
-- ":qd8-f32-qc2w-gemm_x64",
-- ":qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qd8-f32-qc4w-gemm_f16c-fma-avx2",
-- ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni",
-- ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-- ":qd8-f32-qc4w-gemm_sse2-no-sse3",
-- ":qd8-f32-qc4w-gemm_ssse3-no-sse4.1",
-- ":qd8-f32-qc4w-gemm_x64",
-- ":qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qd8-f32-qc8w-gemm_f16c-fma-avx2",
-- ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-- ":qd8-f32-qc8w-gemm_sse2-no-sse3",
-- ":qd8-f32-qc8w-gemm_sse4.1-no-sse4.2",
-- ":qd8-f32-qc8w-gemm_x64",
-- ":qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qd8-f32-qc8w-igemm_f16c-fma-avx2",
-- ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-- ":qd8-f32-qc8w-igemm_sse2-no-sse3",
-- ":qd8-f32-qc8w-igemm_sse4.1-no-sse4.2",
-- ":qd8-f32-qc8w-igemm_x64",
-- ":qs8-dwconv_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-dwconv_f16c-fma-avx2",
-- ":qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-dwconv_sse2-no-sse3",
-- ":qs8-dwconv_sse4.1-no-sse4.2",
-- ":qs8-dwconv_x64",
-- ":qs8-f16-vcvt_f16c-fma-avx2",
-- ":qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-f32-vcvt_f16c-fma-avx2",
-- ":qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-f32-vcvt_sse2-no-sse3",
-- ":qs8-f32-vcvt_sse4.1-no-sse4.2",
-- ":qs8-f32-vcvt_x64",
-- ":qs8-packw_avx2-avxvnni-f16c-fma-gfni",
-- ":qs8-packw_f16c-fma-avx2",
-- ":qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qs8-packw_x64",
-- ":qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qs8-qc2w-gemm_f16c-fma-avx2",
-- ":qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-qc2w-gemm_ssse3-no-sse4.1",
-- ":qs8-qc2w-gemm_x64",
-- ":qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qs8-qc4w-gemm_f16c-fma-avx2",
-- ":qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qs8-qc4w-gemm_ssse3-no-sse4.1",
-- ":qs8-qc4w-gemm_x64",
-- ":qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni",
-- ":qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qs8-qc4w-packw_sse2-no-sse3",
-- ":qs8-qc4w-packw_x64",
-- ":qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-qc8w-dwconv_f16c-fma-avx2",
-- ":qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-qc8w-dwconv_sse2-no-sse3",
-- ":qs8-qc8w-dwconv_sse4.1-no-sse4.2",
-- ":qs8-qc8w-dwconv_x64",
-- ":qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni",
-- ":qs8-qc8w-gemm_f16c-fma-avx2",
-- ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-- ":qs8-qc8w-gemm_sse2-no-sse3",
-- ":qs8-qc8w-gemm_sse4.1-no-sse4.2",
-- ":qs8-qc8w-gemm_x64",
-- ":qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni",
-- ":qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni",
-- ":qs8-qc8w-igemm_f16c-fma-avx2",
-- ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8",
-- ":qs8-qc8w-igemm_sse2-no-sse3",
-- ":qs8-qc8w-igemm_sse4.1-no-sse4.2",
-- ":qs8-qc8w-igemm_x64",
-- ":qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni",
-- ":qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qs8-qu8-packw_x64",
-- ":qs8-rdsum_f16c-fma-avx2",
-- ":qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-rdsum_sse4.1-no-sse4.2",
-- ":qs8-rdsum_x64",
-- ":qs8-rsum_avx2-avxvnni-f16c-fma-gfni",
-- ":qs8-rsum_f16c-fma-avx2",
-- ":qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
-- ":qs8-rsum_ssse3-no-sse4.1",
-- ":qs8-rsum_x64",
-- ":qs8-vadd_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-vadd_f16c-fma-avx2",
-- ":qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-vadd_sse2-no-sse3",
-- ":qs8-vadd_sse4.1-no-sse4.2",
-- ":qs8-vadd_x64",
-- ":qs8-vaddc_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-vaddc_f16c-fma-avx2",
-- ":qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qs8-vaddc_sse2-no-sse3",
-- ":qs8-vaddc_sse4.1-no-sse4.2",
-- ":qs8-vaddc_x64",
-- ":qs8-vcvt_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-vcvt_f16c-fma-avx2",
-- ":qs8-vcvt_sse2-no-sse3",
-- ":qs8-vcvt_sse4.1-no-sse4.2",
-- ":qs8-vcvt_ssse3-no-sse4.1",
-- ":qs8-vcvt_x64",
-- ":qs8-vlrelu_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-vlrelu_f16c-fma-avx2",
-- ":qs8-vlrelu_sse2-no-sse3",
-- ":qs8-vlrelu_sse4.1-no-sse4.2",
-- ":qs8-vlrelu_ssse3-no-sse4.1",
-- ":qs8-vlrelu_x64",
-- ":qs8-vmul_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-vmul_sse2-no-sse3",
-- ":qs8-vmul_sse4.1-no-sse4.2",
-- ":qs8-vmul_x64",
-- ":qs8-vmulc_avx-no-avx2-no-f16c-no-fma",
-- ":qs8-vmulc_sse2-no-sse3",
-- ":qs8-vmulc_sse4.1-no-sse4.2",
-- ":qs8-vmulc_x64",
-- ":qs8-vprelu_f16c-fma-avx2",
-- ":qs8-vprelu_x64",
-- ":qs8-vpreluc_f16c-fma-avx2",
-- ":qs8-vpreluc_x64",
-- ":qs8-vrpreluc_f16c-fma-avx2",
-- ":qs8-vrpreluc_x64",
-- ":qu8-dwconv_avx-no-avx2-no-f16c-no-fma",
-- ":qu8-dwconv_f16c-fma-avx2",
-- ":qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qu8-dwconv_sse2-no-sse3",
-- ":qu8-dwconv_sse4.1-no-sse4.2",
-- ":qu8-dwconv_x64",
-- ":qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma",
-- ":qu8-f32-vcvt_f16c-fma-avx2",
-- ":qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qu8-f32-vcvt_sse2-no-sse3",
-- ":qu8-f32-vcvt_sse4.1-no-sse4.2",
-- ":qu8-f32-vcvt_x64",
-- ":qu8-gemm_avx-no-avx2-no-f16c-no-fma",
-- ":qu8-gemm_f16c-fma-avx2",
-- ":qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qu8-gemm_sse2-no-sse3",
-- ":qu8-gemm_sse4.1-no-sse4.2",
-- ":qu8-gemm_x64",
-- ":qu8-igemm_avx-no-avx2-no-f16c-no-fma",
-- ":qu8-igemm_f16c-fma-avx2",
-- ":qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qu8-igemm_sse2-no-sse3",
-- ":qu8-igemm_sse4.1-no-sse4.2",
-- ":qu8-igemm_x64",
-- ":qu8-rdsum_ssse3-no-sse4.1",
-- ":qu8-rdsum_x64",
-- ":qu8-rsum_f16c-fma-avx2",
-- ":qu8-rsum_sse2-no-sse3",
-- ":qu8-rsum_x64",
-- ":qu8-vadd_avx-no-avx2-no-f16c-no-fma",
-- ":qu8-vadd_f16c-fma-avx2",
-- ":qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qu8-vadd_sse2-no-sse3",
-- ":qu8-vadd_sse4.1-no-sse4.2",
-- ":qu8-vadd_x64",
-- ":qu8-vaddc_avx-no-avx2-no-f16c-no-fma",
-- ":qu8-vaddc_f16c-fma-avx2",
-- ":qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":qu8-vaddc_sse2-no-sse3",
-- ":qu8-vaddc_sse4.1-no-sse4.2",
-- ":qu8-vaddc_x64",
-- ":qu8-vcvt_avx-no-avx2-no-f16c-no-fma",
-- ":qu8-vcvt_f16c-fma-avx2",
-- ":qu8-vcvt_sse2-no-sse3",
-- ":qu8-vcvt_sse4.1-no-sse4.2",
-- ":qu8-vcvt_ssse3-no-sse4.1",
-- ":qu8-vcvt_x64",
-- ":qu8-vlrelu_avx-no-avx2-no-f16c-no-fma",
-- ":qu8-vlrelu_f16c-fma-avx2",
-- ":qu8-vlrelu_sse2-no-sse3",
-- ":qu8-vlrelu_sse4.1-no-sse4.2",
-- ":qu8-vlrelu_ssse3-no-sse4.1",
-- ":qu8-vlrelu_x64",
-- ":qu8-vmul_avx-no-avx2-no-f16c-no-fma",
-- ":qu8-vmul_sse2-no-sse3",
-- ":qu8-vmul_sse4.1-no-sse4.2",
-- ":qu8-vmul_x64",
-- ":qu8-vmulc_avx-no-avx2-no-f16c-no-fma",
-- ":qu8-vmulc_sse2-no-sse3",
-- ":qu8-vmulc_sse4.1-no-sse4.2",
-- ":qu8-vmulc_x64",
-- ":qu8-vprelu_f16c-fma-avx2",
-- ":qu8-vprelu_x64",
-- ":qu8-vpreluc_f16c-fma-avx2",
-- ":qu8-vpreluc_x64",
-- ":qu8-vrpreluc_f16c-fma-avx2",
-- ":qu8-vrpreluc_x64",
-- ":reference_x64",
-- ":s8-ibilinear_sse2-no-sse3",
-- ":s8-ibilinear_sse4.1-no-sse4.2",
-- ":s8-ibilinear_x64",
-- ":s8-maxpool_sse4.1-no-sse4.2",
-- ":s8-maxpool_x64",
-- ":s8-rdminmax_sse4.1-no-sse4.2",
-- ":s8-rdminmax_x64",
-- ":s8-rminmax_sse4.1-no-sse4.2",
-- ":s8-rminmax_x64",
-- ":s8-vclamp_f16c-fma-avx2",
-- ":s8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":s8-vclamp_sse2-no-sse3",
-- ":s8-vclamp_sse4.1-no-sse4.2",
-- ":s8-vclamp_x64",
-- ":subgraph_x64",
-- ":tables_x64",
-- ":u8-ibilinear_sse2-no-sse3",
-- ":u8-ibilinear_sse4.1-no-sse4.2",
-- ":u8-ibilinear_x64",
-- ":u8-lut32norm_x64",
-- ":u8-maxpool_sse2-no-sse3",
-- ":u8-maxpool_x64",
-- ":u8-rdminmax_sse2-no-sse3",
-- ":u8-rdminmax_x64",
-- ":u8-rminmax_sse2-no-sse3",
-- ":u8-rminmax_x64",
-- ":u8-vclamp_f16c-fma-avx2",
-- ":u8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":u8-vclamp_sse2-no-sse3",
-- ":u8-vclamp_x64",
-- ":x16-packw_f16c-fma-avx2",
-- ":x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":x16-packw_x64",
-- ":x16-transposec_f16c-fma-avx2",
-- ":x16-transposec_sse2-no-sse3",
-- ":x16-transposec_x64",
-- ":x16-x32-packw_x64",
-- ":x24-transposec_ssse3-no-sse4.1",
-- ":x24-transposec_x64",
-- ":x32-packw_avx-no-avx2-no-f16c-no-fma",
-- ":x32-packw_avx512f",
-- ":x32-packw_sse2-no-sse3",
-- ":x32-packw_x64",
-- ":x32-transposec_avx-no-avx2-no-f16c-no-fma",
-- ":x32-transposec_sse-no-sse2",
-- ":x32-transposec_x64",
-- ":x32-unpool_sse2-no-sse3",
-- ":x32-unpool_x64",
-- ":x64-transposec_avx-no-avx2-no-f16c-no-fma",
-- ":x64-transposec_sse2-no-sse3",
-- ":x64-transposec_x64",
-- ":x8-lut_avx-no-avx2-no-f16c-no-fma",
-- ":x8-lut_f16c-fma-avx2",
-- ":x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vbmi",
-- ":x8-lut_x64",
-- ":x8-packq_x64",
-- ":x8-packw_x64",
-- ":x8-transposec_f16c-fma-avx2",
-- ":x8-transposec_sse2-no-sse3",
-- ":x8-transposec_x64",
-- ":xx-copy_x64",
-- ":xx-fill_sse2-no-sse3",
-- ":xx-fill_x64",
-- ":xx-pad_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
-- ":xx-pad_sse2-no-sse3",
-- ":xx-pad_x64",
-- ":xx-transposev_x64",
-+ ":bf16-f32-vcvt_arm64",
-+ ":bf16-qs8-vcvt_arm64",
-+ ":bf16-qu8-vcvt_arm64",
-+ ":bf16-rminmax_arm64",
-+ ":bf16-vunary_arm64",
-+ ":configs_arm64",
-+ ":enums_arm64",
-+ ":f16-avgpool_arch=armv8.2-a+fp16",
-+ ":f16-avgpool_arm64",
-+ ":f16-conv-hwc2chw_arch=armv8.2-a+fp16",
-+ ":f16-dwconv2d-chw_arch=armv8.2-a+fp16",
-+ ":f16-dwconv_arch=armv8.2-a+fp16",
-+ ":f16-dwconv_arm64",
-+ ":f16-f32-vcvt_arm64",
-+ ":f16-f32acc-rdsum2_arch=armv8.2-a+fp16",
-+ ":f16-f32acc-rdsum_arch=armv8.2-a+fp16",
-+ ":f16-f32acc-rsum2_arch=armv8.2-a+fp16",
-+ ":f16-f32acc-rsum_arch=armv8.2-a+fp16",
-+ ":f16-gemm_arch=armv8.2-a+fp16",
-+ ":f16-gemm_arch=armv8.2-a+fp16+dotprod",
-+ ":f16-ibilinear-chw_arch=armv8.2-a+fp16",
-+ ":f16-ibilinear_arch=armv8.2-a+fp16",
-+ ":f16-igemm_arch=armv8.2-a+fp16",
-+ ":f16-igemm_arch=armv8.2-a+fp16+dotprod",
-+ ":f16-maxpool_arch=armv8.2-a+fp16",
-+ ":f16-qs8-vcvt_arch=armv8.2-a+fp16",
-+ ":f16-qs8-vcvt_arm64",
-+ ":f16-qu8-vcvt_arm64",
-+ ":f16-raddstoreexpminusmax_arch=armv8.2-a+fp16",
-+ ":f16-rdminmax_arch=armv8.2-a+fp16",
-+ ":f16-rdminmax_arm64",
-+ ":f16-rminmax_arch=armv8.2-a+fp16",
-+ ":f16-rminmax_arm64",
-+ ":f16-spmm_arch=armv8.2-a+fp16",
-+ ":f16-vapproxgelu_arch=armv8.2-a+fp16",
-+ ":f16-vapproxgelu_arm64",
-+ ":f16-vbinary_arch=armv8.2-a+fp16",
-+ ":f16-vclamp_arch=armv8.2-a+fp16",
-+ ":f16-vcmul_arch=armv8.2-a+fp16",
-+ ":f16-vcos_arch=armv8.2-a+fp16",
-+ ":f16-vcos_arm64",
-+ ":f16-velu_arch=armv8.2-a+fp16",
-+ ":f16-vexp_arch=armv8.2-a+fp16",
-+ ":f16-vexp_arm64",
-+ ":f16-vgelu_arch=armv8.2-a+fp16",
-+ ":f16-vgelu_arm64",
-+ ":f16-vhswish_arch=armv8.2-a+fp16",
-+ ":f16-vlog_arch=armv8.2-a+fp16",
-+ ":f16-vlog_arm64",
-+ ":f16-vlrelu_arch=armv8.2-a+fp16",
-+ ":f16-vmulcaddc_arch=armv8.2-a+fp16",
-+ ":f16-vrnd_arch=armv8.2-a+fp16",
-+ ":f16-vrsqrt_arch=armv8.2-a+fp16",
-+ ":f16-vsigmoid_arch=armv8.2-a+fp16",
-+ ":f16-vsin_arch=armv8.2-a+fp16",
-+ ":f16-vsin_arm64",
-+ ":f16-vsqrt_arch=armv8.2-a+fp16",
-+ ":f16-vsqrt_arm64",
-+ ":f16-vtanh_arch=armv8.2-a+fp16",
-+ ":f16-vtanh_arm64",
-+ ":f16-vunary_arch=armv8.2-a+fp16",
-+ ":f32-argmaxpool_arm64",
-+ ":f32-avgpool_arm64",
-+ ":f32-bf16-vcvt_arch=armv8.2-a+bf16",
-+ ":f32-bf16-vcvt_arm64",
-+ ":f32-conv-hwc2chw_arm64",
-+ ":f32-dwconv2d-chw_arm64",
-+ ":f32-dwconv_arch=armv8.2-a+fp16+dotprod",
-+ ":f32-dwconv_arm64",
-+ ":f32-f16-vcvt_arm64",
-+ ":f32-gemm_arch=armv8.2-a+fp16+dotprod",
-+ ":f32-gemm_arm64",
-+ ":f32-ibilinear-chw_arm64",
-+ ":f32-ibilinear_arm64",
-+ ":f32-igemm_arch=armv8.2-a+fp16+dotprod",
-+ ":f32-igemm_arm64",
-+ ":f32-maxpool_arm64",
-+ ":f32-qc4w-gemm_arm64",
-+ ":f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod",
-+ ":f32-qc8w-gemm_arm64",
-+ ":f32-qs8-vcvt_arm64",
-+ ":f32-qu8-vcvt_arm64",
-+ ":f32-raddstoreexpminusmax_arm64",
-+ ":f32-rdminmax_arm64",
-+ ":f32-rdsum2_arm64",
-+ ":f32-rdsum_arm64",
-+ ":f32-rminmax_arm64",
-+ ":f32-rsum2_arm64",
-+ ":f32-rsum_arm64",
-+ ":f32-spmm_arm64",
-+ ":f32-vapproxgelu_arm64",
-+ ":f32-vbinary_arm64",
-+ ":f32-vclamp_arm64",
-+ ":f32-vcmul_arm64",
-+ ":f32-vcopysign_arm64",
-+ ":f32-vcos_arm64",
-+ ":f32-velu_arm64",
-+ ":f32-vexp_arm64",
-+ ":f32-vgelu_arm64",
-+ ":f32-vhswish_arm64",
-+ ":f32-vlog_arm64",
-+ ":f32-vlrelu_arm64",
-+ ":f32-vmulcaddc_arm64",
-+ ":f32-vrnd_arm64",
-+ ":f32-vrsqrt_arm64",
-+ ":f32-vsigmoid_arm64",
-+ ":f32-vsin_arm64",
-+ ":f32-vsqrt_arm64",
-+ ":f32-vtanh_arm64",
-+ ":f32-vunary_arm64",
-+ ":operators_arm64",
-+ ":pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2",
-+ ":pf16-gemm_arch=armv8.2-a+sve+sve2",
-+ ":pf32-gemm_arch=armv8.2-a+sve+sve2",
-+ ":pf32-igemm_arch=armv8.2-a+sve+sve2",
-+ ":pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2",
-+ ":pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2",
-+ ":pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2",
-+ ":qb4-packw_arch=armv8.2-a+dotprod",
-+ ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod",
-+ ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16+bf16",
-+ ":qd8-bf16-qb4w-gemm_arm64",
-+ ":qd8-f16-qb4w-gemm_arch=armv8.2-a+dotprod+fp16",
-+ ":qd8-f16-qb4w-gemm_arch=armv8.2-a+fp16",
-+ ":qd8-f16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qd8-f16-qc2w-gemm_arch=armv8.2-a+dotprod+fp16",
-+ ":qd8-f16-qc2w-gemm_arm64",
-+ ":qd8-f16-qc4w-gemm_arch=armv8.2-a+dotprod+fp16",
-+ ":qd8-f16-qc4w-gemm_arch=armv8.2-a+fp16",
-+ ":qd8-f16-qc4w-gemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qd8-f16-qc8w-gemm_arch=armv8.2-a+dotprod+fp16",
-+ ":qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16",
-+ ":qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16+dotprod",
-+ ":qd8-f16-qc8w-gemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qd8-f16-qc8w-igemm_arch=armv8.2-a+dotprod+fp16",
-+ ":qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16",
-+ ":qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16+dotprod",
-+ ":qd8-f16-qc8w-igemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qd8-f32-qb4w-gemm_arch=armv8.2-a+dotprod",
-+ ":qd8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qd8-f32-qb4w-gemm_arm64",
-+ ":qd8-f32-qc2w-gemm_arch=armv8.2-a+dotprod",
-+ ":qd8-f32-qc2w-gemm_arm64",
-+ ":qd8-f32-qc4w-gemm_arch=armv8.2-a+dotprod",
-+ ":qd8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qd8-f32-qc4w-gemm_arm64",
-+ ":qd8-f32-qc8w-gemm_arch=armv8.2-a+dotprod",
-+ ":qd8-f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod",
-+ ":qd8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qd8-f32-qc8w-gemm_arm64",
-+ ":qd8-f32-qc8w-igemm_arch=armv8.2-a+dotprod",
-+ ":qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod",
-+ ":qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qd8-f32-qc8w-igemm_arm64",
-+ ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2",
-+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod",
-+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2",
-+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod",
-+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2",
-+ ":qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod",
-+ ":qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2",
-+ ":qs8-dwconv_arm64",
-+ ":qs8-f16-vcvt_arch=armv8.2-a+fp16",
-+ ":qs8-f32-vcvt_arm64",
-+ ":qs8-packw_arch=armv8.2-a+dotprod",
-+ ":qs8-packw_arm64",
-+ ":qs8-qc2w-gemm_arch=armv8.2-a+dotprod",
-+ ":qs8-qc2w-gemm_arm64",
-+ ":qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod",
-+ ":qs8-qc4w-gemm_arm64",
-+ ":qs8-qc4w-packw_arm64",
-+ ":qs8-qc8w-dwconv_arm64",
-+ ":qs8-qc8w-gemm_arch=armv8.2-a+dotprod",
-+ ":qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod",
-+ ":qs8-qc8w-gemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qs8-qc8w-gemm_arm64",
-+ ":qs8-qc8w-igemm_arch=armv8.2-a+dotprod",
-+ ":qs8-qc8w-igemm_arch=armv8.2-a+fp16+dotprod",
-+ ":qs8-qc8w-igemm_arch=armv8.2-a+i8mm+fp16",
-+ ":qs8-qc8w-igemm_arm64",
-+ ":qs8-qu8-packw_arm64",
-+ ":qs8-rdsum_arm64",
-+ ":qs8-rsum_arch=armv8.2-a+dotprod",
-+ ":qs8-rsum_arm64",
-+ ":qs8-vadd_arm64",
-+ ":qs8-vaddc_arm64",
-+ ":qs8-vcvt_arm64",
-+ ":qs8-vlrelu_arm64",
-+ ":qs8-vmul_arm64",
-+ ":qs8-vmulc_arm64",
-+ ":qs8-vprelu_arm64",
-+ ":qs8-vpreluc_arm64",
-+ ":qs8-vrpreluc_arm64",
-+ ":qu8-dwconv_arm64",
-+ ":qu8-f32-vcvt_arm64",
-+ ":qu8-gemm_arch=armv8.2-a+fp16+dotprod",
-+ ":qu8-gemm_arm64",
-+ ":qu8-igemm_arch=armv8.2-a+fp16+dotprod",
-+ ":qu8-igemm_arm64",
-+ ":qu8-rdsum_arm64",
-+ ":qu8-rsum_arm64",
-+ ":qu8-vadd_arm64",
-+ ":qu8-vaddc_arm64",
-+ ":qu8-vcvt_arm64",
-+ ":qu8-vlrelu_arm64",
-+ ":qu8-vmul_arm64",
-+ ":qu8-vmulc_arm64",
-+ ":qu8-vprelu_arm64",
-+ ":qu8-vpreluc_arm64",
-+ ":qu8-vrpreluc_arm64",
-+ ":reference_arm64",
-+ ":s8-ibilinear_arm64",
-+ ":s8-maxpool_arm64",
-+ ":s8-rdminmax_arm64",
-+ ":s8-rminmax_arm64",
-+ ":s8-vclamp_arm64",
-+ ":subgraph_arm64",
-+ ":tables_arm64",
-+ ":u8-ibilinear_arm64",
-+ ":u8-lut32norm_arm64",
-+ ":u8-maxpool_arm64",
-+ ":u8-rdminmax_arm64",
-+ ":u8-rminmax_arm64",
-+ ":u8-vclamp_arm64",
-+ ":x16-pack-lh_arch=armv8.2-a+sve+sve2",
-+ ":x16-packw_arm64",
-+ ":x16-transposec_arm64",
-+ ":x16-x32-packw_arm64",
-+ ":x24-transposec_arm64",
-+ ":x32-pack-lh_arch=armv8.2-a+sve+sve2",
-+ ":x32-packw_arm64",
-+ ":x32-transposec_arm64",
-+ ":x32-unpool_arm64",
-+ ":x64-transposec_arm64",
-+ ":x8-lut_arm64",
-+ ":x8-pack-lh_arch=armv8.2-a+sve+sve2",
-+ ":x8-packq_arm64",
-+ ":x8-packw_arm64",
-+ ":x8-transposec_arm64",
-+ ":xx-copy_arm64",
-+ ":xx-fill_arm64",
-+ ":xx-pad_arm64",
-+ ":xx-transposev_arm64"
- ]
- }
-
+ } else {
+ xnnpack_deps = []
if (build_with_internal_optimization_guide) {
- xnnpack_standalone_deps = [
-- ":bf16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":bf16-f32-vcvt_x64_standalone",
-- ":bf16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":bf16-qs8-vcvt_x64_standalone",
-- ":bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":bf16-qu8-vcvt_x64_standalone",
-- ":bf16-rminmax_x64_standalone",
-- ":bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":bf16-vunary_x64_standalone",
-- ":configs_x64_standalone",
-- ":enums_x64_standalone",
-- ":f16-avgpool_f16c-no-avx2-no-fma_standalone",
-- ":f16-avgpool_x64_standalone",
-- ":f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-dwconv_f16c-fma-no-avx2_standalone",
-- ":f16-dwconv_x64_standalone",
-- ":f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f16-f32-vcvt_f16c-no-avx2-no-fma_standalone",
-- ":f16-f32-vcvt_sse2-no-sse3_standalone",
-- ":f16-f32-vcvt_sse4.1-no-sse4.2_standalone",
-- ":f16-f32-vcvt_x64_standalone",
-- ":f16-f32acc-gemm_f16c-fma-avx2_standalone",
-- ":f16-f32acc-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f16-f32acc-igemm_f16c-fma-avx2_standalone",
-- ":f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f16-f32acc-rdsum2_f16c-no-avx2-no-fma_standalone",
-- ":f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f16-f32acc-rdsum_f16c-no-avx2-no-fma_standalone",
-- ":f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f16-f32acc-rsum2_f16c-no-avx2-no-fma_standalone",
-- ":f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f16-f32acc-rsum_f16c-no-avx2-no-fma_standalone",
-- ":f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-ibilinear_f16c-fma-no-avx2_standalone",
-- ":f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-maxpool_f16c-fma-avx2_standalone",
-- ":f16-maxpool_sse4.1-no-sse4.2_standalone",
-- ":f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f16-qs8-vcvt_x64_standalone",
-- ":f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f16-qu8-vcvt_x64_standalone",
-- ":f16-raddstoreexpminusmax_f16c-fma-avx2_standalone",
-- ":f16-rdminmax_x64_standalone",
-- ":f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f16-rminmax_f16c-no-avx2-no-fma_standalone",
-- ":f16-rminmax_x64_standalone",
-- ":f16-vapproxgelu_avx512f_standalone",
-- ":f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-vapproxgelu_f16c-no-avx2-no-fma_standalone",
-- ":f16-vapproxgelu_x64_standalone",
-- ":f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-vbinary_f16c-no-avx2-no-fma_standalone",
-- ":f16-vclamp_f16c-no-avx2-no-fma_standalone",
-- ":f16-vcos_avx512f_standalone",
-- ":f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-vcos_f16c-no-avx2-no-fma_standalone",
-- ":f16-vcos_x64_standalone",
-- ":f16-velu_f16c-fma-avx2_standalone",
-- ":f16-vexp_avx512f_standalone",
-- ":f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-vexp_f16c-no-avx2-no-fma_standalone",
-- ":f16-vexp_x64_standalone",
-- ":f16-vgelu_x64_standalone",
-- ":f16-vhswish_f16c-no-avx2-no-fma_standalone",
-- ":f16-vlog_avx512f_standalone",
-- ":f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-vlog_f16c-no-avx2-no-fma_standalone",
-- ":f16-vlog_x64_standalone",
-- ":f16-vlrelu_f16c-no-avx2-no-fma_standalone",
-- ":f16-vmulcaddc_f16c-fma-no-avx2_standalone",
-- ":f16-vrnd_f16c-no-avx2-no-fma_standalone",
-- ":f16-vrsqrt_f16c-no-avx2-no-fma_standalone",
-- ":f16-vsigmoid_f16c-fma-avx2_standalone",
-- ":f16-vsin_avx512f_standalone",
-- ":f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-vsin_f16c-no-avx2-no-fma_standalone",
-- ":f16-vsin_x64_standalone",
-- ":f16-vsqrt_f16c-no-avx2-no-fma_standalone",
-- ":f16-vsqrt_x64_standalone",
-- ":f16-vtanh_avx512f_standalone",
-- ":f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
-- ":f16-vtanh_f16c-no-avx2-no-fma_standalone",
-- ":f16-vtanh_x64_standalone",
-- ":f16-vunary_f16c-no-avx2-no-fma_standalone",
-- ":f16-vunary_sse2-no-sse3_standalone",
-- ":f32-argmaxpool_sse2-no-sse3_standalone",
-- ":f32-argmaxpool_x64_standalone",
-- ":f32-avgpool_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-avgpool_avx512f_standalone",
-- ":f32-avgpool_sse2-no-sse3_standalone",
-- ":f32-avgpool_x64_standalone",
-- ":f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16_standalone",
-- ":f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f32-bf16-vcvt_x64_standalone",
-- ":f32-conv-hwc2chw_sse-no-sse2_standalone",
-- ":f32-conv-hwc2chw_x64_standalone",
-- ":f32-dwconv2d-chw_sse-no-sse2_standalone",
-- ":f32-dwconv2d-chw_ssse3-no-sse4.1_standalone",
-- ":f32-dwconv2d-chw_x64_standalone",
-- ":f32-dwconv_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-dwconv_avx512f_standalone",
-- ":f32-dwconv_f16c-fma-no-avx2_standalone",
-- ":f32-dwconv_sse-no-sse2_standalone",
-- ":f32-dwconv_x64_standalone",
-- ":f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f32-f16-vcvt_f16c-no-avx2-no-fma_standalone",
-- ":f32-f16-vcvt_sse2-no-sse3_standalone",
-- ":f32-f16-vcvt_sse4.1-no-sse4.2_standalone",
-- ":f32-f16-vcvt_x64_standalone",
-- ":f32-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-gemm_avx512f_standalone",
-- ":f32-gemm_f16c-fma-no-avx2_standalone",
-- ":f32-gemm_sse-no-sse2_standalone",
-- ":f32-gemm_x64_standalone",
-- ":f32-ibilinear-chw_sse-no-sse2_standalone",
-- ":f32-ibilinear-chw_x64_standalone",
-- ":f32-ibilinear_sse-no-sse2_standalone",
-- ":f32-ibilinear_x64_standalone",
-- ":f32-igemm_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-igemm_avx512f_standalone",
-- ":f32-igemm_f16c-fma-no-avx2_standalone",
-- ":f32-igemm_sse-no-sse2_standalone",
-- ":f32-igemm_x64_standalone",
-- ":f32-maxpool_sse2-no-sse3_standalone",
-- ":f32-maxpool_x64_standalone",
-- ":f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-qc4w-gemm_f16c-fma-avx2_standalone",
-- ":f32-qc4w-gemm_f16c-fma-no-avx2_standalone",
-- ":f32-qc4w-gemm_sse4.1-no-sse4.2_standalone",
-- ":f32-qc4w-gemm_x64_standalone",
-- ":f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-qc8w-gemm_f16c-fma-avx2_standalone",
-- ":f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f32-qc8w-gemm_f16c-fma-no-avx2_standalone",
-- ":f32-qc8w-gemm_sse4.1-no-sse4.2_standalone",
-- ":f32-qc8w-gemm_x64_standalone",
-- ":f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-qs8-vcvt_f16c-fma-avx2_standalone",
-- ":f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f32-qs8-vcvt_sse2-no-sse3_standalone",
-- ":f32-qs8-vcvt_sse4.1-no-sse4.2_standalone",
-- ":f32-qs8-vcvt_x64_standalone",
-- ":f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-qu8-vcvt_f16c-fma-avx2_standalone",
-- ":f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f32-qu8-vcvt_sse2-no-sse3_standalone",
-- ":f32-qu8-vcvt_x64_standalone",
-- ":f32-raddstoreexpminusmax_avx512f_standalone",
-- ":f32-raddstoreexpminusmax_f16c-fma-avx2_standalone",
-- ":f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":f32-raddstoreexpminusmax_sse2-no-sse3_standalone",
-- ":f32-raddstoreexpminusmax_x64_standalone",
-- ":f32-rdminmax_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-rdminmax_avx512f_standalone",
-- ":f32-rdminmax_sse2-no-sse3_standalone",
-- ":f32-rdminmax_x64_standalone",
-- ":f32-rdsum2_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-rdsum2_avx512f_standalone",
-- ":f32-rdsum2_sse2-no-sse3_standalone",
-- ":f32-rdsum2_x64_standalone",
-- ":f32-rdsum_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-rdsum_avx512f_standalone",
-- ":f32-rdsum_sse2-no-sse3_standalone",
-- ":f32-rdsum_x64_standalone",
-- ":f32-rminmax_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-rminmax_avx512f_standalone",
-- ":f32-rminmax_sse-no-sse2_standalone",
-- ":f32-rminmax_x64_standalone",
-- ":f32-rsum2_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-rsum2_avx512f_standalone",
-- ":f32-rsum2_sse2-no-sse3_standalone",
-- ":f32-rsum2_x64_standalone",
-- ":f32-rsum_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-rsum_avx512f_standalone",
-- ":f32-rsum_sse2-no-sse3_standalone",
-- ":f32-rsum_x64_standalone",
-- ":f32-spmm_sse-no-sse2_standalone",
-- ":f32-spmm_x64_standalone",
-- ":f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vapproxgelu_avx512f_standalone",
-- ":f32-vapproxgelu_f16c-fma-no-avx2_standalone",
-- ":f32-vapproxgelu_sse2-no-sse3_standalone",
-- ":f32-vapproxgelu_x64_standalone",
-- ":f32-vbinary_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vbinary_avx512f_standalone",
-- ":f32-vbinary_sse-no-sse2_standalone",
-- ":f32-vbinary_sse2-no-sse3_standalone",
-- ":f32-vbinary_x64_standalone",
-- ":f32-vclamp_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vclamp_avx512f_standalone",
-- ":f32-vclamp_sse2-no-sse3_standalone",
-- ":f32-vclamp_x64_standalone",
-- ":f32-vcmul_avx512f_standalone",
-- ":f32-vcmul_f16c-fma-no-avx2_standalone",
-- ":f32-vcmul_sse-no-sse2_standalone",
-- ":f32-vcmul_x64_standalone",
-- ":f32-vcopysign_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vcopysign_avx512f_standalone",
-- ":f32-vcopysign_sse2-no-sse3_standalone",
-- ":f32-vcopysign_x64_standalone",
-- ":f32-vcos_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vcos_avx512f_standalone",
-- ":f32-vcos_f16c-fma-no-avx2_standalone",
-- ":f32-vcos_sse2-no-sse3_standalone",
-- ":f32-vcos_x64_standalone",
-- ":f32-velu_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-velu_avx512f_standalone",
-- ":f32-velu_f16c-fma-avx2_standalone",
-- ":f32-velu_sse2-no-sse3_standalone",
-- ":f32-velu_x64_standalone",
-- ":f32-vexp_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vexp_avx512f_standalone",
-- ":f32-vexp_f16c-fma-no-avx2_standalone",
-- ":f32-vexp_sse2-no-sse3_standalone",
-- ":f32-vexp_x64_standalone",
-- ":f32-vgelu_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vgelu_avx512f_standalone",
-- ":f32-vgelu_f16c-fma-no-avx2_standalone",
-- ":f32-vgelu_sse2-no-sse3_standalone",
-- ":f32-vgelu_x64_standalone",
-- ":f32-vhswish_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vhswish_avx512f_standalone",
-- ":f32-vhswish_f16c-fma-no-avx2_standalone",
-- ":f32-vhswish_sse2-no-sse3_standalone",
-- ":f32-vhswish_x64_standalone",
-- ":f32-vlog_avx512f_standalone",
-- ":f32-vlog_f16c-fma-avx2_standalone",
-- ":f32-vlog_f16c-fma-no-avx2_standalone",
-- ":f32-vlog_sse2-no-sse3_standalone",
-- ":f32-vlog_x64_standalone",
-- ":f32-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vlrelu_avx512f_standalone",
-- ":f32-vlrelu_sse-no-sse2_standalone",
-- ":f32-vlrelu_sse4.1-no-sse4.2_standalone",
-- ":f32-vlrelu_x64_standalone",
-- ":f32-vmulcaddc_sse-no-sse2_standalone",
-- ":f32-vmulcaddc_x64_standalone",
-- ":f32-vrnd_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vrnd_avx512f_standalone",
-- ":f32-vrnd_sse2-no-sse3_standalone",
-- ":f32-vrnd_sse4.1-no-sse4.2_standalone",
-- ":f32-vrnd_x64_standalone",
-- ":f32-vrsqrt_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vrsqrt_avx512f_standalone",
-- ":f32-vrsqrt_sse2-no-sse3_standalone",
-- ":f32-vrsqrt_x64_standalone",
-- ":f32-vsigmoid_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vsigmoid_avx512f_standalone",
-- ":f32-vsigmoid_f16c-fma-avx2_standalone",
-- ":f32-vsigmoid_sse2-no-sse3_standalone",
-- ":f32-vsigmoid_sse4.1-no-sse4.2_standalone",
-- ":f32-vsigmoid_x64_standalone",
-- ":f32-vsin_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vsin_avx512f_standalone",
-- ":f32-vsin_f16c-fma-no-avx2_standalone",
-- ":f32-vsin_sse2-no-sse3_standalone",
-- ":f32-vsin_x64_standalone",
-- ":f32-vsqrt_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vsqrt_avx512f_standalone",
-- ":f32-vsqrt_sse2-no-sse3_standalone",
-- ":f32-vsqrt_x64_standalone",
-- ":f32-vtanh_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vtanh_avx512f_standalone",
-- ":f32-vtanh_f16c-fma-no-avx2_standalone",
-- ":f32-vtanh_sse2-no-sse3_standalone",
-- ":f32-vtanh_x64_standalone",
-- ":f32-vunary_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":f32-vunary_avx512f_standalone",
-- ":f32-vunary_sse2-no-sse3_standalone",
-- ":f32-vunary_x64_standalone",
-- ":operators_x64_standalone",
-- ":qd8-bf16-qb4w-gemm_f16c-fma-avx2_standalone",
-- ":qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qd8-bf16-qb4w-gemm_x64_standalone",
-- ":qd8-f16-qb4w-gemm_f16c-fma-avx2_standalone",
-- ":qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qd8-f16-qc2w-gemm_f16c-fma-avx2_standalone",
-- ":qd8-f16-qc2w-gemm_x64_standalone",
-- ":qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qd8-f16-qc4w-gemm_f16c-fma-avx2_standalone",
-- ":qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qd8-f16-qc8w-gemm_f16c-fma-avx2_standalone",
-- ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-- ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qd8-f16-qc8w-igemm_f16c-fma-avx2_standalone",
-- ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-- ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qd8-f32-qb4w-gemm_f16c-fma-avx2_standalone",
-- ":qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone",
-- ":qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qd8-f32-qb4w-gemm_sse2-no-sse3_standalone",
-- ":qd8-f32-qb4w-gemm_sse4.1-no-sse4.2_standalone",
-- ":qd8-f32-qb4w-gemm_x64_standalone",
-- ":qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qd8-f32-qc2w-gemm_f16c-fma-avx2_standalone",
-- ":qd8-f32-qc2w-gemm_ssse3-no-sse4.1_standalone",
-- ":qd8-f32-qc2w-gemm_x64_standalone",
-- ":qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qd8-f32-qc4w-gemm_f16c-fma-avx2_standalone",
-- ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-- ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone",
-- ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qd8-f32-qc4w-gemm_sse2-no-sse3_standalone",
-- ":qd8-f32-qc4w-gemm_ssse3-no-sse4.1_standalone",
-- ":qd8-f32-qc4w-gemm_x64_standalone",
-- ":qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qd8-f32-qc8w-gemm_f16c-fma-avx2_standalone",
-- ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-- ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qd8-f32-qc8w-gemm_sse2-no-sse3_standalone",
-- ":qd8-f32-qc8w-gemm_sse4.1-no-sse4.2_standalone",
-- ":qd8-f32-qc8w-gemm_x64_standalone",
-- ":qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qd8-f32-qc8w-igemm_f16c-fma-avx2_standalone",
-- ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-- ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qd8-f32-qc8w-igemm_sse2-no-sse3_standalone",
-- ":qd8-f32-qc8w-igemm_sse4.1-no-sse4.2_standalone",
-- ":qd8-f32-qc8w-igemm_x64_standalone",
-- ":qs8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-dwconv_f16c-fma-avx2_standalone",
-- ":qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-dwconv_sse2-no-sse3_standalone",
-- ":qs8-dwconv_sse4.1-no-sse4.2_standalone",
-- ":qs8-dwconv_x64_standalone",
-- ":qs8-f16-vcvt_f16c-fma-avx2_standalone",
-- ":qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-f32-vcvt_f16c-fma-avx2_standalone",
-- ":qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-f32-vcvt_sse2-no-sse3_standalone",
-- ":qs8-f32-vcvt_sse4.1-no-sse4.2_standalone",
-- ":qs8-f32-vcvt_x64_standalone",
-- ":qs8-packw_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qs8-packw_f16c-fma-avx2_standalone",
-- ":qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qs8-packw_x64_standalone",
-- ":qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qs8-qc2w-gemm_f16c-fma-avx2_standalone",
-- ":qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-qc2w-gemm_ssse3-no-sse4.1_standalone",
-- ":qs8-qc2w-gemm_x64_standalone",
-- ":qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qs8-qc4w-gemm_f16c-fma-avx2_standalone",
-- ":qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-qc4w-gemm_ssse3-no-sse4.1_standalone",
-- ":qs8-qc4w-gemm_x64_standalone",
-- ":qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qs8-qc4w-packw_sse2-no-sse3_standalone",
-- ":qs8-qc4w-packw_x64_standalone",
-- ":qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-qc8w-dwconv_f16c-fma-avx2_standalone",
-- ":qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-qc8w-dwconv_sse2-no-sse3_standalone",
-- ":qs8-qc8w-dwconv_sse4.1-no-sse4.2_standalone",
-- ":qs8-qc8w-dwconv_x64_standalone",
-- ":qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni_standalone",
-- ":qs8-qc8w-gemm_f16c-fma-avx2_standalone",
-- ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-- ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-qc8w-gemm_sse2-no-sse3_standalone",
-- ":qs8-qc8w-gemm_sse4.1-no-sse4.2_standalone",
-- ":qs8-qc8w-gemm_x64_standalone",
-- ":qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni_standalone",
-- ":qs8-qc8w-igemm_f16c-fma-avx2_standalone",
-- ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone",
-- ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-qc8w-igemm_sse2-no-sse3_standalone",
-- ":qs8-qc8w-igemm_sse4.1-no-sse4.2_standalone",
-- ":qs8-qc8w-igemm_x64_standalone",
-- ":qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qs8-qu8-packw_x64_standalone",
-- ":qs8-rdsum_f16c-fma-avx2_standalone",
-- ":qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-rdsum_sse4.1-no-sse4.2_standalone",
-- ":qs8-rdsum_x64_standalone",
-- ":qs8-rsum_avx2-avxvnni-f16c-fma-gfni_standalone",
-- ":qs8-rsum_f16c-fma-avx2_standalone",
-- ":qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
-- ":qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-rsum_ssse3-no-sse4.1_standalone",
-- ":qs8-rsum_x64_standalone",
-- ":qs8-vadd_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-vadd_f16c-fma-avx2_standalone",
-- ":qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-vadd_sse2-no-sse3_standalone",
-- ":qs8-vadd_sse4.1-no-sse4.2_standalone",
-- ":qs8-vadd_x64_standalone",
-- ":qs8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-vaddc_f16c-fma-avx2_standalone",
-- ":qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qs8-vaddc_sse2-no-sse3_standalone",
-- ":qs8-vaddc_sse4.1-no-sse4.2_standalone",
-- ":qs8-vaddc_x64_standalone",
-- ":qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-vcvt_f16c-fma-avx2_standalone",
-- ":qs8-vcvt_sse2-no-sse3_standalone",
-- ":qs8-vcvt_sse4.1-no-sse4.2_standalone",
-- ":qs8-vcvt_ssse3-no-sse4.1_standalone",
-- ":qs8-vcvt_x64_standalone",
-- ":qs8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-vlrelu_f16c-fma-avx2_standalone",
-- ":qs8-vlrelu_sse2-no-sse3_standalone",
-- ":qs8-vlrelu_sse4.1-no-sse4.2_standalone",
-- ":qs8-vlrelu_ssse3-no-sse4.1_standalone",
-- ":qs8-vlrelu_x64_standalone",
-- ":qs8-vmul_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-vmul_sse2-no-sse3_standalone",
-- ":qs8-vmul_sse4.1-no-sse4.2_standalone",
-- ":qs8-vmul_x64_standalone",
-- ":qs8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qs8-vmulc_sse2-no-sse3_standalone",
-- ":qs8-vmulc_sse4.1-no-sse4.2_standalone",
-- ":qs8-vmulc_x64_standalone",
-- ":qs8-vprelu_f16c-fma-avx2_standalone",
-- ":qs8-vprelu_x64_standalone",
-- ":qs8-vpreluc_f16c-fma-avx2_standalone",
-- ":qs8-vpreluc_x64_standalone",
-- ":qs8-vrpreluc_f16c-fma-avx2_standalone",
-- ":qs8-vrpreluc_x64_standalone",
-- ":qu8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qu8-dwconv_f16c-fma-avx2_standalone",
-- ":qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qu8-dwconv_sse2-no-sse3_standalone",
-- ":qu8-dwconv_sse4.1-no-sse4.2_standalone",
-- ":qu8-dwconv_x64_standalone",
-- ":qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qu8-f32-vcvt_f16c-fma-avx2_standalone",
-- ":qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qu8-f32-vcvt_sse2-no-sse3_standalone",
-- ":qu8-f32-vcvt_sse4.1-no-sse4.2_standalone",
-- ":qu8-f32-vcvt_x64_standalone",
-- ":qu8-gemm_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qu8-gemm_f16c-fma-avx2_standalone",
-- ":qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qu8-gemm_sse2-no-sse3_standalone",
-- ":qu8-gemm_sse4.1-no-sse4.2_standalone",
-- ":qu8-gemm_x64_standalone",
-- ":qu8-igemm_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qu8-igemm_f16c-fma-avx2_standalone",
-- ":qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qu8-igemm_sse2-no-sse3_standalone",
-- ":qu8-igemm_sse4.1-no-sse4.2_standalone",
-- ":qu8-igemm_x64_standalone",
-- ":qu8-rdsum_ssse3-no-sse4.1_standalone",
-- ":qu8-rdsum_x64_standalone",
-- ":qu8-rsum_f16c-fma-avx2_standalone",
-- ":qu8-rsum_sse2-no-sse3_standalone",
-- ":qu8-rsum_x64_standalone",
-- ":qu8-vadd_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qu8-vadd_f16c-fma-avx2_standalone",
-- ":qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qu8-vadd_sse2-no-sse3_standalone",
-- ":qu8-vadd_sse4.1-no-sse4.2_standalone",
-- ":qu8-vadd_x64_standalone",
-- ":qu8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qu8-vaddc_f16c-fma-avx2_standalone",
-- ":qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":qu8-vaddc_sse2-no-sse3_standalone",
-- ":qu8-vaddc_sse4.1-no-sse4.2_standalone",
-- ":qu8-vaddc_x64_standalone",
-- ":qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qu8-vcvt_f16c-fma-avx2_standalone",
-- ":qu8-vcvt_sse2-no-sse3_standalone",
-- ":qu8-vcvt_sse4.1-no-sse4.2_standalone",
-- ":qu8-vcvt_ssse3-no-sse4.1_standalone",
-- ":qu8-vcvt_x64_standalone",
-- ":qu8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qu8-vlrelu_f16c-fma-avx2_standalone",
-- ":qu8-vlrelu_sse2-no-sse3_standalone",
-- ":qu8-vlrelu_sse4.1-no-sse4.2_standalone",
-- ":qu8-vlrelu_ssse3-no-sse4.1_standalone",
-- ":qu8-vlrelu_x64_standalone",
-- ":qu8-vmul_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qu8-vmul_sse2-no-sse3_standalone",
-- ":qu8-vmul_sse4.1-no-sse4.2_standalone",
-- ":qu8-vmul_x64_standalone",
-- ":qu8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":qu8-vmulc_sse2-no-sse3_standalone",
-- ":qu8-vmulc_sse4.1-no-sse4.2_standalone",
-- ":qu8-vmulc_x64_standalone",
-- ":qu8-vprelu_f16c-fma-avx2_standalone",
-- ":qu8-vprelu_x64_standalone",
-- ":qu8-vpreluc_f16c-fma-avx2_standalone",
-- ":qu8-vpreluc_x64_standalone",
-- ":qu8-vrpreluc_f16c-fma-avx2_standalone",
-- ":qu8-vrpreluc_x64_standalone",
-- ":reference_x64_standalone",
-- ":s8-ibilinear_sse2-no-sse3_standalone",
-- ":s8-ibilinear_sse4.1-no-sse4.2_standalone",
-- ":s8-ibilinear_x64_standalone",
-- ":s8-maxpool_sse4.1-no-sse4.2_standalone",
-- ":s8-maxpool_x64_standalone",
-- ":s8-rdminmax_sse4.1-no-sse4.2_standalone",
-- ":s8-rdminmax_x64_standalone",
-- ":s8-rminmax_sse4.1-no-sse4.2_standalone",
-- ":s8-rminmax_x64_standalone",
-- ":s8-vclamp_f16c-fma-avx2_standalone",
-- ":s8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":s8-vclamp_sse2-no-sse3_standalone",
-- ":s8-vclamp_sse4.1-no-sse4.2_standalone",
-- ":s8-vclamp_x64_standalone",
-- ":subgraph_x64_standalone",
-- ":tables_x64_standalone",
-- ":u8-ibilinear_sse2-no-sse3_standalone",
-- ":u8-ibilinear_sse4.1-no-sse4.2_standalone",
-- ":u8-ibilinear_x64_standalone",
-- ":u8-lut32norm_x64_standalone",
-- ":u8-maxpool_sse2-no-sse3_standalone",
-- ":u8-maxpool_x64_standalone",
-- ":u8-rdminmax_sse2-no-sse3_standalone",
-- ":u8-rdminmax_x64_standalone",
-- ":u8-rminmax_sse2-no-sse3_standalone",
-- ":u8-rminmax_x64_standalone",
-- ":u8-vclamp_f16c-fma-avx2_standalone",
-- ":u8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":u8-vclamp_sse2-no-sse3_standalone",
-- ":u8-vclamp_x64_standalone",
-- ":x16-packw_f16c-fma-avx2_standalone",
-- ":x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":x16-packw_x64_standalone",
-- ":x16-transposec_f16c-fma-avx2_standalone",
-- ":x16-transposec_sse2-no-sse3_standalone",
-- ":x16-transposec_x64_standalone",
-- ":x16-x32-packw_x64_standalone",
-- ":x24-transposec_ssse3-no-sse4.1_standalone",
-- ":x24-transposec_x64_standalone",
-- ":x32-packw_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":x32-packw_avx512f_standalone",
-- ":x32-packw_sse2-no-sse3_standalone",
-- ":x32-packw_x64_standalone",
-- ":x32-transposec_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":x32-transposec_sse-no-sse2_standalone",
-- ":x32-transposec_x64_standalone",
-- ":x32-unpool_sse2-no-sse3_standalone",
-- ":x32-unpool_x64_standalone",
-- ":x64-transposec_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":x64-transposec_sse2-no-sse3_standalone",
-- ":x64-transposec_x64_standalone",
-- ":x8-lut_avx-no-avx2-no-f16c-no-fma_standalone",
-- ":x8-lut_f16c-fma-avx2_standalone",
-- ":x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vbmi_standalone",
-- ":x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":x8-lut_x64_standalone",
-- ":x8-packq_x64_standalone",
-- ":x8-packw_x64_standalone",
-- ":x8-transposec_f16c-fma-avx2_standalone",
-- ":x8-transposec_sse2-no-sse3_standalone",
-- ":x8-transposec_x64_standalone",
-- ":xx-copy_x64_standalone",
-- ":xx-fill_sse2-no-sse3_standalone",
-- ":xx-fill_x64_standalone",
-- ":xx-pad_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
-- ":xx-pad_sse2-no-sse3_standalone",
-- ":xx-pad_x64_standalone",
-- ":xx-transposev_x64_standalone",
-+ ":bf16-f32-vcvt_arm64_standalone",
-+ ":bf16-qs8-vcvt_arm64_standalone",
-+ ":bf16-qu8-vcvt_arm64_standalone",
-+ ":bf16-rminmax_arm64_standalone",
-+ ":bf16-vunary_arm64_standalone",
-+ ":configs_arm64_standalone",
-+ ":enums_arm64_standalone",
-+ ":f16-avgpool_arch=armv8.2-a+fp16_standalone",
-+ ":f16-avgpool_arm64_standalone",
-+ ":f16-conv-hwc2chw_arch=armv8.2-a+fp16_standalone",
-+ ":f16-dwconv2d-chw_arch=armv8.2-a+fp16_standalone",
-+ ":f16-dwconv_arch=armv8.2-a+fp16_standalone",
-+ ":f16-dwconv_arm64_standalone",
-+ ":f16-f32-vcvt_arm64_standalone",
-+ ":f16-f32acc-rdsum2_arch=armv8.2-a+fp16_standalone",
-+ ":f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone",
-+ ":f16-f32acc-rsum2_arch=armv8.2-a+fp16_standalone",
-+ ":f16-f32acc-rsum_arch=armv8.2-a+fp16_standalone",
-+ ":f16-gemm_arch=armv8.2-a+fp16_standalone",
-+ ":f16-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":f16-ibilinear-chw_arch=armv8.2-a+fp16_standalone",
-+ ":f16-ibilinear_arch=armv8.2-a+fp16_standalone",
-+ ":f16-igemm_arch=armv8.2-a+fp16_standalone",
-+ ":f16-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":f16-maxpool_arch=armv8.2-a+fp16_standalone",
-+ ":f16-qs8-vcvt_arch=armv8.2-a+fp16_standalone",
-+ ":f16-qs8-vcvt_arm64_standalone",
-+ ":f16-qu8-vcvt_arm64_standalone",
-+ ":f16-raddstoreexpminusmax_arch=armv8.2-a+fp16_standalone",
-+ ":f16-rdminmax_arch=armv8.2-a+fp16_standalone",
-+ ":f16-rdminmax_arm64_standalone",
-+ ":f16-rminmax_arch=armv8.2-a+fp16_standalone",
-+ ":f16-rminmax_arm64_standalone",
-+ ":f16-spmm_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vapproxgelu_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vapproxgelu_arm64_standalone",
-+ ":f16-vbinary_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vclamp_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vcmul_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vcos_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vcos_arm64_standalone",
-+ ":f16-velu_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vexp_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vexp_arm64_standalone",
-+ ":f16-vgelu_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vgelu_arm64_standalone",
-+ ":f16-vhswish_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vlog_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vlog_arm64_standalone",
-+ ":f16-vlrelu_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vmulcaddc_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vrnd_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vrsqrt_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vsigmoid_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vsin_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vsin_arm64_standalone",
-+ ":f16-vsqrt_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vsqrt_arm64_standalone",
-+ ":f16-vtanh_arch=armv8.2-a+fp16_standalone",
-+ ":f16-vtanh_arm64_standalone",
-+ ":f16-vunary_arch=armv8.2-a+fp16_standalone",
-+ ":f32-argmaxpool_arm64_standalone",
-+ ":f32-avgpool_arm64_standalone",
-+ ":f32-bf16-vcvt_arch=armv8.2-a+bf16_standalone",
-+ ":f32-bf16-vcvt_arm64_standalone",
-+ ":f32-conv-hwc2chw_arm64_standalone",
-+ ":f32-dwconv2d-chw_arm64_standalone",
-+ ":f32-dwconv_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":f32-dwconv_arm64_standalone",
-+ ":f32-f16-vcvt_arm64_standalone",
-+ ":f32-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":f32-gemm_arm64_standalone",
-+ ":f32-ibilinear-chw_arm64_standalone",
-+ ":f32-ibilinear_arm64_standalone",
-+ ":f32-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":f32-igemm_arm64_standalone",
-+ ":f32-maxpool_arm64_standalone",
-+ ":f32-qc4w-gemm_arm64_standalone",
-+ ":f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":f32-qc8w-gemm_arm64_standalone",
-+ ":f32-qs8-vcvt_arm64_standalone",
-+ ":f32-qu8-vcvt_arm64_standalone",
-+ ":f32-raddstoreexpminusmax_arm64_standalone",
-+ ":f32-rdminmax_arm64_standalone",
-+ ":f32-rdsum2_arm64_standalone",
-+ ":f32-rdsum_arm64_standalone",
-+ ":f32-rminmax_arm64_standalone",
-+ ":f32-rsum2_arm64_standalone",
-+ ":f32-rsum_arm64_standalone",
-+ ":f32-spmm_arm64_standalone",
-+ ":f32-vapproxgelu_arm64_standalone",
-+ ":f32-vbinary_arm64_standalone",
-+ ":f32-vclamp_arm64_standalone",
-+ ":f32-vcmul_arm64_standalone",
-+ ":f32-vcopysign_arm64_standalone",
-+ ":f32-vcos_arm64_standalone",
-+ ":f32-velu_arm64_standalone",
-+ ":f32-vexp_arm64_standalone",
-+ ":f32-vgelu_arm64_standalone",
-+ ":f32-vhswish_arm64_standalone",
-+ ":f32-vlog_arm64_standalone",
-+ ":f32-vlrelu_arm64_standalone",
-+ ":f32-vmulcaddc_arm64_standalone",
-+ ":f32-vrnd_arm64_standalone",
-+ ":f32-vrsqrt_arm64_standalone",
-+ ":f32-vsigmoid_arm64_standalone",
-+ ":f32-vsin_arm64_standalone",
-+ ":f32-vsqrt_arm64_standalone",
-+ ":f32-vtanh_arm64_standalone",
-+ ":f32-vunary_arm64_standalone",
-+ ":operators_arm64_standalone",
-+ ":pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":pf16-gemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":pf32-gemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":pf32-igemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":qb4-packw_arch=armv8.2-a+dotprod_standalone",
-+ ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16+bf16_standalone",
-+ ":qd8-bf16-qb4w-gemm_arm64_standalone",
-+ ":qd8-f16-qb4w-gemm_arch=armv8.2-a+dotprod+fp16_standalone",
-+ ":qd8-f16-qb4w-gemm_arch=armv8.2-a+fp16_standalone",
-+ ":qd8-f16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qd8-f16-qc2w-gemm_arch=armv8.2-a+dotprod+fp16_standalone",
-+ ":qd8-f16-qc2w-gemm_arm64_standalone",
-+ ":qd8-f16-qc4w-gemm_arch=armv8.2-a+dotprod+fp16_standalone",
-+ ":qd8-f16-qc4w-gemm_arch=armv8.2-a+fp16_standalone",
-+ ":qd8-f16-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qd8-f16-qc8w-gemm_arch=armv8.2-a+dotprod+fp16_standalone",
-+ ":qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16_standalone",
-+ ":qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":qd8-f16-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qd8-f16-qc8w-igemm_arch=armv8.2-a+dotprod+fp16_standalone",
-+ ":qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16_standalone",
-+ ":qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":qd8-f16-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qd8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qd8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qd8-f32-qb4w-gemm_arm64_standalone",
-+ ":qd8-f32-qc2w-gemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qd8-f32-qc2w-gemm_arm64_standalone",
-+ ":qd8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qd8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qd8-f32-qc4w-gemm_arm64_standalone",
-+ ":qd8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qd8-f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":qd8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qd8-f32-qc8w-gemm_arm64_standalone",
-+ ":qd8-f32-qc8w-igemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qd8-f32-qc8w-igemm_arm64_standalone",
-+ ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-+ ":qs8-dwconv_arm64_standalone",
-+ ":qs8-f16-vcvt_arch=armv8.2-a+fp16_standalone",
-+ ":qs8-f32-vcvt_arm64_standalone",
-+ ":qs8-packw_arch=armv8.2-a+dotprod_standalone",
-+ ":qs8-packw_arm64_standalone",
-+ ":qs8-qc2w-gemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qs8-qc2w-gemm_arm64_standalone",
-+ ":qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":qs8-qc4w-gemm_arm64_standalone",
-+ ":qs8-qc4w-packw_arm64_standalone",
-+ ":qs8-qc8w-dwconv_arm64_standalone",
-+ ":qs8-qc8w-gemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":qs8-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qs8-qc8w-gemm_arm64_standalone",
-+ ":qs8-qc8w-igemm_arch=armv8.2-a+dotprod_standalone",
-+ ":qs8-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":qs8-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone",
-+ ":qs8-qc8w-igemm_arm64_standalone",
-+ ":qs8-qu8-packw_arm64_standalone",
-+ ":qs8-rdsum_arm64_standalone",
-+ ":qs8-rsum_arch=armv8.2-a+dotprod_standalone",
-+ ":qs8-rsum_arm64_standalone",
-+ ":qs8-vadd_arm64_standalone",
-+ ":qs8-vaddc_arm64_standalone",
-+ ":qs8-vcvt_arm64_standalone",
-+ ":qs8-vlrelu_arm64_standalone",
-+ ":qs8-vmul_arm64_standalone",
-+ ":qs8-vmulc_arm64_standalone",
-+ ":qs8-vprelu_arm64_standalone",
-+ ":qs8-vpreluc_arm64_standalone",
-+ ":qs8-vrpreluc_arm64_standalone",
-+ ":qu8-dwconv_arm64_standalone",
-+ ":qu8-f32-vcvt_arm64_standalone",
-+ ":qu8-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":qu8-gemm_arm64_standalone",
-+ ":qu8-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-+ ":qu8-igemm_arm64_standalone",
-+ ":qu8-rdsum_arm64_standalone",
-+ ":qu8-rsum_arm64_standalone",
-+ ":qu8-vadd_arm64_standalone",
-+ ":qu8-vaddc_arm64_standalone",
-+ ":qu8-vcvt_arm64_standalone",
-+ ":qu8-vlrelu_arm64_standalone",
-+ ":qu8-vmul_arm64_standalone",
-+ ":qu8-vmulc_arm64_standalone",
-+ ":qu8-vprelu_arm64_standalone",
-+ ":qu8-vpreluc_arm64_standalone",
-+ ":qu8-vrpreluc_arm64_standalone",
-+ ":reference_arm64_standalone",
-+ ":s8-ibilinear_arm64_standalone",
-+ ":s8-maxpool_arm64_standalone",
-+ ":s8-rdminmax_arm64_standalone",
-+ ":s8-rminmax_arm64_standalone",
-+ ":s8-vclamp_arm64_standalone",
-+ ":subgraph_arm64_standalone",
-+ ":tables_arm64_standalone",
-+ ":u8-ibilinear_arm64_standalone",
-+ ":u8-lut32norm_arm64_standalone",
-+ ":u8-maxpool_arm64_standalone",
-+ ":u8-rdminmax_arm64_standalone",
-+ ":u8-rminmax_arm64_standalone",
-+ ":u8-vclamp_arm64_standalone",
-+ ":x16-pack-lh_arch=armv8.2-a+sve+sve2_standalone",
-+ ":x16-packw_arm64_standalone",
-+ ":x16-transposec_arm64_standalone",
-+ ":x16-x32-packw_arm64_standalone",
-+ ":x24-transposec_arm64_standalone",
-+ ":x32-pack-lh_arch=armv8.2-a+sve+sve2_standalone",
-+ ":x32-packw_arm64_standalone",
-+ ":x32-transposec_arm64_standalone",
-+ ":x32-unpool_arm64_standalone",
-+ ":x64-transposec_arm64_standalone",
-+ ":x8-lut_arm64_standalone",
-+ ":x8-pack-lh_arch=armv8.2-a+sve+sve2_standalone",
-+ ":x8-packq_arm64_standalone",
-+ ":x8-packw_arm64_standalone",
-+ ":x8-transposec_arm64_standalone",
-+ ":xx-copy_arm64_standalone",
-+ ":xx-fill_arm64_standalone",
-+ ":xx-pad_arm64_standalone",
-+ ":xx-transposev_arm64_standalone"
- ]
- }
--} else if (current_cpu == "arm64") {
-+} else
-+if (current_cpu == "riscv64") {
-+
- if (build_with_chromium) {
- xnnpack_deps = [
-- ":bf16-f32-vcvt_arm64",
-- ":bf16-qs8-vcvt_arm64",
-- ":bf16-qu8-vcvt_arm64",
-- ":bf16-rminmax_arm64",
-- ":bf16-vunary_arm64",
-- ":configs_arm64",
-- ":enums_arm64",
-- ":f16-avgpool_arch=armv8.2-a+fp16",
-- ":f16-avgpool_arm64",
-- ":f16-conv-hwc2chw_arch=armv8.2-a+fp16",
-- ":f16-dwconv2d-chw_arch=armv8.2-a+fp16",
-- ":f16-dwconv_arch=armv8.2-a+fp16",
-- ":f16-dwconv_arm64",
-- ":f16-f32-vcvt_arm64",
-- ":f16-f32acc-rdsum2_arch=armv8.2-a+fp16",
-- ":f16-f32acc-rdsum_arch=armv8.2-a+fp16",
-- ":f16-f32acc-rsum2_arch=armv8.2-a+fp16",
-- ":f16-f32acc-rsum_arch=armv8.2-a+fp16",
-- ":f16-gemm_arch=armv8.2-a+fp16",
-- ":f16-gemm_arch=armv8.2-a+fp16+dotprod",
-- ":f16-ibilinear-chw_arch=armv8.2-a+fp16",
-- ":f16-ibilinear_arch=armv8.2-a+fp16",
-- ":f16-igemm_arch=armv8.2-a+fp16",
-- ":f16-igemm_arch=armv8.2-a+fp16+dotprod",
-- ":f16-maxpool_arch=armv8.2-a+fp16",
-- ":f16-qs8-vcvt_arch=armv8.2-a+fp16",
-- ":f16-qs8-vcvt_arm64",
-- ":f16-qu8-vcvt_arm64",
-- ":f16-raddstoreexpminusmax_arch=armv8.2-a+fp16",
-- ":f16-rdminmax_arch=armv8.2-a+fp16",
-- ":f16-rdminmax_arm64",
-- ":f16-rminmax_arch=armv8.2-a+fp16",
-- ":f16-rminmax_arm64",
-- ":f16-spmm_arch=armv8.2-a+fp16",
-- ":f16-vapproxgelu_arch=armv8.2-a+fp16",
-- ":f16-vapproxgelu_arm64",
-- ":f16-vbinary_arch=armv8.2-a+fp16",
-- ":f16-vclamp_arch=armv8.2-a+fp16",
-- ":f16-vcmul_arch=armv8.2-a+fp16",
-- ":f16-vcos_arch=armv8.2-a+fp16",
-- ":f16-vcos_arm64",
-- ":f16-velu_arch=armv8.2-a+fp16",
-- ":f16-vexp_arch=armv8.2-a+fp16",
-- ":f16-vexp_arm64",
-- ":f16-vgelu_arch=armv8.2-a+fp16",
-- ":f16-vgelu_arm64",
-- ":f16-vhswish_arch=armv8.2-a+fp16",
-- ":f16-vlog_arch=armv8.2-a+fp16",
-- ":f16-vlog_arm64",
-- ":f16-vlrelu_arch=armv8.2-a+fp16",
-- ":f16-vmulcaddc_arch=armv8.2-a+fp16",
-- ":f16-vrnd_arch=armv8.2-a+fp16",
-- ":f16-vrsqrt_arch=armv8.2-a+fp16",
-- ":f16-vsigmoid_arch=armv8.2-a+fp16",
-- ":f16-vsin_arch=armv8.2-a+fp16",
-- ":f16-vsin_arm64",
-- ":f16-vsqrt_arch=armv8.2-a+fp16",
-- ":f16-vsqrt_arm64",
-- ":f16-vtanh_arch=armv8.2-a+fp16",
-- ":f16-vtanh_arm64",
-- ":f16-vunary_arch=armv8.2-a+fp16",
-- ":f32-argmaxpool_arm64",
-- ":f32-avgpool_arm64",
-- ":f32-bf16-vcvt_arch=armv8.2-a+bf16",
-- ":f32-bf16-vcvt_arm64",
-- ":f32-conv-hwc2chw_arm64",
-- ":f32-dwconv2d-chw_arm64",
-- ":f32-dwconv_arch=armv8.2-a+fp16+dotprod",
-- ":f32-dwconv_arm64",
-- ":f32-f16-vcvt_arm64",
-- ":f32-gemm_arch=armv8.2-a+fp16+dotprod",
-- ":f32-gemm_arm64",
-- ":f32-ibilinear-chw_arm64",
-- ":f32-ibilinear_arm64",
-- ":f32-igemm_arch=armv8.2-a+fp16+dotprod",
-- ":f32-igemm_arm64",
-- ":f32-maxpool_arm64",
-- ":f32-qc4w-gemm_arm64",
-- ":f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod",
-- ":f32-qc8w-gemm_arm64",
-- ":f32-qs8-vcvt_arm64",
-- ":f32-qu8-vcvt_arm64",
-- ":f32-raddstoreexpminusmax_arm64",
-- ":f32-rdminmax_arm64",
-- ":f32-rdsum2_arm64",
-- ":f32-rdsum_arm64",
-- ":f32-rminmax_arm64",
-- ":f32-rsum2_arm64",
-- ":f32-rsum_arm64",
-- ":f32-spmm_arm64",
-- ":f32-vapproxgelu_arm64",
-- ":f32-vbinary_arm64",
-- ":f32-vclamp_arm64",
-- ":f32-vcmul_arm64",
-- ":f32-vcopysign_arm64",
-- ":f32-vcos_arm64",
-- ":f32-velu_arm64",
-- ":f32-vexp_arm64",
-- ":f32-vgelu_arm64",
-- ":f32-vhswish_arm64",
-- ":f32-vlog_arm64",
-- ":f32-vlrelu_arm64",
-- ":f32-vmulcaddc_arm64",
-- ":f32-vrnd_arm64",
-- ":f32-vrsqrt_arm64",
-- ":f32-vsigmoid_arm64",
-- ":f32-vsin_arm64",
-- ":f32-vsqrt_arm64",
-- ":f32-vtanh_arm64",
-- ":f32-vunary_arm64",
-- ":operators_arm64",
-- ":pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2",
-- ":pf16-gemm_arch=armv8.2-a+sve+sve2",
-- ":pf32-gemm_arch=armv8.2-a+sve+sve2",
-- ":pf32-igemm_arch=armv8.2-a+sve+sve2",
-- ":pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2",
-- ":pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2",
-- ":pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2",
-- ":qb4-packw_arch=armv8.2-a+dotprod",
-- ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod",
-- ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16+bf16",
-- ":qd8-bf16-qb4w-gemm_arm64",
-- ":qd8-f16-qb4w-gemm_arch=armv8.2-a+dotprod+fp16",
-- ":qd8-f16-qb4w-gemm_arch=armv8.2-a+fp16",
-- ":qd8-f16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16",
-- ":qd8-f16-qc2w-gemm_arch=armv8.2-a+dotprod+fp16",
-- ":qd8-f16-qc2w-gemm_arm64",
-- ":qd8-f16-qc4w-gemm_arch=armv8.2-a+dotprod+fp16",
-- ":qd8-f16-qc4w-gemm_arch=armv8.2-a+fp16",
-- ":qd8-f16-qc4w-gemm_arch=armv8.2-a+i8mm+fp16",
-- ":qd8-f16-qc8w-gemm_arch=armv8.2-a+dotprod+fp16",
-- ":qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16",
-- ":qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16+dotprod",
-- ":qd8-f16-qc8w-gemm_arch=armv8.2-a+i8mm+fp16",
-- ":qd8-f16-qc8w-igemm_arch=armv8.2-a+dotprod+fp16",
-- ":qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16",
-- ":qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16+dotprod",
-- ":qd8-f16-qc8w-igemm_arch=armv8.2-a+i8mm+fp16",
-- ":qd8-f32-qb4w-gemm_arch=armv8.2-a+dotprod",
-- ":qd8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16",
-- ":qd8-f32-qb4w-gemm_arm64",
-- ":qd8-f32-qc2w-gemm_arch=armv8.2-a+dotprod",
-- ":qd8-f32-qc2w-gemm_arm64",
-- ":qd8-f32-qc4w-gemm_arch=armv8.2-a+dotprod",
-- ":qd8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16",
-- ":qd8-f32-qc4w-gemm_arm64",
-- ":qd8-f32-qc8w-gemm_arch=armv8.2-a+dotprod",
-- ":qd8-f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod",
-- ":qd8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16",
-- ":qd8-f32-qc8w-gemm_arm64",
-- ":qd8-f32-qc8w-igemm_arch=armv8.2-a+dotprod",
-- ":qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod",
-- ":qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16",
-- ":qd8-f32-qc8w-igemm_arm64",
-- ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2",
-- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod",
-- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16",
-- ":qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2",
-- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod",
-- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16",
-- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2",
-- ":qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod",
-- ":qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16",
-- ":qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2",
-- ":qs8-dwconv_arm64",
-- ":qs8-f16-vcvt_arch=armv8.2-a+fp16",
-- ":qs8-f32-vcvt_arm64",
-- ":qs8-packw_arch=armv8.2-a+dotprod",
-- ":qs8-packw_arm64",
-- ":qs8-qc2w-gemm_arch=armv8.2-a+dotprod",
-- ":qs8-qc2w-gemm_arm64",
-- ":qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod",
-- ":qs8-qc4w-gemm_arm64",
-- ":qs8-qc4w-packw_arm64",
-- ":qs8-qc8w-dwconv_arm64",
-- ":qs8-qc8w-gemm_arch=armv8.2-a+dotprod",
-- ":qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod",
-- ":qs8-qc8w-gemm_arch=armv8.2-a+i8mm+fp16",
-- ":qs8-qc8w-gemm_arm64",
-- ":qs8-qc8w-igemm_arch=armv8.2-a+dotprod",
-- ":qs8-qc8w-igemm_arch=armv8.2-a+fp16+dotprod",
-- ":qs8-qc8w-igemm_arch=armv8.2-a+i8mm+fp16",
-- ":qs8-qc8w-igemm_arm64",
-- ":qs8-qu8-packw_arm64",
-- ":qs8-rdsum_arm64",
-- ":qs8-rsum_arch=armv8.2-a+dotprod",
-- ":qs8-rsum_arm64",
-- ":qs8-vadd_arm64",
-- ":qs8-vaddc_arm64",
-- ":qs8-vcvt_arm64",
-- ":qs8-vlrelu_arm64",
-- ":qs8-vmul_arm64",
-- ":qs8-vmulc_arm64",
-- ":qs8-vprelu_arm64",
-- ":qs8-vpreluc_arm64",
-- ":qs8-vrpreluc_arm64",
-- ":qu8-dwconv_arm64",
-- ":qu8-f32-vcvt_arm64",
-- ":qu8-gemm_arch=armv8.2-a+fp16+dotprod",
-- ":qu8-gemm_arm64",
-- ":qu8-igemm_arch=armv8.2-a+fp16+dotprod",
-- ":qu8-igemm_arm64",
-- ":qu8-rdsum_arm64",
-- ":qu8-rsum_arm64",
-- ":qu8-vadd_arm64",
-- ":qu8-vaddc_arm64",
-- ":qu8-vcvt_arm64",
-- ":qu8-vlrelu_arm64",
-- ":qu8-vmul_arm64",
-- ":qu8-vmulc_arm64",
-- ":qu8-vprelu_arm64",
-- ":qu8-vpreluc_arm64",
-- ":qu8-vrpreluc_arm64",
-- ":reference_arm64",
-- ":s8-ibilinear_arm64",
-- ":s8-maxpool_arm64",
-- ":s8-rdminmax_arm64",
-- ":s8-rminmax_arm64",
-- ":s8-vclamp_arm64",
-- ":subgraph_arm64",
-- ":tables_arm64",
-- ":u8-ibilinear_arm64",
-- ":u8-lut32norm_arm64",
-- ":u8-maxpool_arm64",
-- ":u8-rdminmax_arm64",
-- ":u8-rminmax_arm64",
-- ":u8-vclamp_arm64",
-- ":x16-pack-lh_arch=armv8.2-a+sve+sve2",
-- ":x16-packw_arm64",
-- ":x16-transposec_arm64",
-- ":x16-x32-packw_arm64",
-- ":x24-transposec_arm64",
-- ":x32-pack-lh_arch=armv8.2-a+sve+sve2",
-- ":x32-packw_arm64",
-- ":x32-transposec_arm64",
-- ":x32-unpool_arm64",
-- ":x64-transposec_arm64",
-- ":x8-lut_arm64",
-- ":x8-pack-lh_arch=armv8.2-a+sve+sve2",
-- ":x8-packq_arm64",
-- ":x8-packw_arm64",
-- ":x8-transposec_arm64",
-- ":xx-copy_arm64",
-- ":xx-fill_arm64",
-- ":xx-pad_arm64",
-- ":xx-transposev_arm64",
-+ ":bf16-f32-vcvt_riscv64",
-+ ":bf16-qs8-vcvt_riscv64",
-+ ":bf16-qu8-vcvt_riscv64",
-+ ":bf16-rminmax_riscv64",
-+ ":bf16-vunary_riscv64",
-+ ":configs_riscv64",
-+ ":enums_riscv64",
-+ ":f16-avgpool_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-avgpool_riscv64",
-+ ":f16-dwconv_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-dwconv_riscv64",
-+ ":f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-f32-vcvt_riscv64",
-+ ":f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-gemm_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-igemm_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-maxpool_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-qs8-vcvt_riscv64",
-+ ":f16-qu8-vcvt_riscv64",
-+ ":f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-rdminmax_riscv64",
-+ ":f16-rminmax_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-rminmax_riscv64",
-+ ":f16-spmm_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vapproxgelu_riscv64",
-+ ":f16-vbinary_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vclamp_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vcmul_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vcos_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vcos_riscv64",
-+ ":f16-velu_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vexp_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vexp_riscv64",
-+ ":f16-vgelu_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vgelu_riscv64",
-+ ":f16-vhswish_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vlog_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vlog_riscv64",
-+ ":f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vrnd_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vsin_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vsin_riscv64",
-+ ":f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vsqrt_riscv64",
-+ ":f16-vtanh_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f16-vtanh_riscv64",
-+ ":f16-vunary_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f32-argmaxpool_arch=rv64gcv-abi=lp64d",
-+ ":f32-argmaxpool_riscv64",
-+ ":f32-avgpool_arch=rv64gcv-abi=lp64d",
-+ ":f32-avgpool_riscv64",
-+ ":f32-bf16-vcvt_riscv64",
-+ ":f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d",
-+ ":f32-conv-hwc2chw_riscv64",
-+ ":f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d",
-+ ":f32-dwconv2d-chw_riscv64",
-+ ":f32-dwconv_arch=rv64gcv-abi=lp64d",
-+ ":f32-dwconv_riscv64",
-+ ":f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d",
-+ ":f32-f16-vcvt_riscv64",
-+ ":f32-gemm_arch=rv64gcv-abi=lp64d",
-+ ":f32-gemm_riscv64",
-+ ":f32-ibilinear-chw_riscv64",
-+ ":f32-ibilinear_arch=rv64gcv-abi=lp64d",
-+ ":f32-ibilinear_riscv64",
-+ ":f32-igemm_arch=rv64gcv-abi=lp64d",
-+ ":f32-igemm_riscv64",
-+ ":f32-maxpool_arch=rv64gcv-abi=lp64d",
-+ ":f32-maxpool_riscv64",
-+ ":f32-qc4w-gemm_riscv64",
-+ ":f32-qc8w-gemm_riscv64",
-+ ":f32-qs8-vcvt_arch=rv64gcv-abi=lp64d",
-+ ":f32-qs8-vcvt_riscv64",
-+ ":f32-qu8-vcvt_arch=rv64gcv-abi=lp64d",
-+ ":f32-qu8-vcvt_riscv64",
-+ ":f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d",
-+ ":f32-raddstoreexpminusmax_riscv64",
-+ ":f32-rdminmax_arch=rv64gcv-abi=lp64d",
-+ ":f32-rdminmax_riscv64",
-+ ":f32-rdsum2_arch=rv64gcv-abi=lp64d",
-+ ":f32-rdsum2_riscv64",
-+ ":f32-rdsum_arch=rv64gcv-abi=lp64d",
-+ ":f32-rdsum_riscv64",
-+ ":f32-rminmax_arch=rv64gcv-abi=lp64d",
-+ ":f32-rminmax_riscv64",
-+ ":f32-rsum2_arch=rv64gcv-abi=lp64d",
-+ ":f32-rsum2_riscv64",
-+ ":f32-rsum_arch=rv64gcv-abi=lp64d",
-+ ":f32-rsum_riscv64",
-+ ":f32-spmm_arch=rv64gcv-abi=lp64d",
-+ ":f32-spmm_riscv64",
-+ ":f32-vapproxgelu_arch=rv64gcv-abi=lp64d",
-+ ":f32-vapproxgelu_riscv64",
-+ ":f32-vbinary_arch=rv64gcv-abi=lp64d",
-+ ":f32-vbinary_riscv64",
-+ ":f32-vclamp_arch=rv64gcv-abi=lp64d",
-+ ":f32-vclamp_riscv64",
-+ ":f32-vcmul_arch=rv64gcv-abi=lp64d",
-+ ":f32-vcmul_riscv64",
-+ ":f32-vcopysign_arch=rv64gcv-abi=lp64d",
-+ ":f32-vcopysign_riscv64",
-+ ":f32-vcos_arch=rv64gcv-abi=lp64d",
-+ ":f32-vcos_riscv64",
-+ ":f32-velu_arch=rv64gcv-abi=lp64d",
-+ ":f32-velu_riscv64",
-+ ":f32-vexp_arch=rv64gcv-abi=lp64d",
-+ ":f32-vexp_riscv64",
-+ ":f32-vgelu_arch=rv64gcv-abi=lp64d",
-+ ":f32-vgelu_riscv64",
-+ ":f32-vhswish_arch=rv64gcv-abi=lp64d",
-+ ":f32-vhswish_riscv64",
-+ ":f32-vlog_arch=rv64gcv-abi=lp64d",
-+ ":f32-vlog_riscv64",
-+ ":f32-vlrelu_arch=rv64gcv-abi=lp64d",
-+ ":f32-vlrelu_riscv64",
-+ ":f32-vmulcaddc_arch=rv64gcv-abi=lp64d",
-+ ":f32-vmulcaddc_riscv64",
-+ ":f32-vrnd_arch=rv64gcv-abi=lp64d",
-+ ":f32-vrnd_riscv64",
-+ ":f32-vrsqrt_arch=rv64gcv-abi=lp64d",
-+ ":f32-vrsqrt_riscv64",
-+ ":f32-vsigmoid_arch=rv64gcv-abi=lp64d",
-+ ":f32-vsigmoid_riscv64",
-+ ":f32-vsin_arch=rv64gcv-abi=lp64d",
-+ ":f32-vsin_riscv64",
-+ ":f32-vsqrt_arch=rv64gcv-abi=lp64d",
-+ ":f32-vsqrt_riscv64",
-+ ":f32-vtanh_arch=rv64gcv-abi=lp64d",
-+ ":f32-vtanh_riscv64",
-+ ":f32-vunary_arch=rv64gcv-abi=lp64d",
-+ ":f32-vunary_riscv64",
-+ ":operators_riscv64",
-+ ":qd8-bf16-qb4w-gemm_riscv64",
-+ ":qd8-f16-qc2w-gemm_riscv64",
-+ ":qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d",
-+ ":qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d",
-+ ":qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d",
-+ ":qd8-f32-qb4w-gemm_riscv64",
-+ ":qd8-f32-qc2w-gemm_riscv64",
-+ ":qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d",
-+ ":qd8-f32-qc4w-gemm_riscv64",
-+ ":qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d",
-+ ":qd8-f32-qc8w-gemm_riscv64",
-+ ":qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d",
-+ ":qd8-f32-qc8w-igemm_riscv64",
-+ ":qs8-dwconv_arch=rv64gcv-abi=lp64d",
-+ ":qs8-dwconv_riscv64",
-+ ":qs8-f32-vcvt_arch=rv64gcv-abi=lp64d",
-+ ":qs8-f32-vcvt_riscv64",
-+ ":qs8-packw_riscv64",
-+ ":qs8-qc2w-gemm_riscv64",
-+ ":qs8-qc4w-gemm_riscv64",
-+ ":qs8-qc4w-packw_riscv64",
-+ ":qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d",
-+ ":qs8-qc8w-dwconv_riscv64",
-+ ":qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d",
-+ ":qs8-qc8w-gemm_riscv64",
-+ ":qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d",
-+ ":qs8-qc8w-igemm_riscv64",
-+ ":qs8-qu8-packw_riscv64",
-+ ":qs8-rdsum_arch=rv64gcv-abi=lp64d",
-+ ":qs8-rdsum_riscv64",
-+ ":qs8-rsum_arch=rv64gcv-abi=lp64d",
-+ ":qs8-rsum_riscv64",
-+ ":qs8-vadd_arch=rv64gcv-abi=lp64d",
-+ ":qs8-vadd_riscv64",
-+ ":qs8-vaddc_arch=rv64gcv-abi=lp64d",
-+ ":qs8-vaddc_riscv64",
-+ ":qs8-vcvt_arch=rv64gcv-abi=lp64d",
-+ ":qs8-vcvt_riscv64",
-+ ":qs8-vlrelu_arch=rv64gcv-abi=lp64d",
-+ ":qs8-vlrelu_riscv64",
-+ ":qs8-vmul_arch=rv64gcv-abi=lp64d",
-+ ":qs8-vmul_riscv64",
-+ ":qs8-vmulc_arch=rv64gcv-abi=lp64d",
-+ ":qs8-vmulc_riscv64",
-+ ":qs8-vprelu_riscv64",
-+ ":qs8-vpreluc_riscv64",
-+ ":qs8-vrpreluc_riscv64",
-+ ":qu8-dwconv_arch=rv64gcv-abi=lp64d",
-+ ":qu8-dwconv_riscv64",
-+ ":qu8-f32-vcvt_arch=rv64gcv-abi=lp64d",
-+ ":qu8-f32-vcvt_riscv64",
-+ ":qu8-gemm_arch=rv64gcv-abi=lp64d",
-+ ":qu8-gemm_riscv64",
-+ ":qu8-igemm_arch=rv64gcv-abi=lp64d",
-+ ":qu8-igemm_riscv64",
-+ ":qu8-rdsum_arch=rv64gcv-abi=lp64d",
-+ ":qu8-rdsum_riscv64",
-+ ":qu8-rsum_arch=rv64gcv-abi=lp64d",
-+ ":qu8-rsum_riscv64",
-+ ":qu8-vadd_arch=rv64gcv-abi=lp64d",
-+ ":qu8-vadd_riscv64",
-+ ":qu8-vaddc_arch=rv64gcv-abi=lp64d",
-+ ":qu8-vaddc_riscv64",
-+ ":qu8-vcvt_arch=rv64gcv-abi=lp64d",
-+ ":qu8-vcvt_riscv64",
-+ ":qu8-vlrelu_arch=rv64gcv-abi=lp64d",
-+ ":qu8-vlrelu_riscv64",
-+ ":qu8-vmul_arch=rv64gcv-abi=lp64d",
-+ ":qu8-vmul_riscv64",
-+ ":qu8-vmulc_arch=rv64gcv-abi=lp64d",
-+ ":qu8-vmulc_riscv64",
-+ ":qu8-vprelu_arch=rv64gcv-abi=lp64d",
-+ ":qu8-vprelu_riscv64",
-+ ":qu8-vpreluc_arch=rv64gcv-abi=lp64d",
-+ ":qu8-vpreluc_riscv64",
-+ ":qu8-vrpreluc_arch=rv64gcv-abi=lp64d",
-+ ":qu8-vrpreluc_riscv64",
-+ ":reference_riscv64",
-+ ":s8-ibilinear_riscv64",
-+ ":s8-maxpool_arch=rv64gcv-abi=lp64d",
-+ ":s8-maxpool_riscv64",
-+ ":s8-rdminmax_arch=rv64gcv-abi=lp64d",
-+ ":s8-rdminmax_riscv64",
-+ ":s8-rminmax_arch=rv64gcv-abi=lp64d",
-+ ":s8-rminmax_riscv64",
-+ ":s8-vclamp_arch=rv64gcv-abi=lp64d",
-+ ":s8-vclamp_riscv64",
-+ ":subgraph_riscv64",
-+ ":tables_riscv64",
-+ ":u8-ibilinear_riscv64",
-+ ":u8-lut32norm_riscv64",
-+ ":u8-maxpool_arch=rv64gcv-abi=lp64d",
-+ ":u8-maxpool_riscv64",
-+ ":u8-rdminmax_arch=rv64gcv-abi=lp64d",
-+ ":u8-rdminmax_riscv64",
-+ ":u8-rminmax_arch=rv64gcv-abi=lp64d",
-+ ":u8-rminmax_riscv64",
-+ ":u8-vclamp_arch=rv64gcv-abi=lp64d",
-+ ":u8-vclamp_riscv64",
-+ ":x16-packw_riscv64",
-+ ":x16-transposec_riscv64",
-+ ":x16-x32-packw_riscv64",
-+ ":x24-transposec_riscv64",
-+ ":x32-packw_arch=rv64gcv-abi=lp64d",
-+ ":x32-packw_riscv64",
-+ ":x32-transposec_arch=rv64gcv-abi=lp64d",
-+ ":x32-transposec_riscv64",
-+ ":x32-unpool_riscv64",
-+ ":x64-transposec_riscv64",
-+ ":x8-lut_riscv64",
-+ ":x8-packq_riscv64",
-+ ":x8-packw_riscv64",
-+ ":x8-transposec_riscv64",
-+ ":xx-copy_riscv64",
-+ ":xx-fill_riscv64",
-+ ":xx-pad_riscv64",
-+ ":xx-transposev_riscv64"
- ]
- }
+@@ -70177,6 +70469,8203 @@ if (current_cpu == "riscv64") {
+ cflags = []
- if (build_with_internal_optimization_guide) {
- xnnpack_standalone_deps = [
-- ":bf16-f32-vcvt_arm64_standalone",
-- ":bf16-qs8-vcvt_arm64_standalone",
-- ":bf16-qu8-vcvt_arm64_standalone",
-- ":bf16-rminmax_arm64_standalone",
-- ":bf16-vunary_arm64_standalone",
-- ":configs_arm64_standalone",
-- ":enums_arm64_standalone",
-- ":f16-avgpool_arch=armv8.2-a+fp16_standalone",
-- ":f16-avgpool_arm64_standalone",
-- ":f16-conv-hwc2chw_arch=armv8.2-a+fp16_standalone",
-- ":f16-dwconv2d-chw_arch=armv8.2-a+fp16_standalone",
-- ":f16-dwconv_arch=armv8.2-a+fp16_standalone",
-- ":f16-dwconv_arm64_standalone",
-- ":f16-f32-vcvt_arm64_standalone",
-- ":f16-f32acc-rdsum2_arch=armv8.2-a+fp16_standalone",
-- ":f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone",
-- ":f16-f32acc-rsum2_arch=armv8.2-a+fp16_standalone",
-- ":f16-f32acc-rsum_arch=armv8.2-a+fp16_standalone",
-- ":f16-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":f16-gemm_arch=armv8.2-a+fp16_standalone",
-- ":f16-ibilinear-chw_arch=armv8.2-a+fp16_standalone",
-- ":f16-ibilinear_arch=armv8.2-a+fp16_standalone",
-- ":f16-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":f16-igemm_arch=armv8.2-a+fp16_standalone",
-- ":f16-maxpool_arch=armv8.2-a+fp16_standalone",
-- ":f16-qs8-vcvt_arch=armv8.2-a+fp16_standalone",
-- ":f16-qs8-vcvt_arm64_standalone",
-- ":f16-qu8-vcvt_arm64_standalone",
-- ":f16-raddstoreexpminusmax_arch=armv8.2-a+fp16_standalone",
-- ":f16-rdminmax_arch=armv8.2-a+fp16_standalone",
-- ":f16-rdminmax_arm64_standalone",
-- ":f16-rminmax_arch=armv8.2-a+fp16_standalone",
-- ":f16-rminmax_arm64_standalone",
-- ":f16-spmm_arch=armv8.2-a+fp16_standalone",
-- ":f16-vapproxgelu_arch=armv8.2-a+fp16_standalone",
-- ":f16-vapproxgelu_arm64_standalone",
-- ":f16-vbinary_arch=armv8.2-a+fp16_standalone",
-- ":f16-vclamp_arch=armv8.2-a+fp16_standalone",
-- ":f16-vcmul_arch=armv8.2-a+fp16_standalone",
-- ":f16-vcos_arch=armv8.2-a+fp16_standalone",
-- ":f16-vcos_arm64_standalone",
-- ":f16-velu_arch=armv8.2-a+fp16_standalone",
-- ":f16-vexp_arch=armv8.2-a+fp16_standalone",
-- ":f16-vexp_arm64_standalone",
-- ":f16-vgelu_arch=armv8.2-a+fp16_standalone",
-- ":f16-vgelu_arm64_standalone",
-- ":f16-vhswish_arch=armv8.2-a+fp16_standalone",
-- ":f16-vlog_arch=armv8.2-a+fp16_standalone",
-- ":f16-vlog_arm64_standalone",
-- ":f16-vlrelu_arch=armv8.2-a+fp16_standalone",
-- ":f16-vmulcaddc_arch=armv8.2-a+fp16_standalone",
-- ":f16-vrnd_arch=armv8.2-a+fp16_standalone",
-- ":f16-vrsqrt_arch=armv8.2-a+fp16_standalone",
-- ":f16-vsigmoid_arch=armv8.2-a+fp16_standalone",
-- ":f16-vsin_arch=armv8.2-a+fp16_standalone",
-- ":f16-vsin_arm64_standalone",
-- ":f16-vsqrt_arch=armv8.2-a+fp16_standalone",
-- ":f16-vsqrt_arm64_standalone",
-- ":f16-vtanh_arch=armv8.2-a+fp16_standalone",
-- ":f16-vtanh_arm64_standalone",
-- ":f16-vunary_arch=armv8.2-a+fp16_standalone",
-- ":f32-argmaxpool_arm64_standalone",
-- ":f32-avgpool_arm64_standalone",
-- ":f32-bf16-vcvt_arch=armv8.2-a+bf16_standalone",
-- ":f32-bf16-vcvt_arm64_standalone",
-- ":f32-conv-hwc2chw_arm64_standalone",
-- ":f32-dwconv2d-chw_arm64_standalone",
-- ":f32-dwconv_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":f32-dwconv_arm64_standalone",
-- ":f32-f16-vcvt_arm64_standalone",
-- ":f32-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":f32-gemm_arm64_standalone",
-- ":f32-ibilinear-chw_arm64_standalone",
-- ":f32-ibilinear_arm64_standalone",
-- ":f32-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":f32-igemm_arm64_standalone",
-- ":f32-maxpool_arm64_standalone",
-- ":f32-qc4w-gemm_arm64_standalone",
-- ":f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":f32-qc8w-gemm_arm64_standalone",
-- ":f32-qs8-vcvt_arm64_standalone",
-- ":f32-qu8-vcvt_arm64_standalone",
-- ":f32-raddstoreexpminusmax_arm64_standalone",
-- ":f32-rdminmax_arm64_standalone",
-- ":f32-rdsum2_arm64_standalone",
-- ":f32-rdsum_arm64_standalone",
-- ":f32-rminmax_arm64_standalone",
-- ":f32-rsum2_arm64_standalone",
-- ":f32-rsum_arm64_standalone",
-- ":f32-spmm_arm64_standalone",
-- ":f32-vapproxgelu_arm64_standalone",
-- ":f32-vbinary_arm64_standalone",
-- ":f32-vclamp_arm64_standalone",
-- ":f32-vcmul_arm64_standalone",
-- ":f32-vcopysign_arm64_standalone",
-- ":f32-vcos_arm64_standalone",
-- ":f32-velu_arm64_standalone",
-- ":f32-vexp_arm64_standalone",
-- ":f32-vgelu_arm64_standalone",
-- ":f32-vhswish_arm64_standalone",
-- ":f32-vlog_arm64_standalone",
-- ":f32-vlrelu_arm64_standalone",
-- ":f32-vmulcaddc_arm64_standalone",
-- ":f32-vrnd_arm64_standalone",
-- ":f32-vrsqrt_arm64_standalone",
-- ":f32-vsigmoid_arm64_standalone",
-- ":f32-vsin_arm64_standalone",
-- ":f32-vsqrt_arm64_standalone",
-- ":f32-vtanh_arm64_standalone",
-- ":f32-vunary_arm64_standalone",
-- ":operators_arm64_standalone",
-- ":pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":pf16-gemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":pf32-gemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":pf32-igemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":qb4-packw_arch=armv8.2-a+dotprod_standalone",
-- ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
-- ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16+bf16_standalone",
-- ":qd8-bf16-qb4w-gemm_arm64_standalone",
-- ":qd8-f16-qb4w-gemm_arch=armv8.2-a+dotprod+fp16_standalone",
-- ":qd8-f16-qb4w-gemm_arch=armv8.2-a+fp16_standalone",
-- ":qd8-f16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qd8-f16-qc2w-gemm_arch=armv8.2-a+dotprod+fp16_standalone",
-- ":qd8-f16-qc2w-gemm_arm64_standalone",
-- ":qd8-f16-qc4w-gemm_arch=armv8.2-a+dotprod+fp16_standalone",
-- ":qd8-f16-qc4w-gemm_arch=armv8.2-a+fp16_standalone",
-- ":qd8-f16-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qd8-f16-qc8w-gemm_arch=armv8.2-a+dotprod+fp16_standalone",
-- ":qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16_standalone",
-- ":qd8-f16-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qd8-f16-qc8w-igemm_arch=armv8.2-a+dotprod+fp16_standalone",
-- ":qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16_standalone",
-- ":qd8-f16-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qd8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
-- ":qd8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qd8-f32-qb4w-gemm_arm64_standalone",
-- ":qd8-f32-qc2w-gemm_arch=armv8.2-a+dotprod_standalone",
-- ":qd8-f32-qc2w-gemm_arm64_standalone",
-- ":qd8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone",
-- ":qd8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qd8-f32-qc4w-gemm_arm64_standalone",
-- ":qd8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone",
-- ":qd8-f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":qd8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qd8-f32-qc8w-gemm_arm64_standalone",
-- ":qd8-f32-qc8w-igemm_arch=armv8.2-a+dotprod_standalone",
-- ":qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qd8-f32-qc8w-igemm_arm64_standalone",
-- ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
-- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone",
-- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone",
-- ":qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
-- ":qs8-dwconv_arm64_standalone",
-- ":qs8-f16-vcvt_arch=armv8.2-a+fp16_standalone",
-- ":qs8-f32-vcvt_arm64_standalone",
-- ":qs8-packw_arch=armv8.2-a+dotprod_standalone",
-- ":qs8-packw_arm64_standalone",
-- ":qs8-qc2w-gemm_arch=armv8.2-a+dotprod_standalone",
-- ":qs8-qc2w-gemm_arm64_standalone",
-- ":qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":qs8-qc4w-gemm_arm64_standalone",
-- ":qs8-qc4w-packw_arm64_standalone",
-- ":qs8-qc8w-dwconv_arm64_standalone",
-- ":qs8-qc8w-gemm_arch=armv8.2-a+dotprod_standalone",
-- ":qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":qs8-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qs8-qc8w-gemm_arm64_standalone",
-- ":qs8-qc8w-igemm_arch=armv8.2-a+dotprod_standalone",
-- ":qs8-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":qs8-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone",
-- ":qs8-qc8w-igemm_arm64_standalone",
-- ":qs8-qu8-packw_arm64_standalone",
-- ":qs8-rdsum_arm64_standalone",
-- ":qs8-rsum_arch=armv8.2-a+dotprod_standalone",
-- ":qs8-rsum_arm64_standalone",
-- ":qs8-vadd_arm64_standalone",
-- ":qs8-vaddc_arm64_standalone",
-- ":qs8-vcvt_arm64_standalone",
-- ":qs8-vlrelu_arm64_standalone",
-- ":qs8-vmul_arm64_standalone",
-- ":qs8-vmulc_arm64_standalone",
-- ":qs8-vprelu_arm64_standalone",
-- ":qs8-vpreluc_arm64_standalone",
-- ":qs8-vrpreluc_arm64_standalone",
-- ":qu8-dwconv_arm64_standalone",
-- ":qu8-f32-vcvt_arm64_standalone",
-- ":qu8-gemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":qu8-gemm_arm64_standalone",
-- ":qu8-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
-- ":qu8-igemm_arm64_standalone",
-- ":qu8-rdsum_arm64_standalone",
-- ":qu8-rsum_arm64_standalone",
-- ":qu8-vadd_arm64_standalone",
-- ":qu8-vaddc_arm64_standalone",
-- ":qu8-vcvt_arm64_standalone",
-- ":qu8-vlrelu_arm64_standalone",
-- ":qu8-vmul_arm64_standalone",
-- ":qu8-vmulc_arm64_standalone",
-- ":qu8-vprelu_arm64_standalone",
-- ":qu8-vpreluc_arm64_standalone",
-- ":qu8-vrpreluc_arm64_standalone",
-- ":reference_arm64_standalone",
-- ":s8-ibilinear_arm64_standalone",
-- ":s8-maxpool_arm64_standalone",
-- ":s8-rdminmax_arm64_standalone",
-- ":s8-rminmax_arm64_standalone",
-- ":s8-vclamp_arm64_standalone",
-- ":subgraph_arm64_standalone",
-- ":tables_arm64_standalone",
-- ":u8-ibilinear_arm64_standalone",
-- ":u8-lut32norm_arm64_standalone",
-- ":u8-maxpool_arm64_standalone",
-- ":u8-rdminmax_arm64_standalone",
-- ":u8-rminmax_arm64_standalone",
-- ":u8-vclamp_arm64_standalone",
-- ":x16-pack-lh_arch=armv8.2-a+sve+sve2_standalone",
-- ":x16-packw_arm64_standalone",
-- ":x16-transposec_arm64_standalone",
-- ":x16-x32-packw_arm64_standalone",
-- ":x24-transposec_arm64_standalone",
-- ":x32-pack-lh_arch=armv8.2-a+sve+sve2_standalone",
-- ":x32-packw_arm64_standalone",
-- ":x32-transposec_arm64_standalone",
-- ":x32-unpool_arm64_standalone",
-- ":x64-transposec_arm64_standalone",
-- ":x8-lut_arm64_standalone",
-- ":x8-pack-lh_arch=armv8.2-a+sve+sve2_standalone",
-- ":x8-packq_arm64_standalone",
-- ":x8-packw_arm64_standalone",
-- ":x8-transposec_arm64_standalone",
-- ":xx-copy_arm64_standalone",
-- ":xx-fill_arm64_standalone",
-- ":xx-pad_arm64_standalone",
-- ":xx-transposev_arm64_standalone",
-+ ":bf16-f32-vcvt_riscv64_standalone",
-+ ":bf16-qs8-vcvt_riscv64_standalone",
-+ ":bf16-qu8-vcvt_riscv64_standalone",
-+ ":bf16-rminmax_riscv64_standalone",
-+ ":bf16-vunary_riscv64_standalone",
-+ ":configs_riscv64_standalone",
-+ ":enums_riscv64_standalone",
-+ ":f16-avgpool_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-avgpool_riscv64_standalone",
-+ ":f16-dwconv_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-dwconv_riscv64_standalone",
-+ ":f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-f32-vcvt_riscv64_standalone",
-+ ":f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-maxpool_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-qs8-vcvt_riscv64_standalone",
-+ ":f16-qu8-vcvt_riscv64_standalone",
-+ ":f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-rdminmax_riscv64_standalone",
-+ ":f16-rminmax_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-rminmax_riscv64_standalone",
-+ ":f16-spmm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vapproxgelu_riscv64_standalone",
-+ ":f16-vbinary_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vclamp_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vcmul_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vcos_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vcos_riscv64_standalone",
-+ ":f16-velu_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vexp_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vexp_riscv64_standalone",
-+ ":f16-vgelu_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vgelu_riscv64_standalone",
-+ ":f16-vhswish_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vlog_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vlog_riscv64_standalone",
-+ ":f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vrnd_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vsin_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vsin_riscv64_standalone",
-+ ":f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vsqrt_riscv64_standalone",
-+ ":f16-vtanh_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f16-vtanh_riscv64_standalone",
-+ ":f16-vunary_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f32-argmaxpool_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-argmaxpool_riscv64_standalone",
-+ ":f32-avgpool_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-avgpool_riscv64_standalone",
-+ ":f32-bf16-vcvt_riscv64_standalone",
-+ ":f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-conv-hwc2chw_riscv64_standalone",
-+ ":f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-dwconv2d-chw_riscv64_standalone",
-+ ":f32-dwconv_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-dwconv_riscv64_standalone",
-+ ":f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":f32-f16-vcvt_riscv64_standalone",
-+ ":f32-gemm_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-gemm_riscv64_standalone",
-+ ":f32-ibilinear-chw_riscv64_standalone",
-+ ":f32-ibilinear_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-ibilinear_riscv64_standalone",
-+ ":f32-igemm_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-igemm_riscv64_standalone",
-+ ":f32-maxpool_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-maxpool_riscv64_standalone",
-+ ":f32-qc4w-gemm_riscv64_standalone",
-+ ":f32-qc8w-gemm_riscv64_standalone",
-+ ":f32-qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-qs8-vcvt_riscv64_standalone",
-+ ":f32-qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-qu8-vcvt_riscv64_standalone",
-+ ":f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-raddstoreexpminusmax_riscv64_standalone",
-+ ":f32-rdminmax_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-rdminmax_riscv64_standalone",
-+ ":f32-rdsum2_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-rdsum2_riscv64_standalone",
-+ ":f32-rdsum_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-rdsum_riscv64_standalone",
-+ ":f32-rminmax_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-rminmax_riscv64_standalone",
-+ ":f32-rsum2_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-rsum2_riscv64_standalone",
-+ ":f32-rsum_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-rsum_riscv64_standalone",
-+ ":f32-spmm_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-spmm_riscv64_standalone",
-+ ":f32-vapproxgelu_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vapproxgelu_riscv64_standalone",
-+ ":f32-vbinary_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vbinary_riscv64_standalone",
-+ ":f32-vclamp_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vclamp_riscv64_standalone",
-+ ":f32-vcmul_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vcmul_riscv64_standalone",
-+ ":f32-vcopysign_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vcopysign_riscv64_standalone",
-+ ":f32-vcos_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vcos_riscv64_standalone",
-+ ":f32-velu_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-velu_riscv64_standalone",
-+ ":f32-vexp_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vexp_riscv64_standalone",
-+ ":f32-vgelu_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vgelu_riscv64_standalone",
-+ ":f32-vhswish_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vhswish_riscv64_standalone",
-+ ":f32-vlog_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vlog_riscv64_standalone",
-+ ":f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vlrelu_riscv64_standalone",
-+ ":f32-vmulcaddc_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vmulcaddc_riscv64_standalone",
-+ ":f32-vrnd_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vrnd_riscv64_standalone",
-+ ":f32-vrsqrt_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vrsqrt_riscv64_standalone",
-+ ":f32-vsigmoid_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vsigmoid_riscv64_standalone",
-+ ":f32-vsin_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vsin_riscv64_standalone",
-+ ":f32-vsqrt_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vsqrt_riscv64_standalone",
-+ ":f32-vtanh_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vtanh_riscv64_standalone",
-+ ":f32-vunary_arch=rv64gcv-abi=lp64d_standalone",
-+ ":f32-vunary_riscv64_standalone",
-+ ":operators_riscv64_standalone",
-+ ":qd8-bf16-qb4w-gemm_riscv64_standalone",
-+ ":qd8-f16-qc2w-gemm_riscv64_standalone",
-+ ":qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-+ ":qd8-f32-qb4w-gemm_riscv64_standalone",
-+ ":qd8-f32-qc2w-gemm_riscv64_standalone",
-+ ":qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qd8-f32-qc4w-gemm_riscv64_standalone",
-+ ":qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qd8-f32-qc8w-gemm_riscv64_standalone",
-+ ":qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qd8-f32-qc8w-igemm_riscv64_standalone",
-+ ":qs8-dwconv_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-dwconv_riscv64_standalone",
-+ ":qs8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-f32-vcvt_riscv64_standalone",
-+ ":qs8-packw_riscv64_standalone",
-+ ":qs8-qc2w-gemm_riscv64_standalone",
-+ ":qs8-qc4w-gemm_riscv64_standalone",
-+ ":qs8-qc4w-packw_riscv64_standalone",
-+ ":qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-qc8w-dwconv_riscv64_standalone",
-+ ":qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-qc8w-gemm_riscv64_standalone",
-+ ":qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-qc8w-igemm_riscv64_standalone",
-+ ":qs8-qu8-packw_riscv64_standalone",
-+ ":qs8-rdsum_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-rdsum_riscv64_standalone",
-+ ":qs8-rsum_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-rsum_riscv64_standalone",
-+ ":qs8-vadd_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-vadd_riscv64_standalone",
-+ ":qs8-vaddc_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-vaddc_riscv64_standalone",
-+ ":qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-vcvt_riscv64_standalone",
-+ ":qs8-vlrelu_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-vlrelu_riscv64_standalone",
-+ ":qs8-vmul_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-vmul_riscv64_standalone",
-+ ":qs8-vmulc_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qs8-vmulc_riscv64_standalone",
-+ ":qs8-vprelu_riscv64_standalone",
-+ ":qs8-vpreluc_riscv64_standalone",
-+ ":qs8-vrpreluc_riscv64_standalone",
-+ ":qu8-dwconv_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-dwconv_riscv64_standalone",
-+ ":qu8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-f32-vcvt_riscv64_standalone",
-+ ":qu8-gemm_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-gemm_riscv64_standalone",
-+ ":qu8-igemm_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-igemm_riscv64_standalone",
-+ ":qu8-rdsum_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-rdsum_riscv64_standalone",
-+ ":qu8-rsum_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-rsum_riscv64_standalone",
-+ ":qu8-vadd_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-vadd_riscv64_standalone",
-+ ":qu8-vaddc_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-vaddc_riscv64_standalone",
-+ ":qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-vcvt_riscv64_standalone",
-+ ":qu8-vlrelu_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-vlrelu_riscv64_standalone",
-+ ":qu8-vmul_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-vmul_riscv64_standalone",
-+ ":qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-vmulc_riscv64_standalone",
-+ ":qu8-vprelu_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-vprelu_riscv64_standalone",
-+ ":qu8-vpreluc_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-vpreluc_riscv64_standalone",
-+ ":qu8-vrpreluc_arch=rv64gcv-abi=lp64d_standalone",
-+ ":qu8-vrpreluc_riscv64_standalone",
-+ ":reference_riscv64_standalone",
-+ ":s8-ibilinear_riscv64_standalone",
-+ ":s8-maxpool_arch=rv64gcv-abi=lp64d_standalone",
-+ ":s8-maxpool_riscv64_standalone",
-+ ":s8-rdminmax_arch=rv64gcv-abi=lp64d_standalone",
-+ ":s8-rdminmax_riscv64_standalone",
-+ ":s8-rminmax_arch=rv64gcv-abi=lp64d_standalone",
-+ ":s8-rminmax_riscv64_standalone",
-+ ":s8-vclamp_arch=rv64gcv-abi=lp64d_standalone",
-+ ":s8-vclamp_riscv64_standalone",
-+ ":subgraph_riscv64_standalone",
-+ ":tables_riscv64_standalone",
-+ ":u8-ibilinear_riscv64_standalone",
-+ ":u8-lut32norm_riscv64_standalone",
-+ ":u8-maxpool_arch=rv64gcv-abi=lp64d_standalone",
-+ ":u8-maxpool_riscv64_standalone",
-+ ":u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone",
-+ ":u8-rdminmax_riscv64_standalone",
-+ ":u8-rminmax_arch=rv64gcv-abi=lp64d_standalone",
-+ ":u8-rminmax_riscv64_standalone",
-+ ":u8-vclamp_arch=rv64gcv-abi=lp64d_standalone",
-+ ":u8-vclamp_riscv64_standalone",
-+ ":x16-packw_riscv64_standalone",
-+ ":x16-transposec_riscv64_standalone",
-+ ":x16-x32-packw_riscv64_standalone",
-+ ":x24-transposec_riscv64_standalone",
-+ ":x32-packw_arch=rv64gcv-abi=lp64d_standalone",
-+ ":x32-packw_riscv64_standalone",
-+ ":x32-transposec_arch=rv64gcv-abi=lp64d_standalone",
-+ ":x32-transposec_riscv64_standalone",
-+ ":x32-unpool_riscv64_standalone",
-+ ":x64-transposec_riscv64_standalone",
-+ ":x8-lut_riscv64_standalone",
-+ ":x8-packq_riscv64_standalone",
-+ ":x8-packw_riscv64_standalone",
-+ ":x8-transposec_riscv64_standalone",
-+ ":xx-copy_riscv64_standalone",
-+ ":xx-fill_riscv64_standalone",
-+ ":xx-pad_riscv64_standalone",
-+ ":xx-transposev_riscv64_standalone"
- ]
- }
--} else if (current_cpu == "riscv64") {
-+} else
-+if (current_cpu == "ppc64") {
+ sources = [
++ "src/include/xnnpack.h",
++ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
++ ]
+
- if (build_with_chromium) {
- xnnpack_deps = [
-- ":bf16-f32-vcvt_riscv64",
-- ":bf16-qs8-vcvt_riscv64",
-- ":bf16-qu8-vcvt_riscv64",
-- ":bf16-rminmax_riscv64",
-- ":bf16-vunary_riscv64",
-- ":configs_riscv64",
-- ":enums_riscv64",
-- ":f16-avgpool_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-avgpool_riscv64",
-- ":f16-dwconv_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-dwconv_riscv64",
-- ":f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-f32-vcvt_riscv64",
-- ":f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-gemm_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-igemm_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-maxpool_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-qs8-vcvt_riscv64",
-- ":f16-qu8-vcvt_riscv64",
-- ":f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-rdminmax_riscv64",
-- ":f16-rminmax_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-rminmax_riscv64",
-- ":f16-spmm_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vapproxgelu_riscv64",
-- ":f16-vbinary_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vclamp_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vcmul_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vcos_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vcos_riscv64",
-- ":f16-velu_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vexp_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vexp_riscv64",
-- ":f16-vgelu_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vgelu_riscv64",
-- ":f16-vhswish_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vlog_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vlog_riscv64",
-- ":f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vrnd_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vsin_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vsin_riscv64",
-- ":f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vsqrt_riscv64",
-- ":f16-vtanh_arch=rv64gc_zvfh-abi=lp64d",
-- ":f16-vtanh_riscv64",
-- ":f16-vunary_arch=rv64gc_zvfh-abi=lp64d",
-- ":f32-argmaxpool_arch=rv64gcv-abi=lp64d",
-- ":f32-argmaxpool_riscv64",
-- ":f32-avgpool_arch=rv64gcv-abi=lp64d",
-- ":f32-avgpool_riscv64",
-- ":f32-bf16-vcvt_riscv64",
-- ":f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d",
-- ":f32-conv-hwc2chw_riscv64",
-- ":f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d",
-- ":f32-dwconv2d-chw_riscv64",
-- ":f32-dwconv_arch=rv64gcv-abi=lp64d",
-- ":f32-dwconv_riscv64",
-- ":f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d",
-- ":f32-f16-vcvt_riscv64",
-- ":f32-gemm_arch=rv64gcv-abi=lp64d",
-- ":f32-gemm_riscv64",
-- ":f32-ibilinear-chw_riscv64",
-- ":f32-ibilinear_arch=rv64gcv-abi=lp64d",
-- ":f32-ibilinear_riscv64",
-- ":f32-igemm_arch=rv64gcv-abi=lp64d",
-- ":f32-igemm_riscv64",
-- ":f32-maxpool_arch=rv64gcv-abi=lp64d",
-- ":f32-maxpool_riscv64",
-- ":f32-qc4w-gemm_riscv64",
-- ":f32-qc8w-gemm_riscv64",
-- ":f32-qs8-vcvt_arch=rv64gcv-abi=lp64d",
-- ":f32-qs8-vcvt_riscv64",
-- ":f32-qu8-vcvt_arch=rv64gcv-abi=lp64d",
-- ":f32-qu8-vcvt_riscv64",
-- ":f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d",
-- ":f32-raddstoreexpminusmax_riscv64",
-- ":f32-rdminmax_arch=rv64gcv-abi=lp64d",
-- ":f32-rdminmax_riscv64",
-- ":f32-rdsum2_arch=rv64gcv-abi=lp64d",
-- ":f32-rdsum2_riscv64",
-- ":f32-rdsum_arch=rv64gcv-abi=lp64d",
-- ":f32-rdsum_riscv64",
-- ":f32-rminmax_arch=rv64gcv-abi=lp64d",
-- ":f32-rminmax_riscv64",
-- ":f32-rsum2_arch=rv64gcv-abi=lp64d",
-- ":f32-rsum2_riscv64",
-- ":f32-rsum_arch=rv64gcv-abi=lp64d",
-- ":f32-rsum_riscv64",
-- ":f32-spmm_arch=rv64gcv-abi=lp64d",
-- ":f32-spmm_riscv64",
-- ":f32-vapproxgelu_arch=rv64gcv-abi=lp64d",
-- ":f32-vapproxgelu_riscv64",
-- ":f32-vbinary_arch=rv64gcv-abi=lp64d",
-- ":f32-vbinary_riscv64",
-- ":f32-vclamp_arch=rv64gcv-abi=lp64d",
-- ":f32-vclamp_riscv64",
-- ":f32-vcmul_arch=rv64gcv-abi=lp64d",
-- ":f32-vcmul_riscv64",
-- ":f32-vcopysign_arch=rv64gcv-abi=lp64d",
-- ":f32-vcopysign_riscv64",
-- ":f32-vcos_arch=rv64gcv-abi=lp64d",
-- ":f32-vcos_riscv64",
-- ":f32-velu_arch=rv64gcv-abi=lp64d",
-- ":f32-velu_riscv64",
-- ":f32-vexp_arch=rv64gcv-abi=lp64d",
-- ":f32-vexp_riscv64",
-- ":f32-vgelu_arch=rv64gcv-abi=lp64d",
-- ":f32-vgelu_riscv64",
-- ":f32-vhswish_arch=rv64gcv-abi=lp64d",
-- ":f32-vhswish_riscv64",
-- ":f32-vlog_arch=rv64gcv-abi=lp64d",
-- ":f32-vlog_riscv64",
-- ":f32-vlrelu_arch=rv64gcv-abi=lp64d",
-- ":f32-vlrelu_riscv64",
-- ":f32-vmulcaddc_arch=rv64gcv-abi=lp64d",
-- ":f32-vmulcaddc_riscv64",
-- ":f32-vrnd_arch=rv64gcv-abi=lp64d",
-- ":f32-vrnd_riscv64",
-- ":f32-vrsqrt_arch=rv64gcv-abi=lp64d",
-- ":f32-vrsqrt_riscv64",
-- ":f32-vsigmoid_arch=rv64gcv-abi=lp64d",
-- ":f32-vsigmoid_riscv64",
-- ":f32-vsin_arch=rv64gcv-abi=lp64d",
-- ":f32-vsin_riscv64",
-- ":f32-vsqrt_arch=rv64gcv-abi=lp64d",
-- ":f32-vsqrt_riscv64",
-- ":f32-vtanh_arch=rv64gcv-abi=lp64d",
-- ":f32-vtanh_riscv64",
-- ":f32-vunary_arch=rv64gcv-abi=lp64d",
-- ":f32-vunary_riscv64",
-- ":operators_riscv64",
-- ":qd8-bf16-qb4w-gemm_riscv64",
-- ":qd8-f16-qc2w-gemm_riscv64",
-- ":qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d",
-- ":qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d",
-- ":qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d",
-- ":qd8-f32-qb4w-gemm_riscv64",
-- ":qd8-f32-qc2w-gemm_riscv64",
-- ":qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d",
-- ":qd8-f32-qc4w-gemm_riscv64",
-- ":qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d",
-- ":qd8-f32-qc8w-gemm_riscv64",
-- ":qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d",
-- ":qd8-f32-qc8w-igemm_riscv64",
-- ":qs8-dwconv_arch=rv64gcv-abi=lp64d",
-- ":qs8-dwconv_riscv64",
-- ":qs8-f32-vcvt_arch=rv64gcv-abi=lp64d",
-- ":qs8-f32-vcvt_riscv64",
-- ":qs8-packw_riscv64",
-- ":qs8-qc2w-gemm_riscv64",
-- ":qs8-qc4w-gemm_riscv64",
-- ":qs8-qc4w-packw_riscv64",
-- ":qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d",
-- ":qs8-qc8w-dwconv_riscv64",
-- ":qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d",
-- ":qs8-qc8w-gemm_riscv64",
-- ":qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d",
-- ":qs8-qc8w-igemm_riscv64",
-- ":qs8-qu8-packw_riscv64",
-- ":qs8-rdsum_arch=rv64gcv-abi=lp64d",
-- ":qs8-rdsum_riscv64",
-- ":qs8-rsum_arch=rv64gcv-abi=lp64d",
-- ":qs8-rsum_riscv64",
-- ":qs8-vadd_arch=rv64gcv-abi=lp64d",
-- ":qs8-vadd_riscv64",
-- ":qs8-vaddc_arch=rv64gcv-abi=lp64d",
-- ":qs8-vaddc_riscv64",
-- ":qs8-vcvt_arch=rv64gcv-abi=lp64d",
-- ":qs8-vcvt_riscv64",
-- ":qs8-vlrelu_arch=rv64gcv-abi=lp64d",
-- ":qs8-vlrelu_riscv64",
-- ":qs8-vmul_arch=rv64gcv-abi=lp64d",
-- ":qs8-vmul_riscv64",
-- ":qs8-vmulc_arch=rv64gcv-abi=lp64d",
-- ":qs8-vmulc_riscv64",
-- ":qs8-vprelu_riscv64",
-- ":qs8-vpreluc_riscv64",
-- ":qs8-vrpreluc_riscv64",
-- ":qu8-dwconv_arch=rv64gcv-abi=lp64d",
-- ":qu8-dwconv_riscv64",
-- ":qu8-f32-vcvt_arch=rv64gcv-abi=lp64d",
-- ":qu8-f32-vcvt_riscv64",
-- ":qu8-gemm_arch=rv64gcv-abi=lp64d",
-- ":qu8-gemm_riscv64",
-- ":qu8-igemm_arch=rv64gcv-abi=lp64d",
-- ":qu8-igemm_riscv64",
-- ":qu8-rdsum_arch=rv64gcv-abi=lp64d",
-- ":qu8-rdsum_riscv64",
-- ":qu8-rsum_arch=rv64gcv-abi=lp64d",
-- ":qu8-rsum_riscv64",
-- ":qu8-vadd_arch=rv64gcv-abi=lp64d",
-- ":qu8-vadd_riscv64",
-- ":qu8-vaddc_arch=rv64gcv-abi=lp64d",
-- ":qu8-vaddc_riscv64",
-- ":qu8-vcvt_arch=rv64gcv-abi=lp64d",
-- ":qu8-vcvt_riscv64",
-- ":qu8-vlrelu_arch=rv64gcv-abi=lp64d",
-- ":qu8-vlrelu_riscv64",
-- ":qu8-vmul_arch=rv64gcv-abi=lp64d",
-- ":qu8-vmul_riscv64",
-- ":qu8-vmulc_arch=rv64gcv-abi=lp64d",
-- ":qu8-vmulc_riscv64",
-- ":qu8-vprelu_arch=rv64gcv-abi=lp64d",
-- ":qu8-vprelu_riscv64",
-- ":qu8-vpreluc_arch=rv64gcv-abi=lp64d",
-- ":qu8-vpreluc_riscv64",
-- ":qu8-vrpreluc_arch=rv64gcv-abi=lp64d",
-- ":qu8-vrpreluc_riscv64",
-- ":reference_riscv64",
-- ":s8-ibilinear_riscv64",
-- ":s8-maxpool_arch=rv64gcv-abi=lp64d",
-- ":s8-maxpool_riscv64",
-- ":s8-rdminmax_arch=rv64gcv-abi=lp64d",
-- ":s8-rdminmax_riscv64",
-- ":s8-rminmax_arch=rv64gcv-abi=lp64d",
-- ":s8-rminmax_riscv64",
-- ":s8-vclamp_arch=rv64gcv-abi=lp64d",
-- ":s8-vclamp_riscv64",
-- ":subgraph_riscv64",
-- ":tables_riscv64",
-- ":u8-ibilinear_riscv64",
-- ":u8-lut32norm_riscv64",
-- ":u8-maxpool_arch=rv64gcv-abi=lp64d",
-- ":u8-maxpool_riscv64",
-- ":u8-rdminmax_arch=rv64gcv-abi=lp64d",
-- ":u8-rdminmax_riscv64",
-- ":u8-rminmax_arch=rv64gcv-abi=lp64d",
-- ":u8-rminmax_riscv64",
-- ":u8-vclamp_arch=rv64gcv-abi=lp64d",
-- ":u8-vclamp_riscv64",
-- ":x16-packw_riscv64",
-- ":x16-transposec_riscv64",
-- ":x16-x32-packw_riscv64",
-- ":x24-transposec_riscv64",
-- ":x32-packw_arch=rv64gcv-abi=lp64d",
-- ":x32-packw_riscv64",
-- ":x32-transposec_arch=rv64gcv-abi=lp64d",
-- ":x32-transposec_riscv64",
-- ":x32-unpool_riscv64",
-- ":x64-transposec_riscv64",
-- ":x8-lut_riscv64",
-- ":x8-packq_riscv64",
-- ":x8-packw_riscv64",
-- ":x8-transposec_riscv64",
-- ":xx-copy_riscv64",
-- ":xx-fill_riscv64",
-- ":xx-pad_riscv64",
-- ":xx-transposev_riscv64",
-+ ":bf16-f32-vcvt_ppc64",
-+ ":bf16-qs8-vcvt_ppc64",
-+ ":bf16-qu8-vcvt_ppc64",
-+ ":bf16-rminmax_ppc64",
-+ ":bf16-vunary_ppc64",
-+ ":configs_ppc64",
-+ ":enums_ppc64",
-+ ":f16-avgpool_ppc64",
-+ ":f16-dwconv_ppc64",
-+ ":f16-f32-vcvt_ppc64",
-+ ":f16-qs8-vcvt_ppc64",
-+ ":f16-qu8-vcvt_ppc64",
-+ ":f16-rdminmax_ppc64",
-+ ":f16-rminmax_ppc64",
-+ ":f16-vapproxgelu_ppc64",
-+ ":f16-vcos_ppc64",
-+ ":f16-vexp_ppc64",
-+ ":f16-vgelu_ppc64",
-+ ":f16-vlog_ppc64",
-+ ":f16-vsin_ppc64",
-+ ":f16-vsqrt_ppc64",
-+ ":f16-vtanh_ppc64",
-+ ":f32-argmaxpool_ppc64",
-+ ":f32-avgpool_ppc64",
-+ ":f32-bf16-vcvt_ppc64",
-+ ":f32-conv-hwc2chw_ppc64",
-+ ":f32-dwconv2d-chw_ppc64",
-+ ":f32-dwconv_ppc64",
-+ ":f32-f16-vcvt_ppc64",
-+ ":f32-gemm_ppc64",
-+ ":f32-ibilinear-chw_ppc64",
-+ ":f32-ibilinear_ppc64",
-+ ":f32-igemm_ppc64",
-+ ":f32-maxpool_ppc64",
-+ ":f32-qc4w-gemm_ppc64",
-+ ":f32-qc8w-gemm_ppc64",
-+ ":f32-qs8-vcvt_ppc64",
-+ ":f32-qu8-vcvt_ppc64",
-+ ":f32-raddstoreexpminusmax_ppc64",
-+ ":f32-rdminmax_ppc64",
-+ ":f32-rdsum2_ppc64",
-+ ":f32-rdsum_ppc64",
-+ ":f32-rminmax_ppc64",
-+ ":f32-rsum2_ppc64",
-+ ":f32-rsum_ppc64",
-+ ":f32-spmm_ppc64",
-+ ":f32-vapproxgelu_ppc64",
-+ ":f32-vbinary_ppc64",
-+ ":f32-vclamp_ppc64",
-+ ":f32-vcmul_ppc64",
-+ ":f32-vcopysign_ppc64",
-+ ":f32-vcos_ppc64",
-+ ":f32-velu_ppc64",
-+ ":f32-vexp_ppc64",
-+ ":f32-vgelu_ppc64",
-+ ":f32-vhswish_ppc64",
-+ ":f32-vlog_ppc64",
-+ ":f32-vlrelu_ppc64",
-+ ":f32-vmulcaddc_ppc64",
-+ ":f32-vrnd_ppc64",
-+ ":f32-vrsqrt_ppc64",
-+ ":f32-vsigmoid_ppc64",
-+ ":f32-vsin_ppc64",
-+ ":f32-vsqrt_ppc64",
-+ ":f32-vtanh_ppc64",
-+ ":f32-vunary_ppc64",
-+ ":operators_ppc64",
-+ ":qd8-bf16-qb4w-gemm_ppc64",
-+ ":qd8-f16-qc2w-gemm_ppc64",
-+ ":qd8-f32-qb4w-gemm_ppc64",
-+ ":qd8-f32-qc2w-gemm_ppc64",
-+ ":qd8-f32-qc4w-gemm_ppc64",
-+ ":qd8-f32-qc8w-gemm_ppc64",
-+ ":qd8-f32-qc8w-igemm_ppc64",
-+ ":qs8-dwconv_ppc64",
-+ ":qs8-f32-vcvt_ppc64",
-+ ":qs8-packw_ppc64",
-+ ":qs8-qc2w-gemm_ppc64",
-+ ":qs8-qc4w-gemm_ppc64",
-+ ":qs8-qc4w-packw_ppc64",
-+ ":qs8-qc8w-dwconv_ppc64",
-+ ":qs8-qc8w-gemm_ppc64",
-+ ":qs8-qc8w-igemm_ppc64",
-+ ":qs8-qu8-packw_ppc64",
-+ ":qs8-rdsum_ppc64",
-+ ":qs8-rsum_ppc64",
-+ ":qs8-vadd_ppc64",
-+ ":qs8-vaddc_ppc64",
-+ ":qs8-vcvt_ppc64",
-+ ":qs8-vlrelu_ppc64",
-+ ":qs8-vmul_ppc64",
-+ ":qs8-vmulc_ppc64",
-+ ":qs8-vprelu_ppc64",
-+ ":qs8-vpreluc_ppc64",
-+ ":qs8-vrpreluc_ppc64",
-+ ":qu8-dwconv_ppc64",
-+ ":qu8-f32-vcvt_ppc64",
-+ ":qu8-gemm_ppc64",
-+ ":qu8-igemm_ppc64",
-+ ":qu8-rdsum_ppc64",
-+ ":qu8-rsum_ppc64",
-+ ":qu8-vadd_ppc64",
-+ ":qu8-vaddc_ppc64",
-+ ":qu8-vcvt_ppc64",
-+ ":qu8-vlrelu_ppc64",
-+ ":qu8-vmul_ppc64",
-+ ":qu8-vmulc_ppc64",
-+ ":qu8-vprelu_ppc64",
-+ ":qu8-vpreluc_ppc64",
-+ ":qu8-vrpreluc_ppc64",
-+ ":reference_ppc64",
-+ ":s8-ibilinear_ppc64",
-+ ":s8-maxpool_ppc64",
-+ ":s8-rdminmax_ppc64",
-+ ":s8-rminmax_ppc64",
-+ ":s8-vclamp_ppc64",
-+ ":subgraph_ppc64",
-+ ":tables_ppc64",
-+ ":u8-ibilinear_ppc64",
-+ ":u8-lut32norm_ppc64",
-+ ":u8-maxpool_ppc64",
-+ ":u8-rdminmax_ppc64",
-+ ":u8-rminmax_ppc64",
-+ ":u8-vclamp_ppc64",
-+ ":x16-packw_ppc64",
-+ ":x16-transposec_ppc64",
-+ ":x16-x32-packw_ppc64",
-+ ":x24-transposec_ppc64",
-+ ":x32-packw_ppc64",
-+ ":x32-transposec_ppc64",
-+ ":x32-unpool_ppc64",
-+ ":x64-transposec_ppc64",
-+ ":x8-lut_ppc64",
-+ ":x8-packq_ppc64",
-+ ":x8-packw_ppc64",
-+ ":x8-transposec_ppc64",
-+ ":xx-copy_ppc64",
-+ ":xx-fill_ppc64",
-+ ":xx-pad_ppc64",
-+ ":xx-transposev_ppc64"
- ]
- }
-
- if (build_with_internal_optimization_guide) {
- xnnpack_standalone_deps = [
-- ":bf16-f32-vcvt_riscv64_standalone",
-- ":bf16-qs8-vcvt_riscv64_standalone",
-- ":bf16-qu8-vcvt_riscv64_standalone",
-- ":bf16-rminmax_riscv64_standalone",
-- ":bf16-vunary_riscv64_standalone",
-- ":configs_riscv64_standalone",
-- ":enums_riscv64_standalone",
-- ":f16-avgpool_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-avgpool_riscv64_standalone",
-- ":f16-dwconv_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-dwconv_riscv64_standalone",
-- ":f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-f32-vcvt_riscv64_standalone",
-- ":f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-maxpool_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-qs8-vcvt_riscv64_standalone",
-- ":f16-qu8-vcvt_riscv64_standalone",
-- ":f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-rdminmax_riscv64_standalone",
-- ":f16-rminmax_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-rminmax_riscv64_standalone",
-- ":f16-spmm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vapproxgelu_riscv64_standalone",
-- ":f16-vbinary_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vclamp_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vcmul_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vcos_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vcos_riscv64_standalone",
-- ":f16-velu_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vexp_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vexp_riscv64_standalone",
-- ":f16-vgelu_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vgelu_riscv64_standalone",
-- ":f16-vhswish_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vlog_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vlog_riscv64_standalone",
-- ":f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vrnd_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vsin_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vsin_riscv64_standalone",
-- ":f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vsqrt_riscv64_standalone",
-- ":f16-vtanh_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f16-vtanh_riscv64_standalone",
-- ":f16-vunary_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f32-argmaxpool_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-argmaxpool_riscv64_standalone",
-- ":f32-avgpool_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-avgpool_riscv64_standalone",
-- ":f32-bf16-vcvt_riscv64_standalone",
-- ":f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-conv-hwc2chw_riscv64_standalone",
-- ":f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-dwconv2d-chw_riscv64_standalone",
-- ":f32-dwconv_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-dwconv_riscv64_standalone",
-- ":f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":f32-f16-vcvt_riscv64_standalone",
-- ":f32-gemm_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-gemm_riscv64_standalone",
-- ":f32-ibilinear-chw_riscv64_standalone",
-- ":f32-ibilinear_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-ibilinear_riscv64_standalone",
-- ":f32-igemm_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-igemm_riscv64_standalone",
-- ":f32-maxpool_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-maxpool_riscv64_standalone",
-- ":f32-qc4w-gemm_riscv64_standalone",
-- ":f32-qc8w-gemm_riscv64_standalone",
-- ":f32-qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-qs8-vcvt_riscv64_standalone",
-- ":f32-qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-qu8-vcvt_riscv64_standalone",
-- ":f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-raddstoreexpminusmax_riscv64_standalone",
-- ":f32-rdminmax_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-rdminmax_riscv64_standalone",
-- ":f32-rdsum2_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-rdsum2_riscv64_standalone",
-- ":f32-rdsum_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-rdsum_riscv64_standalone",
-- ":f32-rminmax_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-rminmax_riscv64_standalone",
-- ":f32-rsum2_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-rsum2_riscv64_standalone",
-- ":f32-rsum_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-rsum_riscv64_standalone",
-- ":f32-spmm_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-spmm_riscv64_standalone",
-- ":f32-vapproxgelu_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vapproxgelu_riscv64_standalone",
-- ":f32-vbinary_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vbinary_riscv64_standalone",
-- ":f32-vclamp_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vclamp_riscv64_standalone",
-- ":f32-vcmul_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vcmul_riscv64_standalone",
-- ":f32-vcopysign_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vcopysign_riscv64_standalone",
-- ":f32-vcos_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vcos_riscv64_standalone",
-- ":f32-velu_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-velu_riscv64_standalone",
-- ":f32-vexp_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vexp_riscv64_standalone",
-- ":f32-vgelu_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vgelu_riscv64_standalone",
-- ":f32-vhswish_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vhswish_riscv64_standalone",
-- ":f32-vlog_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vlog_riscv64_standalone",
-- ":f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vlrelu_riscv64_standalone",
-- ":f32-vmulcaddc_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vmulcaddc_riscv64_standalone",
-- ":f32-vrnd_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vrnd_riscv64_standalone",
-- ":f32-vrsqrt_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vrsqrt_riscv64_standalone",
-- ":f32-vsigmoid_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vsigmoid_riscv64_standalone",
-- ":f32-vsin_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vsin_riscv64_standalone",
-- ":f32-vsqrt_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vsqrt_riscv64_standalone",
-- ":f32-vtanh_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vtanh_riscv64_standalone",
-- ":f32-vunary_arch=rv64gcv-abi=lp64d_standalone",
-- ":f32-vunary_riscv64_standalone",
-- ":operators_riscv64_standalone",
-- ":qd8-bf16-qb4w-gemm_riscv64_standalone",
-- ":qd8-f16-qc2w-gemm_riscv64_standalone",
-- ":qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone",
-- ":qd8-f32-qb4w-gemm_riscv64_standalone",
-- ":qd8-f32-qc2w-gemm_riscv64_standalone",
-- ":qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d_standalone",
-- ":qd8-f32-qc4w-gemm_riscv64_standalone",
-- ":qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone",
-- ":qd8-f32-qc8w-gemm_riscv64_standalone",
-- ":qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone",
-- ":qd8-f32-qc8w-igemm_riscv64_standalone",
-- ":qs8-dwconv_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-dwconv_riscv64_standalone",
-- ":qs8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-f32-vcvt_riscv64_standalone",
-- ":qs8-packw_riscv64_standalone",
-- ":qs8-qc2w-gemm_riscv64_standalone",
-- ":qs8-qc4w-gemm_riscv64_standalone",
-- ":qs8-qc4w-packw_riscv64_standalone",
-- ":qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-qc8w-dwconv_riscv64_standalone",
-- ":qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-qc8w-gemm_riscv64_standalone",
-- ":qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-qc8w-igemm_riscv64_standalone",
-- ":qs8-qu8-packw_riscv64_standalone",
-- ":qs8-rdsum_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-rdsum_riscv64_standalone",
-- ":qs8-rsum_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-rsum_riscv64_standalone",
-- ":qs8-vadd_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-vadd_riscv64_standalone",
-- ":qs8-vaddc_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-vaddc_riscv64_standalone",
-- ":qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-vcvt_riscv64_standalone",
-- ":qs8-vlrelu_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-vlrelu_riscv64_standalone",
-- ":qs8-vmul_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-vmul_riscv64_standalone",
-- ":qs8-vmulc_arch=rv64gcv-abi=lp64d_standalone",
-- ":qs8-vmulc_riscv64_standalone",
-- ":qs8-vprelu_riscv64_standalone",
-- ":qs8-vpreluc_riscv64_standalone",
-- ":qs8-vrpreluc_riscv64_standalone",
-- ":qu8-dwconv_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-dwconv_riscv64_standalone",
-- ":qu8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-f32-vcvt_riscv64_standalone",
-- ":qu8-gemm_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-gemm_riscv64_standalone",
-- ":qu8-igemm_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-igemm_riscv64_standalone",
-- ":qu8-rdsum_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-rdsum_riscv64_standalone",
-- ":qu8-rsum_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-rsum_riscv64_standalone",
-- ":qu8-vadd_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-vadd_riscv64_standalone",
-- ":qu8-vaddc_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-vaddc_riscv64_standalone",
-- ":qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-vcvt_riscv64_standalone",
-- ":qu8-vlrelu_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-vlrelu_riscv64_standalone",
-- ":qu8-vmul_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-vmul_riscv64_standalone",
-- ":qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-vmulc_riscv64_standalone",
-- ":qu8-vprelu_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-vprelu_riscv64_standalone",
-- ":qu8-vpreluc_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-vpreluc_riscv64_standalone",
-- ":qu8-vrpreluc_arch=rv64gcv-abi=lp64d_standalone",
-- ":qu8-vrpreluc_riscv64_standalone",
-- ":reference_riscv64_standalone",
-- ":s8-ibilinear_riscv64_standalone",
-- ":s8-maxpool_arch=rv64gcv-abi=lp64d_standalone",
-- ":s8-maxpool_riscv64_standalone",
-- ":s8-rdminmax_arch=rv64gcv-abi=lp64d_standalone",
-- ":s8-rdminmax_riscv64_standalone",
-- ":s8-rminmax_arch=rv64gcv-abi=lp64d_standalone",
-- ":s8-rminmax_riscv64_standalone",
-- ":s8-vclamp_arch=rv64gcv-abi=lp64d_standalone",
-- ":s8-vclamp_riscv64_standalone",
-- ":subgraph_riscv64_standalone",
-- ":tables_riscv64_standalone",
-- ":u8-ibilinear_riscv64_standalone",
-- ":u8-lut32norm_riscv64_standalone",
-- ":u8-maxpool_arch=rv64gcv-abi=lp64d_standalone",
-- ":u8-maxpool_riscv64_standalone",
-- ":u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone",
-- ":u8-rdminmax_riscv64_standalone",
-- ":u8-rminmax_arch=rv64gcv-abi=lp64d_standalone",
-- ":u8-rminmax_riscv64_standalone",
-- ":u8-vclamp_arch=rv64gcv-abi=lp64d_standalone",
-- ":u8-vclamp_riscv64_standalone",
-- ":x16-packw_riscv64_standalone",
-- ":x16-transposec_riscv64_standalone",
-- ":x16-x32-packw_riscv64_standalone",
-- ":x24-transposec_riscv64_standalone",
-- ":x32-packw_arch=rv64gcv-abi=lp64d_standalone",
-- ":x32-packw_riscv64_standalone",
-- ":x32-transposec_arch=rv64gcv-abi=lp64d_standalone",
-- ":x32-transposec_riscv64_standalone",
-- ":x32-unpool_riscv64_standalone",
-- ":x64-transposec_riscv64_standalone",
-- ":x8-lut_riscv64_standalone",
-- ":x8-packq_riscv64_standalone",
-- ":x8-packw_riscv64_standalone",
-- ":x8-transposec_riscv64_standalone",
-- ":xx-copy_riscv64_standalone",
-- ":xx-fill_riscv64_standalone",
-- ":xx-pad_riscv64_standalone",
-- ":xx-transposev_riscv64_standalone",
-+ ":bf16-f32-vcvt_ppc64_standalone",
-+ ":bf16-qs8-vcvt_ppc64_standalone",
-+ ":bf16-qu8-vcvt_ppc64_standalone",
-+ ":bf16-rminmax_ppc64_standalone",
-+ ":bf16-vunary_ppc64_standalone",
-+ ":configs_ppc64_standalone",
-+ ":enums_ppc64_standalone",
-+ ":f16-avgpool_ppc64_standalone",
-+ ":f16-dwconv_ppc64_standalone",
-+ ":f16-f32-vcvt_ppc64_standalone",
-+ ":f16-qs8-vcvt_ppc64_standalone",
-+ ":f16-qu8-vcvt_ppc64_standalone",
-+ ":f16-rdminmax_ppc64_standalone",
-+ ":f16-rminmax_ppc64_standalone",
-+ ":f16-vapproxgelu_ppc64_standalone",
-+ ":f16-vcos_ppc64_standalone",
-+ ":f16-vexp_ppc64_standalone",
-+ ":f16-vgelu_ppc64_standalone",
-+ ":f16-vlog_ppc64_standalone",
-+ ":f16-vsin_ppc64_standalone",
-+ ":f16-vsqrt_ppc64_standalone",
-+ ":f16-vtanh_ppc64_standalone",
-+ ":f32-argmaxpool_ppc64_standalone",
-+ ":f32-avgpool_ppc64_standalone",
-+ ":f32-bf16-vcvt_ppc64_standalone",
-+ ":f32-conv-hwc2chw_ppc64_standalone",
-+ ":f32-dwconv2d-chw_ppc64_standalone",
-+ ":f32-dwconv_ppc64_standalone",
-+ ":f32-f16-vcvt_ppc64_standalone",
-+ ":f32-gemm_ppc64_standalone",
-+ ":f32-ibilinear-chw_ppc64_standalone",
-+ ":f32-ibilinear_ppc64_standalone",
-+ ":f32-igemm_ppc64_standalone",
-+ ":f32-maxpool_ppc64_standalone",
-+ ":f32-qc4w-gemm_ppc64_standalone",
-+ ":f32-qc8w-gemm_ppc64_standalone",
-+ ":f32-qs8-vcvt_ppc64_standalone",
-+ ":f32-qu8-vcvt_ppc64_standalone",
-+ ":f32-raddstoreexpminusmax_ppc64_standalone",
-+ ":f32-rdminmax_ppc64_standalone",
-+ ":f32-rdsum2_ppc64_standalone",
-+ ":f32-rdsum_ppc64_standalone",
-+ ":f32-rminmax_ppc64_standalone",
-+ ":f32-rsum2_ppc64_standalone",
-+ ":f32-rsum_ppc64_standalone",
-+ ":f32-spmm_ppc64_standalone",
-+ ":f32-vapproxgelu_ppc64_standalone",
-+ ":f32-vbinary_ppc64_standalone",
-+ ":f32-vclamp_ppc64_standalone",
-+ ":f32-vcmul_ppc64_standalone",
-+ ":f32-vcopysign_ppc64_standalone",
-+ ":f32-vcos_ppc64_standalone",
-+ ":f32-velu_ppc64_standalone",
-+ ":f32-vexp_ppc64_standalone",
-+ ":f32-vgelu_ppc64_standalone",
-+ ":f32-vhswish_ppc64_standalone",
-+ ":f32-vlog_ppc64_standalone",
-+ ":f32-vlrelu_ppc64_standalone",
-+ ":f32-vmulcaddc_ppc64_standalone",
-+ ":f32-vrnd_ppc64_standalone",
-+ ":f32-vrsqrt_ppc64_standalone",
-+ ":f32-vsigmoid_ppc64_standalone",
-+ ":f32-vsin_ppc64_standalone",
-+ ":f32-vsqrt_ppc64_standalone",
-+ ":f32-vtanh_ppc64_standalone",
-+ ":f32-vunary_ppc64_standalone",
-+ ":operators_ppc64_standalone",
-+ ":qd8-bf16-qb4w-gemm_ppc64_standalone",
-+ ":qd8-f16-qc2w-gemm_ppc64_standalone",
-+ ":qd8-f32-qb4w-gemm_ppc64_standalone",
-+ ":qd8-f32-qc2w-gemm_ppc64_standalone",
-+ ":qd8-f32-qc4w-gemm_ppc64_standalone",
-+ ":qd8-f32-qc8w-gemm_ppc64_standalone",
-+ ":qd8-f32-qc8w-igemm_ppc64_standalone",
-+ ":qs8-dwconv_ppc64_standalone",
-+ ":qs8-f32-vcvt_ppc64_standalone",
-+ ":qs8-packw_ppc64_standalone",
-+ ":qs8-qc2w-gemm_ppc64_standalone",
-+ ":qs8-qc4w-gemm_ppc64_standalone",
-+ ":qs8-qc4w-packw_ppc64_standalone",
-+ ":qs8-qc8w-dwconv_ppc64_standalone",
-+ ":qs8-qc8w-gemm_ppc64_standalone",
-+ ":qs8-qc8w-igemm_ppc64_standalone",
-+ ":qs8-qu8-packw_ppc64_standalone",
-+ ":qs8-rdsum_ppc64_standalone",
-+ ":qs8-rsum_ppc64_standalone",
-+ ":qs8-vadd_ppc64_standalone",
-+ ":qs8-vaddc_ppc64_standalone",
-+ ":qs8-vcvt_ppc64_standalone",
-+ ":qs8-vlrelu_ppc64_standalone",
-+ ":qs8-vmul_ppc64_standalone",
-+ ":qs8-vmulc_ppc64_standalone",
-+ ":qs8-vprelu_ppc64_standalone",
-+ ":qs8-vpreluc_ppc64_standalone",
-+ ":qs8-vrpreluc_ppc64_standalone",
-+ ":qu8-dwconv_ppc64_standalone",
-+ ":qu8-f32-vcvt_ppc64_standalone",
-+ ":qu8-gemm_ppc64_standalone",
-+ ":qu8-igemm_ppc64_standalone",
-+ ":qu8-rdsum_ppc64_standalone",
-+ ":qu8-rsum_ppc64_standalone",
-+ ":qu8-vadd_ppc64_standalone",
-+ ":qu8-vaddc_ppc64_standalone",
-+ ":qu8-vcvt_ppc64_standalone",
-+ ":qu8-vlrelu_ppc64_standalone",
-+ ":qu8-vmul_ppc64_standalone",
-+ ":qu8-vmulc_ppc64_standalone",
-+ ":qu8-vprelu_ppc64_standalone",
-+ ":qu8-vpreluc_ppc64_standalone",
-+ ":qu8-vrpreluc_ppc64_standalone",
-+ ":reference_ppc64_standalone",
-+ ":s8-ibilinear_ppc64_standalone",
-+ ":s8-maxpool_ppc64_standalone",
-+ ":s8-rdminmax_ppc64_standalone",
-+ ":s8-rminmax_ppc64_standalone",
-+ ":s8-vclamp_ppc64_standalone",
-+ ":subgraph_ppc64_standalone",
-+ ":tables_ppc64_standalone",
-+ ":u8-ibilinear_ppc64_standalone",
-+ ":u8-lut32norm_ppc64_standalone",
-+ ":u8-maxpool_ppc64_standalone",
-+ ":u8-rdminmax_ppc64_standalone",
-+ ":u8-rminmax_ppc64_standalone",
-+ ":u8-vclamp_ppc64_standalone",
-+ ":x16-packw_ppc64_standalone",
-+ ":x16-transposec_ppc64_standalone",
-+ ":x16-x32-packw_ppc64_standalone",
-+ ":x24-transposec_ppc64_standalone",
-+ ":x32-packw_ppc64_standalone",
-+ ":x32-transposec_ppc64_standalone",
-+ ":x32-unpool_ppc64_standalone",
-+ ":x64-transposec_ppc64_standalone",
-+ ":x8-lut_ppc64_standalone",
-+ ":x8-packq_ppc64_standalone",
-+ ":x8-packw_ppc64_standalone",
-+ ":x8-transposec_ppc64_standalone",
-+ ":xx-copy_ppc64_standalone",
-+ ":xx-fill_ppc64_standalone",
-+ ":xx-pad_ppc64_standalone",
-+ ":xx-transposev_ppc64_standalone"
- ]
- }
- } else {
-@@ -2247,6 +2545,7 @@ if (current_cpu == "x64" || current_cpu
- }
- }
-
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- if (build_with_chromium) {
- source_set("xnnpack") {
- public = [ "src/include/xnnpack.h" ]
-@@ -2257,39 +2556,39 @@ if (build_with_chromium) {
- configs += [ ":xnnpack_private_config" ]
-
- sources = [
-- "build_identifier.c",
-- "src/include/xnnpack.h",
-+ "src/include/xnnpack.h",
-+ "build_identifier.c",
- "src/src/allocator.c",
-- "src/src/cache.c",
-- "src/src/datatype.c",
-- "src/src/indirection.c",
-- "src/src/init.c",
-- "src/src/log.c",
-- "src/src/memory-planner.c",
-- "src/src/memory.c",
-- "src/src/microkernel-utils.c",
-- "src/src/microparams-init.c",
-- "src/src/mutex.c",
-- "src/src/normalization.c",
-- "src/src/operator-delete.c",
-- "src/src/operator-run.c",
-- "src/src/operator-utils.c",
-- "src/src/pack-lh.cc",
-- "src/src/params.c",
-- "src/src/runtime.c",
-- "src/src/sanitizers.c",
-- "src/src/subgraph.c",
-- "src/src/tensor.c",
-- "src/src/xnnpack/fingerprint_check.c",
-- "src/src/xnnpack/init-once.c",
-+ "src/src/cache.c",
-+ "src/src/datatype.c",
-+ "src/src/indirection.c",
-+ "src/src/init.c",
-+ "src/src/log.c",
-+ "src/src/memory-planner.c",
-+ "src/src/memory.c",
-+ "src/src/microkernel-utils.c",
-+ "src/src/microparams-init.c",
-+ "src/src/mutex.c",
-+ "src/src/normalization.c",
-+ "src/src/operator-delete.c",
-+ "src/src/operator-run.c",
-+ "src/src/operator-utils.c",
-+ "src/src/pack-lh.cc",
-+ "src/src/params.c",
-+ "src/src/runtime.c",
-+ "src/src/sanitizers.c",
-+ "src/src/subgraph.c",
-+ "src/src/tensor.c",
-+ "src/src/xnnpack/fingerprint_check.c",
-+ "src/src/xnnpack/init-once.c"
- ]
-
- deps = xnnpack_deps + [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
- public_configs = [ ":xnnpack_public_config" ]
- }
-@@ -2306,39 +2605,39 @@ if (build_with_internal_optimization_gui
- configs += [ ":xnnpack_private_config" ]
-
- sources = [
-- "build_identifier.c",
-- "src/include/xnnpack.h",
-+ "src/include/xnnpack.h",
-+ "build_identifier.c",
- "src/src/allocator.c",
-- "src/src/cache.c",
-- "src/src/datatype.c",
-- "src/src/indirection.c",
-- "src/src/init.c",
-- "src/src/log.c",
-- "src/src/memory-planner.c",
-- "src/src/memory.c",
-- "src/src/microkernel-utils.c",
-- "src/src/microparams-init.c",
-- "src/src/mutex.c",
-- "src/src/normalization.c",
-- "src/src/operator-delete.c",
-- "src/src/operator-run.c",
-- "src/src/operator-utils.c",
-- "src/src/pack-lh.cc",
-- "src/src/params.c",
-- "src/src/runtime.c",
-- "src/src/sanitizers.c",
-- "src/src/subgraph.c",
-- "src/src/tensor.c",
-- "src/src/xnnpack/fingerprint_check.c",
-- "src/src/xnnpack/init-once.c",
-+ "src/src/cache.c",
-+ "src/src/datatype.c",
-+ "src/src/indirection.c",
-+ "src/src/init.c",
-+ "src/src/log.c",
-+ "src/src/memory-planner.c",
-+ "src/src/memory.c",
-+ "src/src/microkernel-utils.c",
-+ "src/src/microparams-init.c",
-+ "src/src/mutex.c",
-+ "src/src/normalization.c",
-+ "src/src/operator-delete.c",
-+ "src/src/operator-run.c",
-+ "src/src/operator-utils.c",
-+ "src/src/pack-lh.cc",
-+ "src/src/params.c",
-+ "src/src/runtime.c",
-+ "src/src/sanitizers.c",
-+ "src/src/subgraph.c",
-+ "src/src/tensor.c",
-+ "src/src/xnnpack/fingerprint_check.c",
-+ "src/src/xnnpack/init-once.c"
- ]
-
- deps = xnnpack_standalone_deps + [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
- public_configs = [ ":xnnpack_public_config" ]
-
-@@ -2349,67487 +2648,78274 @@ if (build_with_internal_optimization_gui
- }
-
- if (current_cpu == "x64" || current_cpu == "x86") {
-- if (build_with_chromium) {
-- source_set(
-- "bf16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-avx512skx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("bf16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-avx512skx-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "bf16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-avx512skx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("bf16-f32-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-avx512skx-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-f32-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("bf16-f32-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "bf16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "bf16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("bf16-qs8-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-f32-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-qs8-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("bf16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-avx512skx-u128.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("bf16-qu8-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-avx512skx-u128.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-qu8-vcvt_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("bf16-qs8-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("bf16-rminmax_x64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
+ }
+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qs8-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-rminmax_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-vunary/gen/bf16-vunary-avx512skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-avx512skx-u128.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-vunary/gen/bf16-vunary-avx512skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("bf16-vunary_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-avx512skx-u128.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-vunary_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("bf16-qu8-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("configs_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/configs/argmaxpool-config.c",
-- "src/src/configs/avgpool-config.c",
-- "src/src/configs/binary-elementwise-config.c",
-- "src/src/configs/cmul-config.c",
-- "src/src/configs/conv-hwc2chw-config.c",
-- "src/src/configs/dwconv-config.c",
-- "src/src/configs/dwconv2d-chw-config.c",
-- "src/src/configs/gemm-config.c",
-- "src/src/configs/hardware-config.c",
-- "src/src/configs/ibilinear-chw-config.c",
-- "src/src/configs/ibilinear-config.c",
-- "src/src/configs/lut32norm-config.c",
-- "src/src/configs/maxpool-config.c",
-- "src/src/configs/pack-lh-config.c",
-- "src/src/configs/raddstoreexpminusmax-config.c",
-- "src/src/configs/reduce-config.c",
-- "src/src/configs/spmm-config.c",
-- "src/src/configs/transpose-config.c",
-- "src/src/configs/unary-elementwise-config.c",
-- "src/src/configs/unpool-config.c",
-- "src/src/configs/vmulcaddc-config.c",
-- "src/src/configs/x8-lut-config.c",
-- "src/src/configs/xx-fill-config.c",
-- "src/src/configs/xx-pad-config.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("configs_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qu8-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/configs/argmaxpool-config.c",
-- "src/src/configs/avgpool-config.c",
-- "src/src/configs/binary-elementwise-config.c",
-- "src/src/configs/cmul-config.c",
-- "src/src/configs/conv-hwc2chw-config.c",
-- "src/src/configs/dwconv-config.c",
-- "src/src/configs/dwconv2d-chw-config.c",
-- "src/src/configs/gemm-config.c",
-- "src/src/configs/hardware-config.c",
-- "src/src/configs/ibilinear-chw-config.c",
-- "src/src/configs/ibilinear-config.c",
-- "src/src/configs/lut32norm-config.c",
-- "src/src/configs/maxpool-config.c",
-- "src/src/configs/pack-lh-config.c",
-- "src/src/configs/raddstoreexpminusmax-config.c",
-- "src/src/configs/reduce-config.c",
-- "src/src/configs/spmm-config.c",
-- "src/src/configs/transpose-config.c",
-- "src/src/configs/unary-elementwise-config.c",
-- "src/src/configs/unpool-config.c",
-- "src/src/configs/vmulcaddc-config.c",
-- "src/src/configs/x8-lut-config.c",
-- "src/src/configs/xx-fill-config.c",
-- "src/src/configs/xx-pad-config.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("enums_x64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/enums/allocation-type.c",
-- "src/src/enums/datatype-strings.c",
-- "src/src/enums/microkernel-type.c",
-- "src/src/enums/node-type.c",
-- "src/src/enums/operator-type.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("enums_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/enums/allocation-type.c",
-- "src/src/enums/datatype-strings.c",
-- "src/src/enums/microkernel-type.c",
-- "src/src/enums/node-type.c",
-- "src/src/enums/operator-type.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("bf16-rminmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-avgpool_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-f16c.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-avgpool_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-f16c.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-avgpool_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-rminmax_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-avgpool_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-avx512skx.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-dwconv-25p32c-minmax-avx512fp16-acc2.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-3p32c-minmax-avx512fp16.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-4p32c-minmax-avx512fp16.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p32c-minmax-avx512fp16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-dwconv-25p32c-minmax-avx512fp16-acc2.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-3p32c-minmax-avx512fp16.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-4p32c-minmax-avx512fp16.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p32c-minmax-avx512fp16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-avx512skx.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-dwconv_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-fma3-acc2.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-fma3.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-fma3.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-fma3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-dwconv_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-fma3-acc2.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-fma3.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-fma3.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-fma3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-dwconv_x64") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("bf16-vunary_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
-+ ]
++if (current_cpu == "ppc64") {
++ if (build_with_chromium) {
++ source_set("bf16-f32-vcvt_ppc64") {
++ cflags = []
+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-dwconv_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-vunary_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx-int16-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx-int16-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx512skx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("configs_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx512skx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
++ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-f32-vcvt_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("configs_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32-vcvt_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse2-int16-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse2-int16-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("enums_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse41-int16-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse41-int16-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-f32-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("enums_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32-vcvt_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f16-avgpool_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-f16c.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-1x16-minmax-avx2-broadcast.c",
-- "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-4x16-minmax-avx2-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-1x16-minmax-avx2-broadcast.c",
-- "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-4x16-minmax-avx2-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-avgpool_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-f16c.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-f32acc-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-1x32-minmax-avx512skx-broadcast.c",
-- "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-4x32-minmax-avx512skx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32acc-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-1x32-minmax-avx512skx-broadcast.c",
-- "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-4x32-minmax-avx512skx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x16-minmax-avx2-broadcast.c",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x16-minmax-avx2-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-avgpool_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x16-minmax-avx2-broadcast.c",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x16-minmax-avx2-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x32-minmax-avx512skx-broadcast.c",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-avgpool_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x32-minmax-avx512skx-broadcast.c",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p32c-minmax-avx512fp16-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p32c-minmax-avx512fp16.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p32c-minmax-avx512fp16.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p32c-minmax-avx512fp16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-avx512skx-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p32c-minmax-avx512fp16-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p32c-minmax-avx512fp16.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p32c-minmax-avx512fp16.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p32c-minmax-avx512fp16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-avx512skx-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-dwconv_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-fma3-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-fma3.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-fma3.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-fma3.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-fma3-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-fma3.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-fma3.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-fma3.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-dwconv_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
-- "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
-- "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-ibilinear_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-ibilinear_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx-int16-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-igemm/gen/f16-igemm-1x32-minmax-avx512fp16-broadcast.c",
-- "src/src/f16-igemm/gen/f16-igemm-8x32-minmax-avx512fp16-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-igemm/gen/f16-igemm-1x32-minmax-avx512fp16-broadcast.c",
-- "src/src/f16-igemm/gen/f16-igemm-8x32-minmax-avx512fp16-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-maxpool_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx-int16-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-maxpool_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-maxpool_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-maxpool_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx512skx-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-qs8-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx512skx-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-qs8-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-f16c-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-qu8-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-f16c-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-qu8-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse2-int16-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-raddstoreexpminusmax_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-avx2-rr1-p2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-raddstoreexpminusmax_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-avx2-rr1-p2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-rdminmax_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse2-int16-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rdminmax_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse41-int16-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-avx512skx-u64-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rmin-avx512skx-u64-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-avx512skx-u64-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-avx512skx-u64-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rmin-avx512skx-u64-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-avx512skx-u64-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-avx512fp16-u128-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rmin-avx512fp16-u128-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-avx512fp16-u128-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse41-int16-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-avx512fp16-u128-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rmin-avx512fp16-u128-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-avx512fp16-u128-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-rminmax_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/f16-rmax-f16c-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rminmax_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/f16-rmax-f16c-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-rminmax_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rminmax_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vapproxgelu_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-avx512f-rational-6-4-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-4x16-minmax-avx2-broadcast.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vapproxgelu_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-4x16-minmax-avx2-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-avx512f-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-avx512fp16-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-avx512fp16-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vapproxgelu_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-f16c-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-1x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-4x32-minmax-avx512skx-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vapproxgelu_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-f16c-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vapproxgelu_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-1x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f16-f32acc-gemm/gen/f16-f32acc-gemm-4x32-minmax-avx512skx-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vapproxgelu_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-igemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x16-minmax-avx2-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vbinary/gen/f16-vadd-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vaddc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vdiv-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vdivc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vmax-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vmaxc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vmin-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vminc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vmul-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vmulc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vprelu-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vpreluc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vrdivc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vrpreluc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vrsubc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiff-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiffc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vsub-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vsubc-avx512fp16-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vbinary/gen/f16-vadd-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vaddc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vdiv-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vdivc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vmax-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vmaxc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vmin-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vminc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vmul-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vmulc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vprelu-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vpreluc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vrdivc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vrpreluc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vrsubc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiff-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiffc-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vsub-avx512fp16-u64.c",
-- "src/src/f16-vbinary/gen/f16-vsubc-avx512fp16-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-igemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x16-minmax-avx2-broadcast.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vbinary_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vbinary/gen/f16-vadd-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vaddc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vdiv-f16c-u8.c",
-- "src/src/f16-vbinary/gen/f16-vdivc-f16c-u8.c",
-- "src/src/f16-vbinary/gen/f16-vmax-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmaxc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmin-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vminc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmul-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmulc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vprelu-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vpreluc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vrdivc-f16c-u8.c",
-- "src/src/f16-vbinary/gen/f16-vrpreluc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vrsubc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiff-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiffc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsub-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsubc-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vbinary_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vbinary/gen/f16-vadd-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vaddc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vdiv-f16c-u8.c",
-- "src/src/f16-vbinary/gen/f16-vdivc-f16c-u8.c",
-- "src/src/f16-vbinary/gen/f16-vmax-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmaxc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmin-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vminc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmul-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmulc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vprelu-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vpreluc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vrdivc-f16c-u8.c",
-- "src/src/f16-vbinary/gen/f16-vrpreluc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vrsubc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiff-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiffc-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsub-f16c-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsubc-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vclamp_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vclamp/gen/f16-vclamp-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vclamp_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vclamp/gen/f16-vclamp-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("bf16-f32-vcvt_ppc64_standalone") {
++ cflags = []
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vcos_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-avx512f-poly-3.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vcos_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-avx512f-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-vcos-avx512fp16-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-vcos-avx512fp16-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vcos_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-f16c-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vcos_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-f16c-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vcos_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vcos_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-velu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-velu/gen/f16-velu-avx2-rr1-p3-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-velu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-velu/gen/f16-velu-avx2-rr1-p3-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vexp_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-avx512f-poly-3.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-avx512skx-u64.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vexp_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-avx512skx-u64.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-avx512f-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-vexp-avx512fp16-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-vexp-avx512fp16-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vexp_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-f16c-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vexp_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-f16c-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
++ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vexp_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vexp_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vgelu_x64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vgelu_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vhswish_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vhswish/gen/f16-vhswish-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vhswish_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vhswish/gen/f16-vhswish-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vlog_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-avx512f-rational-1-3-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vlog_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-avx512f-rational-1-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-vlog-avx512fp16-rational-1-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-vlog-avx512fp16-rational-1-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vlog_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-f16c-rational-1-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vlog_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-f16c-rational-1-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vlog_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vlog_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vlrelu_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlrelu/gen/f16-vlrelu-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vlrelu_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlrelu/gen/f16-vlrelu-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vmulcaddc_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-fma3-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
-+ "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vmulcaddc_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-fma3-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ if (build_with_chromium) {
++ source_set("bf16-qs8-vcvt_ppc64") {
++ cflags = []
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vrnd_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrnd/gen/f16-vrndd-f16c-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndne-f16c-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndu-f16c-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndz-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
-+ "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vrnd_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrnd/gen/f16-vrndd-f16c-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndne-f16c-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndu-f16c-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndz-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vrsqrt_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrsqrt/gen/f16-vrsqrt-f16c-rsqrt-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vrsqrt_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrsqrt/gen/f16-vrsqrt-f16c-rsqrt-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-ibilinear_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vsigmoid_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsigmoid/gen/f16-vsigmoid-avx2-rr1-p2-rcp-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsigmoid_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsigmoid/gen/f16-vsigmoid-avx2-rr1-p2-rcp-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vsin_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-ibilinear_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-avx512f-poly-3.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsin_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x32-minmax-avx512fp16-broadcast.c",
-+ "src/src/f16-igemm/gen/f16-igemm-8x32-minmax-avx512fp16-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-avx512f-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-vsin-avx512fp16-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-vsin-avx512fp16-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x32-minmax-avx512fp16-broadcast.c",
-+ "src/src/f16-igemm/gen/f16-igemm-8x32-minmax-avx512fp16-broadcast.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vsin_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-f16c-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsin_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-f16c-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vsin_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-maxpool_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-avx2-u16.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsin_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-maxpool_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-avx2-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vsqrt_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-f16c-rsqrt-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsqrt_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-f16c-rsqrt-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vsqrt_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-maxpool_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-sse41-u8.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsqrt_x64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vtanh_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-maxpool_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-sse41-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-avx512f-rational-5-4-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vtanh_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-avx512skx-u128.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-avx512f-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-vtanh-avx512fp16-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-vtanh-avx512fp16-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-avx512skx-u128.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vtanh_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-f16c-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vtanh_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-f16c-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vtanh_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vtanh_x64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vunary_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vunary/gen/f16-vsqr-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vunary_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vunary/gen/f16-vsqr-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vunary_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vunary/gen/f16-vabs-sse2-u16.c",
-- "src/src/f16-vunary/gen/f16-vneg-sse2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vunary_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vunary/gen/f16-vabs-sse2-u16.c",
-- "src/src/f16-vunary/gen/f16-vneg-sse2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-avx512skx-u128.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-argmaxpool_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-sse2-c4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-argmaxpool_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-sse2-c4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-argmaxpool_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-avx512skx-u128.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-argmaxpool_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-qu8-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-avgpool_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-avgpool_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-avgpool_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qu8-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx512f-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-avgpool_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-raddstoreexpminusmax_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-avx2-rr1-p2-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-avgpool_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-sse2-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-avgpool_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-sse2-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-avgpool_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-raddstoreexpminusmax_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-avx2-rr1-p2-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-avgpool_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f16-rdminmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512skx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512skx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16") {
-- cflags = [
-- "-mavx512bf16",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512bf16-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16_standalone") {
-- cflags = [
-- "-mavx512bf16",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512bf16-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-bf16-vcvt_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-avx512skx-u64-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-avx512skx-u64-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-avx512skx-u64-acc4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-bf16-vcvt_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-avx512skx-u64-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-avx512skx-u64-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-avx512skx-u64-acc4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-conv-hwc2chw_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-sse-2x2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-conv-hwc2chw_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-sse-2x2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-conv-hwc2chw_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-avx512fp16-u128-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-avx512fp16-u128-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-avx512fp16-u128-acc4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-conv-hwc2chw_x64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv2d-chw_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-sse-2x4-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-sse-1x4-acc3.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-sse-4x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-sse-2x4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-avx512fp16-u128-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-avx512fp16-u128-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-avx512fp16-u128-acc4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv2d-chw_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-sse-2x4-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-sse-1x4-acc3.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-sse-4x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-sse-2x4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv2d-chw_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-ssse3-2x4-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv2d-chw_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-ssse3-2x4-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-rminmax_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/f16-rmax-f16c-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv2d-chw_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv2d-chw_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/f16-rmax-f16c-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx512f.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx512f.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx512f.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx512f.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-rminmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx512f.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx512f.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx512f.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx512f.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-fma3.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-fma3.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-fma3.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-fma3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-fma3.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-fma3.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-fma3.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-fma3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-sse.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-sse.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-sse.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-sse.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-sse.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-sse.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-sse.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-sse.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-avx512f-rational-6-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-avx512f-rational-6-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx-u24.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx-u24.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx512skx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-avx512fp16-rational-6-4-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx512skx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
++ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-f16-vcvt_f16c-no-avx2-no-fma") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-avx512fp16-rational-6-4-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-f16-vcvt_f16c-no-avx2-no-fma_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-f16c-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-f16-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-f16-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-f16c-rational-6-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-f16-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-f16-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-f16-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-f16c-rational-6-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-f16-vcvt_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-avx-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-avx-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-avx-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-avx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-avx-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-avx-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-avx-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-avx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-gemm_avx512f") {
-- cflags = [ "-mavx512f" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-avx512f-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x32-minmax-avx512f-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-7x16-minmax-avx512f-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-7x32-minmax-avx512f-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-gemm_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-avx512fp16-u64.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-avx512f-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x32-minmax-avx512f-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-7x16-minmax-avx512f-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-7x32-minmax-avx512f-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-gemm_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-10x8-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x16s4-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-2x16-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x16s4-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-fma3-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-gemm_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-10x8-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x16s4-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-2x16-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x16s4-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-fma3-broadcast.c",
-- "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-fma3-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-avx512fp16-u64.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-gemm_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-sse-load1.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2c4-minmax-sse.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-sse-load1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-gemm_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-sse-load1.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2c4-minmax-sse.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-sse-load1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-gemm_x64") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f16-vbinary_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-f16c-u16.c"
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-gemm_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vbinary_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-f16c-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-ibilinear-chw_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-sse-p8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-ibilinear-chw_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-sse-p8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-ibilinear-chw_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vclamp_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-f16c-u16.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-ibilinear-chw_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vclamp_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-f16c-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-ibilinear_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-ibilinear_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-ibilinear_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vcos_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-avx512f-poly-3.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-ibilinear_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-avx512f-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-igemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-avx-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-avx-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-avx-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-avx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-avx-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-avx-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-avx-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-avx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-igemm_avx512f") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-avx512fp16-poly-3.c"
-+ ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-avx512f-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x32-minmax-avx512f-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-7x16-minmax-avx512f-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-7x32-minmax-avx512f-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-igemm_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-avx512fp16-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-avx512f-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x32-minmax-avx512f-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-7x16-minmax-avx512f-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-7x32-minmax-avx512f-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-igemm_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-10x8-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x16s4-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x16s4-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-fma3-broadcast-prfm.c",
-- "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-fma3-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-igemm_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-10x8-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x16s4-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x16s4-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-fma3-broadcast.c",
-- "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-fma3-broadcast-prfm.c",
-- "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-fma3-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-igemm_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-sse-load1.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2c4-minmax-sse.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-sse-load1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vcos_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-f16c-poly-3.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-igemm_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-sse-load1.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2c4-minmax-sse.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-sse-load1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-igemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-f16c-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-igemm_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-maxpool_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-sse2-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vcos_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-maxpool_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-sse2-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("bf16-qs8-vcvt_ppc64_standalone") {
++ cflags = []
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-maxpool_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-maxpool_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-velu_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-avx2-rr1-p3-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx-broadcast.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx-broadcast.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qc4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx2-broadcast.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx2-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-velu_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-avx2-rr1-p3-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx2-broadcast.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx2-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-qc4w-gemm_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-fma3-broadcast.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-fma3-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc4w-gemm_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-fma3-broadcast.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-fma3-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vexp_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-avx512f-poly-3.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-qc4w-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-sse41-dup.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-sse41-dup.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc4w-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-sse41-dup.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-sse41-dup.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qc4w-gemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-avx512f-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc4w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-avx512fp16-poly-3.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qc8w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx2-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx2-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-avx512fp16-poly-3.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc8w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx2-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx2-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc4w-gemm-1x32-minmax-avx512skx-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc4w-gemm-7x32-minmax-avx512skx-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x32-minmax-avx512skx-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-7x32-minmax-avx512skx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc4w-gemm-1x32-minmax-avx512skx-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc4w-gemm-7x32-minmax-avx512skx-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x32-minmax-avx512skx-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-7x32-minmax-avx512skx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vexp_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-f16c-poly-3.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-qc8w-gemm_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-fma3-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-fma3-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc8w-gemm_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-fma3-broadcast.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-fma3-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qc8w-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-sse41-dup.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-sse41-dup.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-f16c-poly-3.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-sse41-dup.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-sse41-dup.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
++ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qc8w-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vexp_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc8w-gemm_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qs8-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vgelu_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qs8-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-qs8-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qs8-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vhswish_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-f16c-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-qs8-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qs8-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qs8-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vhswish_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-f16c-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qs8-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vlog_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-avx512f-rational-1-3-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qu8-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-avx512f-rational-1-3-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qu8-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-avx512fp16-rational-1-3-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-qu8-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qu8-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qu8-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-avx512fp16-rational-1-3-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qu8-vcvt_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f16-vlog_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-f16c-rational-1-3-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-raddstoreexpminusmax_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-f16c-rational-1-3-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx512f-rr2-p5-u64-acc2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-raddstoreexpminusmax_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f16-vlog_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx512f-rr2-p5-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-raddstoreexpminusmax_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx2-rr2-p5-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-raddstoreexpminusmax_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx2-rr2-p5-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx256skx-rr2-p5-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx256skx-rr2-p5-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-raddstoreexpminusmax_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-sse2-rr2-p5-u16-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vlrelu_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-f16c-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-raddstoreexpminusmax_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-sse2-rr2-p5-u16-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-raddstoreexpminusmax_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlrelu_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-f16c-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-raddstoreexpminusmax_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vmulcaddc_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-fma3-2x.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdminmax_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx-u32.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdminmax_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx-u32.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rdminmax_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vmulcaddc_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-fma3-2x.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx512f-u32.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx512f-u32.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdminmax_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx512f-u32.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx512f-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vrnd_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-f16c-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdminmax_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-sse2-u32.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdminmax_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-sse2-u32.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rdminmax_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrnd_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-f16c-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdminmax_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vrsqrt_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-f16c-rsqrt-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum2_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum2_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum2_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrsqrt_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-f16c-rsqrt-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx512f.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum2_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx512f.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vsigmoid_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-avx2-rr1-p2-rcp-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum2_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum2_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum2_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsigmoid_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-avx2-rr1-p2-rcp-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum2_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vsin_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-avx512f-poly-3.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-avx512f-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx512f-u64.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx512f-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-avx512fp16-poly-3.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-sse2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-sse2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-avx512fp16-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vsin_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-f16c-poly-3.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rminmax_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-avx-u32-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-avx-u32-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-avx-u32-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rminmax_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-avx-u32-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-avx-u32-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-avx-u32-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rminmax_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-f16c-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-avx512f-u64-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-avx512f-u64-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-avx512f-u64-acc4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rminmax_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-avx512f-u64-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-avx512f-u64-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-avx512f-u64-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vsin_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rminmax_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-sse-u16-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-sse-u16-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-sse-u16-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rminmax_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-sse-u16-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-sse-u16-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-sse-u16-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rminmax_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rminmax_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vsqrt_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-f16c-rsqrt-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rsum2_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-avx-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum2_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-avx-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rsum2_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-f16c-rsqrt-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-avx512f-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum2_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vsqrt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rsum2_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-sse2-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum2_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-sse2-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rsum2_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum2_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vtanh_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-avx512f-rational-5-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rsum_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-avx-u32-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-avx-u32-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rsum_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-avx512f-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-avx512f-u32-acc2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-avx512f-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-avx512fp16-rational-5-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-rsum_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-sse2-u16-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-sse2-u16-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rsum_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-avx512fp16-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vtanh_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-f16c-rational-5-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-spmm_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-sse.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-spmm_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-sse.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-spmm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-f16c-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-spmm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vtanh_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vapproxgelu_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx512f-rational-12-10-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vapproxgelu_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f16-vunary_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vsqr-f16c-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx512f-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vapproxgelu_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-fma3-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vapproxgelu_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-fma3-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vunary_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vsqr-f16c-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vapproxgelu_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2-rational-12-10-div.c",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2fma-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vapproxgelu_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2-rational-12-10-div.c",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2fma-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vapproxgelu_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vunary_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-sse2-u16.c",
-+ "src/src/f16-vunary/gen/f16-vneg-sse2-u16.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vapproxgelu_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vunary_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-sse2-u16.c",
-+ "src/src/f16-vunary/gen/f16-vneg-sse2-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vbinary_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vmax-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vmin-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vminc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vmul-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vsub-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vbinary_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vmax-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vmin-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vminc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vmul-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vsub-avx-u16.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vbinary_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vmax-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vmin-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vminc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vmul-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vsub-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-avx512f-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-sse2-c4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vbinary_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vmax-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vmin-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vminc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vmul-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vsub-avx512f-u32.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-avx512f-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vbinary_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmax-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmin-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vminc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmul-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsub-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-sse2-c4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vbinary_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmax-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmin-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vminc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmul-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsub-sse-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vbinary_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vprelu-sse2-u8.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-sse2-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vbinary_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vprelu-sse2-u8.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-sse2-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vbinary_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vbinary_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vclamp_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vclamp_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vclamp_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-avx512f.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-avgpool_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx-u8.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vclamp_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-avx512f.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vclamp_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vclamp_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vclamp_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-avgpool_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx512f-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vclamp_x64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcmul_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx512f-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-avx512f-u32.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcmul_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f32-avgpool_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-sse2-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-avx512f-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcmul_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-fma3-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcmul_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-fma3-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-sse2-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcmul_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcmul_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcmul_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-avgpool_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcmul_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcopysign_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-avx.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-avx.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcopysign_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-avx.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-avx.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcopysign_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-avx512f.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-avx512f.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx512f.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512skx-u16.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcopysign_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512skx-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-avx512f.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-avx512f.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx512f.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcopysign_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-sse2.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-sse2.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcopysign_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-sse2.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-sse2.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcopysign_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16") {
-+ cflags = [
-+ "-mavx512bf16",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512bf16-u16.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcopysign_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16_standalone") {
-+ cflags = [
-+ "-mavx512bf16",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512bf16-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcos_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-avx-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-avx-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcos_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-avx512f-rational-5-4-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-avx512f-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcos_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-fma3-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-fma3-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcos_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-sse2-rational-5-4-div.c",
-- "src/src/f32-vcos/gen/f32-vcos-sse2fma-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-sse-2x2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-sse2-rational-5-4-div.c",
-- "src/src/f32-vcos/gen/f32-vcos-sse2fma-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcos_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-sse-2x2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-velu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-avx-rr2-lut4-p4-perm-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-avx-rr2-lut4-p4-perm-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-velu_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-avx512f-rr1-p6-u64.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-sse-2x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-sse-1x4-acc3.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-sse-4x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-sse-2x4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-avx512f-rr1-p6-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-velu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-avx2-rr1-lut4-p4-perm-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-avx2-rr1-lut4-p4-perm-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-sse-2x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-sse-1x4-acc3.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-sse-4x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-sse-2x4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-velu_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-sse2-rr2-lut16-p3-u12.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-sse2-rr2-lut16-p3-u12.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-velu_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-ssse3-2x4-acc2.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-ssse3-2x4-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vexp_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-avx-rational-3-2-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-avx-rational-3-2-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vexp_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-avx512f-rational-3-2-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-avx512f-rational-3-2-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vexp_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-fma3-rational-3-2-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-fma3-rational-3-2-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vexp_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-sse2-rational-3-2-div.c",
-- "src/src/f32-vexp/gen/f32-vexp-sse2fma-rational-3-2-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-sse2-rational-3-2-div.c",
-- "src/src/f32-vexp/gen/f32-vexp-sse2fma-rational-3-2-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vexp_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx512f.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vgelu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-avx-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-avx-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vgelu_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx512f.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-avx512f-rational-12-10-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-fma3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-avx512f-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vgelu_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-fma3-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-fma3-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-fma3.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vgelu_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-sse2-rational-12-10-div.c",
-- "src/src/f32-vgelu/gen/f32-vgelu-sse2fma-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-sse2-rational-12-10-div.c",
-- "src/src/f32-vgelu/gen/f32-vgelu-sse2fma-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vgelu_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-sse.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-sse.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vhswish_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vhswish_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-avx512f.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-avx512f.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vhswish_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-fma3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-fma3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vhswish_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-sse2.c",
-- "src/src/f32-vhswish/gen/f32-vhswish-sse2fma.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx-u24.c"
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-sse2.c",
-- "src/src/f32-vhswish/gen/f32-vhswish-sse2fma.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vhswish_x64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx-u24.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx512skx-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx512skx-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-f16c-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
-- "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
-- "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-f16c-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse2-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse2-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse41-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse41-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-gemm_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-avx-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-avx-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-avx-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-avx-broadcast.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-avx-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-avx-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-avx-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-avx-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_avx512f") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f32-gemm_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-avx512f-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x32-minmax-avx512f-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-7x16-minmax-avx512f-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-7x32-minmax-avx512f-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-avx512f-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x32-minmax-avx512f-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-7x16-minmax-avx512f-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-7x32-minmax-avx512f-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-gemm_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-10x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x16s4-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-2x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x16s4-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-fma3-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-10x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x16s4-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-2x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x16s4-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-fma3-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-gemm_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-sse-load1.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2c4-minmax-sse.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-sse-load1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-sse-load1.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2c4-minmax-sse.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-sse-load1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear-chw_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-sse-p8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear-chw_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-sse-p8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear-chw_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear-chw_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-sse-u8.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-sse-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f32-igemm_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-avx-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-avx-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-avx-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-avx-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-avx-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-avx-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-avx-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-avx-broadcast.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
-- "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
-- "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-igemm_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-avx512f-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x32-minmax-avx512f-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x16-minmax-avx512f-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x32-minmax-avx512f-broadcast.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-avx512f-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x32-minmax-avx512f-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x16-minmax-avx512f-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x32-minmax-avx512f-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-igemm_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-10x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16s4-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x16s4-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-fma3-broadcast-prfm.c",
-+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-fma3-broadcast.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-10x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16s4-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x16s4-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-fma3-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-fma3-broadcast-prfm.c",
-+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-fma3-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-igemm_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-sse-load1.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2c4-minmax-sse.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-sse-load1.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-sse-load1.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2c4-minmax-sse.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-sse-load1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-igemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-maxpool_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-sse2-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-sse2-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-maxpool_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx512f.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx512f.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx-broadcast.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx-broadcast.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-sse2.c",
-- "src/src/f32-vunary/gen/f32-vneg-sse2.c",
-- "src/src/f32-vunary/gen/f32-vsqr-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-sse2.c",
-- "src/src/f32-vunary/gen/f32-vneg-sse2.c",
-- "src/src/f32-vunary/gen/f32-vsqr-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx-broadcast.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx2-broadcast.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("operators_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("operators_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx2-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-fma3-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-bf16-qb4w-gemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-fma3-broadcast.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-bf16-qb4w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-sse41-dup.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-sse41-dup.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-sse41-dup.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-sse41-dup.c"
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx2-broadcast.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx2-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc4w-gemm-1x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc4w-gemm-7x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-7x32-minmax-avx512skx-broadcast.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc4w-gemm-1x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc4w-gemm-7x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-7x32-minmax-avx512skx-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-fma3-broadcast.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-fma3-broadcast.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-fma3-broadcast.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-sse41-dup.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-sse41-dup.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-sse41-dup.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-sse41-dup.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx2-u64.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx2-u64.c"
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx512skx-u128.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx512skx-u128.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse2-u32.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse2-u32.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse41-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse41-u32.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx-u32.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx2-u64.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx2-u64.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx512skx-u128.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx512skx-u128.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-sse2-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-sse2-u32.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx512f-rr2-p5-u64-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx512f-rr2-p5-u64-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx2-rr2-p5-u32-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx2-rr2-p5-u32-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx256skx-rr2-p5-u32-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx256skx-rr2-p5-u32-acc2.c"
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_x64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-sse2-rr2-p5-u16-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f16-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f16-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-sse2-rr2-p5-u16-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdminmax_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx-u32.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx-u32.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdminmax_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx512f-u32.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx512f-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx512f-u32.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx512f-u32.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdminmax_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-sse2-u32.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-sse2-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-sse2-u32.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-sse2-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdminmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rdsum2_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_x64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdsum2_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx512f.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx512f.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdsum2_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-sse2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-sse2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-rdsum2_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rdsum_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx-u32.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdsum_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx512f-u64.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx512f-u64.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdsum_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-sse2-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-sse2-u16.c"
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_x64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-rdsum_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rminmax_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-avx-u32-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-avx-u32-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-avx-u32-acc4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-avx-u32-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-avx-u32-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-avx-u32-acc4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rminmax_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-avx512f-u64-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-avx512f-u64-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-avx512f-u64-acc4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-avx512f-u64-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-avx512f-u64-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-avx512f-u64-acc4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rminmax_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-sse-u16-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-sse-u16-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-sse-u16-acc4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-sse-u16-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-sse-u16-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-sse-u16-acc4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-rminmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum2_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-avx-u8.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-avx-u8.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rsum2_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-avx512f-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-avx512f-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rsum2_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-sse2-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-sse2-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-rsum2_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qu8-packw_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-avx-u32-acc4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qu8-packw_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-avx-u32-acc4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-avx512f-u32-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-avx512f-u32-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-sse2-u16-acc4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-sse2-u16-acc4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-spmm_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-sse.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-sse.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-spmm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx-rational-12-10-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx-rational-12-10-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx512f-rational-12-10-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx512f-rational-12-10-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-fma3-rational-12-10-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-fma3-rational-12-10-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2-rational-12-10-div.c",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2fma-rational-12-10-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2-rational-12-10-div.c",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2fma-rational-12-10-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vbinary_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-avx-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-avx-u16.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-avx-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vbinary_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-avx512f-u32.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-avx512f-u32.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-avx512f-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vbinary_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-sse-u8.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-sse-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-sse-u8.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vbinary_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vprelu-sse2-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-sse2-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-sse2-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vprelu-sse2-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-sse2-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-sse2-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vbinary_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vclamp_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-avx.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-avx.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vclamp_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-avx512f.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-avx512f.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vclamp_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-sse2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-sse2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vclamp_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vprelu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vprelu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vprelu_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vprelu_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vcmul_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-avx512f-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vpreluc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vpreluc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vpreluc_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-avx512f-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vpreluc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vcmul_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-fma3-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vrpreluc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vrpreluc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vrpreluc_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-fma3-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vrpreluc_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vcmul_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-sse-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-sse-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vcmul_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vcopysign_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-avx.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-avx.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vcopysign_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-avx512f.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx512f.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx512f.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-avx512f.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx512f.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx512f.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vcopysign_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-sse2.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-sse2.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-sse2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-sse2.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-sse2.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-sse2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vcopysign_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vcos_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-avx-rational-5-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-avx-rational-5-4-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vcos_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-avx512f-rational-5-4-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-avx512f-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vcos_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-fma3-rational-5-4-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-fma3-rational-5-4-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vcos_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-sse2-rational-5-4-div.c",
-+ "src/src/f32-vcos/gen/f32-vcos-sse2fma-rational-5-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-sse2-rational-5-4-div.c",
-+ "src/src/f32-vcos/gen/f32-vcos-sse2fma-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vcos_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rdsum_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rdsum_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-rdsum_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rdsum_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-velu_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-avx-rr2-lut4-p4-perm-u32.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-avx-rr2-lut4-p4-perm-u32.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-velu_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-avx512f-rr1-p6-u64.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-avx512f-rr1-p6-u64.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-velu_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-avx2-rr1-lut4-p4-perm-u32.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-avx2-rr1-lut4-p4-perm-u32.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-velu_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-sse2-rr2-lut16-p3-u12.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-sse2-rr2-lut16-p3-u12.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-velu_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vexp_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-avx-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-avx-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vexp_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-avx512f-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-avx512f-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vexp_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-fma3-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-fma3-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vexp_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-sse2-rational-3-2-div.c",
-+ "src/src/f32-vexp/gen/f32-vexp-sse2fma-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-sse2-rational-3-2-div.c",
-+ "src/src/f32-vexp/gen/f32-vexp-sse2fma-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vexp_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vgelu_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-avx-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-avx-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vgelu_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-avx512f-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-avx512f-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vgelu_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-fma3-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-fma3-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vgelu_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-sse2-rational-12-10-div.c",
-+ "src/src/f32-vgelu/gen/f32-vgelu-sse2fma-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-sse2-rational-12-10-div.c",
-+ "src/src/f32-vgelu/gen/f32-vgelu-sse2fma-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vgelu_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vhswish_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-avx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-avx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vhswish_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-avx512f.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-avx512f.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vhswish_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-fma3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-fma3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vhswish_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-sse2.c",
-+ "src/src/f32-vhswish/gen/f32-vhswish-sse2fma.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-sse2.c",
-+ "src/src/f32-vhswish/gen/f32-vhswish-sse2fma.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vhswish_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlog_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlog_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlog_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlog_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
-+ "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
-+ "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlog_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlrelu_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlrelu_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlrelu_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlrelu_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vmulcaddc_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vmulcaddc_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vmulcaddc_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vmulcaddc_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrnd_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrnd_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrnd_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrnd_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsin_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsin_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsin_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
-+ "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
-+ "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsin_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsqrt_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsqrt_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsqrt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vtanh_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vtanh_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_f16c-fma-no-avx2_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vtanh_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
-+ "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
-+ "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vtanh_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-avx.c",
-+ "src/src/f32-vunary/gen/f32-vneg-avx.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-avx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-avx.c",
-+ "src/src/f32-vunary/gen/f32-vneg-avx.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-avx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vunary_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
-+ "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-avx512f.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
-+ "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-avx512f.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vunary_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-sse2.c",
-+ "src/src/f32-vunary/gen/f32-vneg-sse2.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-sse2.c",
-+ "src/src/f32-vunary/gen/f32-vneg-sse2.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vunary_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("operators_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("operators_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-bf16-qb4w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-bf16-qb4w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc2w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc2w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-f16-vcvt_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f16-vcvt_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-packw_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-packw_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnniint8",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnniint8",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnniint8",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnniint8",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-+ cflags = [
-+ "-mamx-int8",
-+ "-mamx-tile",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qu8-packw_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qu8-packw_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rdsum_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rdsum_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rdsum_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mavxvnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
-+ "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
-+ "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vadd_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vadd_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vadd_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vadd_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vaddc_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vaddc_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vaddc_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vaddc_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vcvt_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vcvt_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vcvt_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vcvt_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vmul_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vmul_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vmul_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vmulc_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vmulc_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vmulc_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vprelu_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vprelu_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vprelu_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vprelu_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vpreluc_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vpreluc_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vpreluc_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vpreluc_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vrpreluc_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vrpreluc_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vrpreluc_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vrpreluc_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-rdsum_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-rdsum_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-rsum_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-rsum_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-rsum_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-sse41-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-sse41-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-ssse3-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-ssse3-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse41-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse41-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-ssse3-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-ssse3-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vmul_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-avx-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-avx-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vmul_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vmul_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vmul_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vmulc_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vmulc_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vmulc_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vmulc_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vprelu_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vprelu_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vprelu_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vprelu_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vpreluc_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vpreluc_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vpreluc_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vpreluc_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vrpreluc_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vrpreluc_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-avx2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vrpreluc_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vrpreluc_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("reference_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("reference_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-ibilinear_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-sse2-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-ibilinear_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-sse2-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-ibilinear_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-sse41-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-ibilinear_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-sse41-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-ibilinear_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-ibilinear_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-maxpool_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-sse41-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-sse41-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-maxpool_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-rdminmax_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-sse41-u32.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-sse41-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-sse41-u32.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-sse41-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-rdminmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-rminmax_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-sse41-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-sse41-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-sse41-u32-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-sse41-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-sse41-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-sse41-u32-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-rminmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-avx2-u128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-avx2-u128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-avx512skx-u256.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-avx512skx-u256.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-sse2-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-sse2-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-sse41-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-sse41-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("subgraph_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("subgraph_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("tables_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("tables_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-ibilinear_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-sse2-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-sse2-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-ibilinear_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-sse41-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-sse41-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-ibilinear_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-lut32norm_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-lut32norm_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-maxpool_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-sse2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-sse2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-maxpool_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-rdminmax_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-sse2-u32.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-sse2-u32.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-sse2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-rdminmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-rminmax_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-sse2-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-sse2-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-sse2-u32-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-sse2-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-sse2-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-sse2-u32-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-rminmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-vclamp_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-avx2-u128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-avx2-u128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-avx512skx-u256.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-avx512skx-u256.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-vclamp_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-sse2-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-sse2-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-vclamp_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-packw_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-avx2-u16-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-packw_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-avx2-u16-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx512skx-u16-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx512skx-u16-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-packw_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-packw_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-transposec_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-16x16-reuse-switch-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-transposec_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-16x16-reuse-switch-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-transposec_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-multi-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-transposec_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-multi-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-transposec_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-transposec_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-x32-packw_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-x32-packw_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x24-transposec_ssse3-no-sse4.1") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/x24-transposec-4x4-ssse3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x24-transposec_ssse3-no-sse4.1_standalone") {
-+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/x24-transposec-4x4-ssse3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x24-transposec_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x24-transposec_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-packw_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-avx-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x16s4-gemm-goi-avx-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-avx-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-avx-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x16s4-gemm-goi-avx-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-avx-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-packw_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-avx512f-u4-prfm.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-avx512f-u4-prfm.c",
-+ "src/src/x32-packw/gen/x32-packw-x32c2-gemm-goi-avx512f-u4-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-avx512f-u4-prfm.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-avx512f-u4-prfm.c",
-+ "src/src/x32-packw/gen/x32-packw-x32c2-gemm-goi-avx512f-u4-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-packw_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x2c4-gemm-goi-sse2-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-sse2-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x2c4-gemm-goi-sse2-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-sse2-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-packw_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-transposec_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-8x8-reuse-multi-avx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-8x8-reuse-multi-avx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-transposec_sse-no-sse2") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/x32-transposec-4x4-sse.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_sse-no-sse2_standalone") {
-+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/x32-transposec-4x4-sse.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-transposec_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-unpool_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-unpool_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-unpool_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-unpool_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x64-transposec_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x4-reuse-multi-avx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x64-transposec_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x4-reuse-multi-avx.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x64-transposec_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-2x2-multi-mov-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x64-transposec_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-2x2-multi-mov-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x64-transposec_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x64-transposec_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-lut_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-avx-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-lut_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-avx-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-lut_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-avx2-u128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-lut_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-avx2-u128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-avx512skx-vpshufb-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-avx512skx-vpshufb-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vbmi") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vbmi",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-avx512vbmi-vpermx2b-u128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vbmi_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vbmi",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-avx512vbmi-vpermx2b-u128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-lut_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-lut_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-packq_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packq_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-packw_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packw_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-transposec_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-32x32-reuse-switch-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-transposec_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-32x32-reuse-switch-avx2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-transposec_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-mov-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-transposec_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-mov-sse2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-transposec_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-transposec_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-copy_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-copy_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-fill_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-sse2-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-fill_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-sse2-u64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-fill_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-fill_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-pad_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p64-avx512skx-u128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-pad_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p64-avx512skx-u128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-pad_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p16-sse2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-pad_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p16-sse2-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-pad_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-pad_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-transposev_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-transposev_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+}
-+
-+if (current_cpu == "arm64") {
-+if (build_with_chromium) {
-+ source_set("bf16-f32-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-neon-u8.c",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-f32-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-neon-u8.c",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("bf16-qs8-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qs8-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("bf16-qu8-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qu8-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("bf16-rminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-neon-u32-acc4.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-neon-u32-acc4.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-neon-u32-acc4.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-rminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-neon-u32-acc4.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-neon-u32-acc4.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-neon-u32-acc4.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("bf16-vunary_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-neon.c",
-+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-vunary_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-neon.c",
-+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("configs_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("configs_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("enums_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("enums_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-avgpool_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-neonfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-avgpool_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-neonfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-avgpool_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-avgpool_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-dwconv_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-dwconv_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-gemm_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-1x8-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-6x8-minmax-neonfp16arith-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-gemm_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-1x8-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-6x8-minmax-neonfp16arith-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-gemm/gen/f16-gemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-gemm/gen/f16-gemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-ibilinear_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-ibilinear_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-igemm_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-1x8-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-6x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-6x8-minmax-neonfp16arith-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-igemm_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-1x8-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-6x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-6x8-minmax-neonfp16arith-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/f16-igemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-igemm/f16-igemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/f16-igemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-igemm/f16-igemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-maxpool_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-neonfp16arith-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-maxpool_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-neonfp16arith-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-neonfp16arith-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-neonfp16arith-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-qu8-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qu8-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-raddstoreexpminusmax_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-neonfp16arith-rr2-p2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-raddstoreexpminusmax_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-neonfp16arith-rr2-p2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-rdminmax_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-neonfp16arith-u32.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-neonfp16arith-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-neonfp16arith-u32.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-neonfp16arith-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-rdminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-rminmax_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-neonfp16arith-u32-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-neonfp16arith-u32-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-neonfp16arith-u32-acc4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-neonfp16arith-u32-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-neonfp16arith-u32-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-neonfp16arith-u32-acc4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-rminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-spmm_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-spmm/gen/f16-spmm-32x1-minmax-neonfp16arith-pipelined.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-spmm_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-spmm/gen/f16-spmm-32x1-minmax-neonfp16arith-pipelined.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-neonfp16arith-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-neonfp16arith-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-neonfp16-rational-6-4-div.c",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-neonfp16-rational-6-4-div.c",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vbinary_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vbinary_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vclamp_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vclamp_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vcmul_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcmul/gen/f16-vcmul-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcmul_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcmul/gen/f16-vcmul-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vcos_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-neonfp16arith-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-neonfp16arith-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vcos_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-neonfp16-poly-3.c",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-neonfp16-poly-3.c",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-velu_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-neonfp16arith-rr1-p3-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-velu_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-neonfp16arith-rr1-p3-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vexp_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-neonfp16arith-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-neonfp16arith-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vexp_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-neonfp16-poly-3.c",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-neonfp16-poly-3.c",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vgelu_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-neonfp16arith-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-neonfp16arith-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vgelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vhswish_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vhswish_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vlog_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-neonfp16arith-rational-1-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-neonfp16arith-rational-1-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vlog_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-neonfp16-rational-1-3-div.c",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-neonfp16-rational-1-3-div.c",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vlrelu_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlrelu_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vmulcaddc_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-neonfp16arith-2x.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vmulcaddc_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-neonfp16arith-2x.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vrnd_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrnd_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vrsqrt_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-neonfp16arith-rsqrt-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrsqrt_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-neonfp16arith-rsqrt-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vsigmoid_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1fma-u32.c",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1recps-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsigmoid_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1fma-u32.c",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1recps-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vsin_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-neonfp16arith-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-neonfp16arith-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vsin_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-neonfp16-poly-3.c",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-neonfp16-poly-3.c",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vsqrt_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-aarch64-neonfp16arith-sqrt-u8.c",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-neonfp16arith-nr1fma1adj-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-aarch64-neonfp16arith-sqrt-u8.c",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-neonfp16arith-nr1fma1adj-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vsqrt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vtanh_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-neonfp16arith-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-neonfp16arith-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vtanh_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-neonfp16-rational-5-4-div.c",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-neonfp16-rational-5-4-div.c",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vunary_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-neonfp16arith-u16.c",
-+ "src/src/f16-vunary/gen/f16-vneg-neonfp16arith-u16.c",
-+ "src/src/f16-vunary/gen/f16-vsqr-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vunary_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-neonfp16arith-u16.c",
-+ "src/src/f16-vunary/gen/f16-vneg-neonfp16arith-u16.c",
-+ "src/src/f16-vunary/gen/f16-vsqr-neonfp16arith-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-neon-c4.c",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-neon-c4.c",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-avgpool_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-neon-u4.c",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-neon-u4.c",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_arch=armv8.2-a+bf16") {
-+ cflags = [
-+ "-march=armv8.2-a+bf16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neonbf16-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_arch=armv8.2-a+bf16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+bf16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neonbf16-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neon-u8.c",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neon-u8.c",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-aarch64-neonfma-2x2.c",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-neon-2x2.c",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-aarch64-neonfma-2x2.c",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-neon-2x2.c",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-aarch64-neonfma-3x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-neon-2x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-aarch64-neonfma-2x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-aarch64-neonfma-4x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-aarch64-neonfma-1x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-aarch64-neonfma-3x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-neon-2x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-aarch64-neonfma-2x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-aarch64-neonfma-4x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-aarch64-neonfma-1x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/f32-dwconv-9p4c-minmax-asm-aarch64-neonfma-cortex-a55.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/f32-dwconv-9p4c-minmax-asm-aarch64-neonfma-cortex-a55.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-neon.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-neonfma-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-neon.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-neonfma.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-neon.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-neonfma.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-neon.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-neonfma.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-neon.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-neonfma-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-neon.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-neonfma.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-neon.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-neonfma.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-neon.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-neonfma.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-neon-u8.c",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-neonfp16-u16.c",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-neon-u8.c",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-neonfp16-u16.c",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-gemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-acc4.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-asm-aarch64-neonfma-ld128.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a73.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-ld128.S",
-+ "src/src/f32-gemm/gen/f32-gemm-7x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-+ "src/src/f32-gemm/gen/f32-gemm-8x8-minmax-asm-aarch64-neonfma-ld128-2.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-acc4.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-asm-aarch64-neonfma-ld128.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a73.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-ld128.S",
-+ "src/src/f32-gemm/gen/f32-gemm-7x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-+ "src/src/f32-gemm/gen/f32-gemm-8x8-minmax-asm-aarch64-neonfma-ld128-2.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8s4-minmax-neonfma.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x16-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-aarch64-neonfma-lane-ld64.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-neon-lane-ld64.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-neon-lane-ld128.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8s4-minmax-neonfma.c",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8s4-minmax-neonfma.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x8s4-minmax-neonfma.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x16-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-aarch64-neonfma-lane-ld64.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-neon-lane-ld64.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-neon-lane-ld128.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x8s4-minmax-neonfma.c",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-gemm/gen/f32-gemm-6x8s4-minmax-neonfma.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear-chw_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-neon-p8.c",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-neonfma-p8.c",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear-chw_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-neon-p8.c",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-neonfma-p8.c",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-neon-u8.c",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-neonfma-u8.c",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-neon-u8.c",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-neonfma-u8.c",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-igemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-+ "src/src/f32-igemm/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-+ "src/src/f32-igemm/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a73.S",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-ld64.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-ld128.S",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-+ "src/src/f32-igemm/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-+ "src/src/f32-igemm/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a73.S",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-ld64.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-ld128.S",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-igemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8s4-minmax-neonfma.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x16-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-aarch64-neonfma-lane-ld64.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-neon-lane-ld64.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-neon-lane-ld128.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8s4-minmax-neonfma.c",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8s4-minmax-neonfma.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x8s4-minmax-neonfma.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x16-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-aarch64-neonfma-lane-ld64.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-neon-lane-ld64.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-neon-lane-ld128.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x8s4-minmax-neonfma.c",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-igemm/gen/f32-igemm-6x8s4-minmax-neonfma.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-maxpool_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-neon-u4.c",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-neon-u4.c",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-6x8-minmax-aarch64-neonfma-lane-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-aarch64-neonfma-lane-ld128.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-6x8-minmax-aarch64-neonfma-lane-ld128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-acc4.S",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-asm-aarch64-neonfma-ld128.S",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-6x8-minmax-asm-aarch64-neonfma-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-acc4.S",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-asm-aarch64-neonfma-ld128.S",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-6x8-minmax-asm-aarch64-neonfma-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-aarch64-neonfma-lane-ld64.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-6x8-minmax-aarch64-neonfma-lane-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-aarch64-neonfma-lane-ld64.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-neon-lane-ld64.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-6x8-minmax-aarch64-neonfma-lane-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-neon-u32.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-neonv8-u32.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-neon-u32.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-neonv8-u32.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-neon-u32.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-neonv8-u32.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-neon-u32.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-neonv8-u32.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-neonfma-rr1-lut64-p2-u16-acc2.c",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-neonfma-rr1-lut64-p2-u16-acc2.c",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-rdminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-neon-u32.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-neon-u32.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-neon-u32.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-neon-u32.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-rdsum2_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-neon.c",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-neon.c",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-rdsum_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-neon-u16.c",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-neon-u16.c",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-rminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-neon-u16-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-neon-u16-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-neon-u16-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-neon-u16-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-neon-u16-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-neon-u16-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-rsum2_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-neon.c",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-neon.c",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-rsum_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-neon-u16-acc4.c",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-neon-u16-acc4.c",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-spmm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-neon.c",
-+ "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-neonfma-pipelined.c",
-+ "src/src/f32-spmm/gen/f32-spmm-32x2-minmax-aarch64-neonfma.c",
-+ "src/src/f32-spmm/gen/f32-spmm-32x4-minmax-aarch64-neonfma.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-neon.c",
-+ "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-neonfma-pipelined.c",
-+ "src/src/f32-spmm/gen/f32-spmm-32x2-minmax-aarch64-neonfma.c",
-+ "src/src/f32-spmm/gen/f32-spmm-32x4-minmax-aarch64-neonfma.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-neon-rational-12-10-div.c",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-neon-rational-12-10-div.c",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vbinary_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-aarch64-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-aarch64-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-aarch64-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-aarch64-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-aarch64-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-aarch64-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-neon-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vclamp_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-neon.c",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-neon.c",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vcmul_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-neon-u8.c",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-neon-u8.c",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vcopysign_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-neon.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-neon.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-neon.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-neon.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-neon.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-neon.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vcos_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-neon-rational-5-4-div.c",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-neon-rational-5-4-div.c",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-velu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-neon-rr2-lut16-p3-u8.c",
-+ "src/src/f32-velu/gen/f32-velu-neonfma-rr1-lut16-p3-u16.c",
-+ "src/src/f32-velu/gen/f32-velu-neonfma-rr1-p6-u8.c",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-neon-rr2-lut16-p3-u8.c",
-+ "src/src/f32-velu/gen/f32-velu-neonfma-rr1-lut16-p3-u16.c",
-+ "src/src/f32-velu/gen/f32-velu-neonfma-rr1-p6-u8.c",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vexp_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-neon-rational-3-2-div.c",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-neon-rational-3-2-div.c",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vgelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-neon-rational-12-10-div.c",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-neon-rational-12-10-div.c",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vhswish_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-neon.c",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-neon.c",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlog_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-neon-rational-3-3-div.c",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-neon-rational-3-3-div.c",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vlrelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-neon-u8.c",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-neon-u8.c",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vmulcaddc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neon-2x.c",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neonfma-2x.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vmulcaddc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neon-2x.c",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neonfma-2x.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrnd_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-neon-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndd-neonv8-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-neon-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-neonv8-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-neon-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-neonv8-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-neon-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-neonv8-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-neon-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndd-neonv8-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-neon-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-neonv8-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-neon-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-neonv8-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-neon-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-neonv8-u8.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-neon-rsqrt.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-neon-rsqrt.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-neon-rr2-lut64-p2-nr2recps-u8.c",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-neonfma-rr1-lut64-p2-nr2recps-u16.c",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-neon-rr2-lut64-p2-nr2recps-u8.c",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-neonfma-rr1-lut64-p2-nr2recps-u16.c",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsin_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-neon-rational-5-4-div.c",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-neon-rational-5-4-div.c",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vsqrt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-aarch64-neon-sqrt.c",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-aarch64-neon-sqrt.c",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vtanh_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-neon-rational-9-8-div.c",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-neon-rational-9-8-div.c",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vunary_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-neon.c",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-neon.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-neon.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-neon.c",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-neon.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-neon.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("operators_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("operators_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme.c",
-+ "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme.c",
-+ "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("pf16-gemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme.c",
-+ "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme2.c",
-+ "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme.c",
-+ "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("pf16-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme.c",
-+ "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme2.c",
-+ "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme.c",
-+ "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("pf32-gemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme.c",
-+ "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme2.c",
-+ "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme.c",
-+ "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("pf32-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme.c",
-+ "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme2.c",
-+ "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme.c",
-+ "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("pf32-igemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme.c",
-+ "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("pf32-igemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme.c",
-+ "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme.c",
-+ "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme.c",
-+ "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pqs8-qc4w-gemm/pqs8-qc4w-gemm-32x32c4-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pqs8-qc4w-gemm/pqs8-qc4w-gemm-32x32c4-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-1x32c4-minmax-neonsme2.c",
-+ "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-32x32c4-minmax-neonsme.c",
-+ "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-32x32c4-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-1x32c4-minmax-neonsme2.c",
-+ "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-32x32c4-minmax-neonsme.c",
-+ "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-32x32c4-minmax-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qb4-packw_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qb4-packw/gen/qb4-packw-x16c4-gemm-goi-aarch64-neondot.c",
-+ "src/src/qb4-packw/gen/qb4-packw-x16c8-gemm-goi-aarch64-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qb4-packw_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qb4-packw/gen/qb4-packw-x16c4-gemm-goi-aarch64-neondot.c",
-+ "src/src/qb4-packw/gen/qb4-packw-x16c8-gemm-goi-aarch64-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c4-minmax-neondot.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x16c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c4-minmax-neondot.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x16c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-bf16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16+bf16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16+bf16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-neoni8mmbf16.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x16c8-minmax-neoni8mmbf16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-bf16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16+bf16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16+bf16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-neoni8mmbf16.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x16c8-minmax-neoni8mmbf16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-bf16-qb4w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-bf16-qb4w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+dotprod+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-4x16c4-minmax-neondotfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-4x16c4-minmax-neondotfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16-minmax-neonfp16arith-mlal-lane.c",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-6x16-minmax-neonfp16arith-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16-minmax-neonfp16arith-mlal-lane.c",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-6x16-minmax-neonfp16arith-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc2w-gemm_arch=armv8.2-a+dotprod+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-2x8c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c4-minmax-neondotfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc2w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-2x8c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c4-minmax-neondotfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc2w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc2w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+dotprod+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x16c4-minmax-neondotfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x16c4-minmax-neondotfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16-minmax-neonfp16arith-mlal-lane.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-6x16-minmax-neonfp16arith-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16-minmax-neonfp16arith-mlal-lane.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-6x16-minmax-neonfp16arith-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+dotprod+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x8c4-minmax-neondotfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x8c4-minmax-neondotfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c2s4-minmax-neonfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-2x8c2s4-minmax-neonfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c2s4-minmax-neonfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-2x8c2s4-minmax-neonfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondotfp16arith-cortex-a55.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondotfp16arith-cortex-a55.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+dotprod+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x8c4-minmax-neondotfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+dotprod+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-neondotfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x8c4-minmax-neondotfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c2s4-minmax-neonfp16arith-mlal.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-2x8c2s4-minmax-neonfp16arith-mlal.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c2s4-minmax-neonfp16arith-mlal.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-2x8c2s4-minmax-neonfp16arith-mlal.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x16c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x16c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16-minmax-neon-mlal-lane.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-6x16-minmax-neon-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16-minmax-neon-mlal-lane.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-6x16-minmax-neon-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-2x8c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-2x8c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x16c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x16c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16-minmax-neon-mlal-lane.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-6x16-minmax-neon-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16-minmax-neon-mlal-lane.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-6x16-minmax-neon-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16-minmax-neon-mlal-lane-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c2s4-minmax-neon-mlal.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-2x8c2s4-minmax-neon-mlal.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16-minmax-neon-mlal-lane-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16-minmax-neon-mlal-lane-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c2s4-minmax-neon-mlal.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-2x8c2s4-minmax-neon-mlal.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16-minmax-neon-mlal-lane-prfm.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-neondot.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c4-minmax-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-neoni8mm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c8-minmax-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16-minmax-neon-mlal-lane-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8-minmax-neon-mlal-lane.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c2s4-minmax-neon-mlal.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-2x8c2s4-minmax-neon-mlal.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16-minmax-neon-mlal-lane-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8-minmax-neon-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16-minmax-neon-mlal-lane-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8-minmax-neon-mlal-lane.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c2s4-minmax-neon-mlal.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-2x8c2s4-minmax-neon-mlal.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16-minmax-neon-mlal-lane-prfm.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8-minmax-neon-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-1x64c4-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-1x64c4-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-16x4c16s2-mstep4-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-16x4c16s2-mstep4-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-1x64c4-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-1x64c4-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-f16-vcvt_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-neonfp16arith-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f16-vcvt_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-neonfp16arith-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-neon-u32.c",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-neon-u32.c",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-packw_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-goi-neondot.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-goi-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-goi-neondot.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-goi-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-packw_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-8x8c4-minmax-fp32-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-8x8c4-minmax-fp32-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16-minmax-fp32-asm-aarch64-neondot-ld128.S",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x16-minmax-fp32-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16-minmax-fp32-asm-aarch64-neondot-ld128.S",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x16-minmax-fp32-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neon-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neon-mla8-ld128.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld128.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neon-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neon-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neon-mla8-ld128.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld128.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neon-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c4-minmax-fp32-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c4-minmax-fp32-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-ld64.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-cortex-a55.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-ld64.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-cortex-a55.S",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-neoni8mm.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c8-minmax-fp32-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-neoni8mm.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c8-minmax-fp32-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16-minmax-fp32-neonv8-mlal-lane.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c2s4-minmax-fp32-neon-mlal.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c2s4-minmax-fp32-neonv8-mlal.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c2s4-minmax-fp32-neon-mlal.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c2s4-minmax-fp32-neonv8-mlal.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16-minmax-fp32-neonv8-mlal-lane.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c2s4-minmax-fp32-neon-mlal.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c2s4-minmax-fp32-neonv8-mlal.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c2s4-minmax-fp32-neon-mlal.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c2s4-minmax-fp32-neonv8-mlal.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c4-minmax-fp32-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c4-minmax-fp32-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-ld64.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-asm-aarch64-neondot-cortex-a55.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-ld64.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-asm-aarch64-neondot-cortex-a55.S",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-asm-aarch64-neondot-ld128.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-neoni8mm.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c8-minmax-fp32-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-neoni8mm.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c8-minmax-fp32-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16-minmax-fp32-neonv8-mlal-lane.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c2s4-minmax-fp32-neon-mlal.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c2s4-minmax-fp32-neonv8-mlal.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c2s4-minmax-fp32-neon-mlal.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c2s4-minmax-fp32-neonv8-mlal.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16-minmax-fp32-neonv8-mlal-lane.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c2s4-minmax-fp32-neon-mlal.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c2s4-minmax-fp32-neonv8-mlal.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c2s4-minmax-fp32-neon-mlal.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c2s4-minmax-fp32-neonv8-mlal.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-qu8-packw_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qu8-packw_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rdsum_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-neon-u32.c",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-neon-u32.c",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-neondot-u32-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-neondot-u32-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-neon-u32-acc2.c",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-neon-u32-acc2.c",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vadd_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-neon-ld64-u16.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-neon-ld64-u32.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-neon-ld64-u16.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-neon-ld64-u32.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vaddc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-neon-ld64-u16.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-neon-ld64-u32.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-neon-ld64-u16.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-neon-ld64-u32.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-neon-u32.c",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-neon-u32.c",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-neon-u32.c",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-neon-u32.c",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vmul_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vmulc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-vprelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vprelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-vpreluc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vpreluc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-vrpreluc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vrpreluc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-rndnu-neon-mul8.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-rndnu-neon-mul8.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-rndnu-neon-mul8.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-rndnu-neon-mul8.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-neon-u32.c",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-neon-u32.c",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-neon-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-neon-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-neon-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-neon-mlal-lane.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-rdsum_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u16.c",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u32.c",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u16.c",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u32.c",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_x64") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-rsum_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-neon-u32-acc2.c",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-neon-u32-acc2.c",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u16.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u32.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u16.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u32.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u16.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u32.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u16.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u32.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-neon-u32.c",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-neon-u32.c",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vmul_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vmulc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vprelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vprelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vpreluc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vpreluc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vrpreluc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vrpreluc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("reference_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("reference_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-ibilinear_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u16.c",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u8.c",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-ibilinear_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u16.c",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u8.c",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_x64") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("s8-maxpool_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("s8-rdminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-u32.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-u32.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-u32.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-u32.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("s8-rminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("subgraph_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("subgraph_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+if (build_with_chromium) {
-+ source_set("tables_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("tables_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-ibilinear_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u16.c",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u8.c",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u16.c",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u8.c",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-lut32norm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-lut32norm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-maxpool_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-neon-u16.c",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-neon-u16.c",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-rdminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-u32.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-u32.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-u32.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-u32.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-rminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-vclamp_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-neon-u64.c",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-neon-u64.c",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-pack-lh_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-pack-lh/x16-packlh-igemm-neonsme.c",
-+ "src/src/x16-pack-lh/x16-packlh-igemm-neonsme2.c",
-+ "src/src/x16-pack-lh/x16-packlh-neonsme.c",
-+ "src/src/x16-pack-lh/x16-packlh-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-pack-lh/x16-packlh-igemm-neonsme.c",
-+ "src/src/x16-pack-lh/x16-packlh-igemm-neonsme2.c",
-+ "src/src/x16-pack-lh/x16-packlh-neonsme.c",
-+ "src/src/x16-pack-lh/x16-packlh-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-packw_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-packw_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-transposec_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
-+ "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-dec-zip-neon.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-transposec_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
-+ "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-dec-zip-neon.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x16-x32-packw_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-x32-packw_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x24-transposec_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c",
-+ "src/src/x24-transposec/x24-transposec-2x2-neon-tbl64.c",
-+ "src/src/x24-transposec/x24-transposec-4x4-aarch64-neon-tbl128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x24-transposec_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c",
-+ "src/src/x24-transposec/x24-transposec-2x2-neon-tbl64.c",
-+ "src/src/x24-transposec/x24-transposec-4x4-aarch64-neon-tbl128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-pack-lh_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-pack-lh/x32-packlh-igemm-neonsme.c",
-+ "src/src/x32-pack-lh/x32-packlh-igemm-neonsme2.c",
-+ "src/src/x32-pack-lh/x32-packlh-neonsme.c",
-+ "src/src/x32-pack-lh/x32-packlh-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-pack-lh/x32-packlh-igemm-neonsme.c",
-+ "src/src/x32-pack-lh/x32-packlh-igemm-neonsme2.c",
-+ "src/src/x32-pack-lh/x32-packlh-neonsme.c",
-+ "src/src/x32-pack-lh/x32-packlh-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-packw_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-gio-neon-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-neon-ld4lane-u4-prfm.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-neon-ld2lane-u2-prfm.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-neon-ld4lane-u4-prfm.c",
-+ "src/src/x32-packw/gen/x32-packw-x8s4-gemm-goi-neon-ld4lane-u4-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-gio-neon-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-neon-ld4lane-u4-prfm.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-neon-ld2lane-u2-prfm.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-neon-ld4lane-u4-prfm.c",
-+ "src/src/x32-packw/gen/x32-packw-x8s4-gemm-goi-neon-ld4lane-u4-prfm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-transposec_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
-+ "src/src/x32-transposec/gen/x32-transposec-4x4-reuse-dec-zip-neon.c",
-+ "src/src/x32-transposec/x32-transposec-4x4-aarch64-neon-tbl128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
-+ "src/src/x32-transposec/gen/x32-transposec-4x4-reuse-dec-zip-neon.c",
-+ "src/src/x32-transposec/x32-transposec-4x4-aarch64-neon-tbl128.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x32-unpool_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-neon.c",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-unpool_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-neon.c",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x64-transposec_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-2x2-multi-dec-zip-neon.c",
-+ "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x64-transposec_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-2x2-multi-dec-zip-neon.c",
-+ "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-lut_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-lut_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-pack-lh/x8-packlh-igemm-neonsme.c",
-+ "src/src/x8-pack-lh/x8-packlh-igemm-neonsme2.c",
-+ "src/src/x8-pack-lh/x8-packlh-neonsme.c",
-+ "src/src/x8-pack-lh/x8-packlh-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-pack-lh/x8-packlh-igemm-neonsme.c",
-+ "src/src/x8-pack-lh/x8-packlh-igemm-neonsme2.c",
-+ "src/src/x8-pack-lh/x8-packlh-neonsme.c",
-+ "src/src/x8-pack-lh/x8-packlh-neonsme2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-packq_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-aarch64-neon-f16qp8-u2.c",
-+ "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packq_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-aarch64-neon-f16qp8-u2.c",
-+ "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-packw_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packw_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("x8-transposec_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-dec-zip-neon.c",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-transposec_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-dec-zip-neon.c",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-copy_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-copy_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-fill_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-neon-u64.c",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-fill_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-neon-u64.c",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-pad_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p16-neon-u16.c",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-pad_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p16-neon-u16.c",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("xx-transposev_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-transposev_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+}
-+
-+if (current_cpu == "riscv64") {
-+if (build_with_chromium) {
-+ source_set("bf16-f32-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-f32-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("bf16-qs8-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qs8-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("bf16-qu8-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qu8-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("bf16-rminmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-rminmax_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("bf16-vunary_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-vunary_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("configs_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("configs_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("enums_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("enums_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-avgpool_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-rvvfp16arith-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-avgpool_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-rvvfp16arith-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-avgpool_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-avgpool_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-dwconv_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p8vc-minmax-rvvfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p8vc-minmax-rvvfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-dwconv_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-gemm_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x4v-minmax-rvvfp16arith.c",
-+ "src/src/f16-gemm/gen/f16-gemm-7x4v-minmax-rvvfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x4v-minmax-rvvfp16arith.c",
-+ "src/src/f16-gemm/gen/f16-gemm-7x4v-minmax-rvvfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-igemm_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x4v-minmax-rvvfp16arith.c",
-+ "src/src/f16-igemm/gen/f16-igemm-7x4v-minmax-rvvfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x4v-minmax-rvvfp16arith.c",
-+ "src/src/f16-igemm/gen/f16-igemm-7x4v-minmax-rvvfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-maxpool_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-rvvfp16arith-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-maxpool_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-rvvfp16arith-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-qu8-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qu8-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-rvvfp16arith-rr2-p2-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-rvvfp16arith-rr2-p2-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-rvvfp16arith-u8v.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-rvvfp16arith-u8v.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-rdminmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-rminmax_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-rvvfp16arith-u8v.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-rvvfp16arith-u8v.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-rvvfp16arith-u8v.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-rvvfp16arith-u8v.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-rminmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-spmm_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-spmm/gen/f16-spmm-8vx1-minmax-rvvfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-spmm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-spmm/gen/f16-spmm-8vx1-minmax-rvvfp16arith.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-rvvfp16arith-rational-6-4-div-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-rvvfp16arith-rational-6-4-div-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vbinary_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vbinary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vclamp_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vclamp_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vcmul_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcmul/gen/f16-vcmul-rvvfp16arith-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcmul_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcmul/gen/f16-vcmul-rvvfp16arith-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vcos_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-rvvfp16arith-poly-3-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-rvvfp16arith-poly-3-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vcos_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-velu_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-rvvfp16arith-rr1-p3-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-velu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-rvvfp16arith-rr1-p3-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vexp_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-rvvfp16arith-poly-3-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-rvvfp16arith-poly-3-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vexp_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vgelu_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-rvvfp16arith-rational-6-4-div-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-rvvfp16arith-rational-6-4-div-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vgelu_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vhswish_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vhswish_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vlog_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-rvvfp16arith-rational-1-3-div-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-rvvfp16arith-rational-1-3-div-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vlog_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c4v-minmax-rvvfp16arith-2x.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c4v-minmax-rvvfp16arith-2x.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-rvvfp16arith-rsqrt-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-rvvfp16arith-rsqrt-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-rvvfp16arith-rr2-p2-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-rvvfp16arith-rr2-p2-u2v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-rvvfp16arith-poly-3-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-rvvfp16arith-poly-3-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vsin_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-rvvfp16arith-sqrt-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-rvvfp16arith-sqrt-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vsqrt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-rvvfp16arith-rational-5-4-div-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-rvvfp16arith-rational-5-4-div-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vtanh_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-rvvfp16arith-u8v.c",
-+ "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
-+ "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-rvvfp16arith-u8v.c",
-+ "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
-+ "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vmul_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmul_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vmul_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmul_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vmul_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-avgpool_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmul_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vmul_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmul_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-avgpool_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vmulc_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vmulc_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmulc_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vmulc_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmulc_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vmulc_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmulc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vprelu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vprelu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vprelu_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vprelu_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vpreluc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vpreluc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vpreluc_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vpreluc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vrpreluc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vrpreluc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vrpreluc_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vrpreluc_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("reference_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/reference/binary-elementwise.cc",
-- "src/src/reference/packing.cc",
-- "src/src/reference/unary-elementwise.cc",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("reference_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/reference/binary-elementwise.cc",
-- "src/src/reference/packing.cc",
-- "src/src/reference/unary-elementwise.cc",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("s8-ibilinear_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-ibilinear_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-ibilinear_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-ibilinear_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-ibilinear_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-ibilinear_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("s8-maxpool_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-maxpool_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-maxpool_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-maxpool_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("s8-rdminmax_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-sse41-u32.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-rdminmax_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-sse41-u32.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-rdminmax_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-rdminmax_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("s8-rminmax_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-sse41-u32-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-sse41-u32-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-sse41-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-rminmax_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-sse41-u32-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-sse41-u32-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-sse41-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-rminmax_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-rminmax_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-gemm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("s8-vclamp_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-avx2-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-vclamp_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-avx2-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "s8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-avx512skx-u256.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "s8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-avx512skx-u256.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("s8-vclamp_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-sse2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-vclamp_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-sse2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("s8-vclamp_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-sse41-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-vclamp_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-sse41-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-vclamp_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-vclamp_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear-chw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("subgraph_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/subgraph/argmax-pooling-2d.c",
-- "src/src/subgraph/average-pooling-2d.c",
-- "src/src/subgraph/batch-matrix-multiply.c",
-- "src/src/subgraph/binary.c",
-- "src/src/subgraph/concatenate.c",
-- "src/src/subgraph/convolution-2d.c",
-- "src/src/subgraph/copy.c",
-- "src/src/subgraph/deconvolution-2d.c",
-- "src/src/subgraph/deprecated.c",
-- "src/src/subgraph/depth-to-space-2d.c",
-- "src/src/subgraph/depthwise-convolution-2d.c",
-- "src/src/subgraph/even-split.c",
-- "src/src/subgraph/fully-connected-sparse.c",
-- "src/src/subgraph/fully-connected.c",
-- "src/src/subgraph/max-pooling-2d.c",
-- "src/src/subgraph/pack-lh.c",
-- "src/src/subgraph/reshape-helpers.c",
-- "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-- "src/src/subgraph/rope.c",
-- "src/src/subgraph/softmax.c",
-- "src/src/subgraph/space-to-depth-2d.c",
-- "src/src/subgraph/static-constant-pad.c",
-- "src/src/subgraph/static-reduce.c",
-- "src/src/subgraph/static-resize-bilinear-2d.c",
-- "src/src/subgraph/static-slice.c",
-- "src/src/subgraph/static-transpose.c",
-- "src/src/subgraph/subgraph-utils.c",
-- "src/src/subgraph/unary.c",
-- "src/src/subgraph/unpooling-2d.c",
-- "src/src/subgraph/validation.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("subgraph_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear-chw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/subgraph/argmax-pooling-2d.c",
-- "src/src/subgraph/average-pooling-2d.c",
-- "src/src/subgraph/batch-matrix-multiply.c",
-- "src/src/subgraph/binary.c",
-- "src/src/subgraph/concatenate.c",
-- "src/src/subgraph/convolution-2d.c",
-- "src/src/subgraph/copy.c",
-- "src/src/subgraph/deconvolution-2d.c",
-- "src/src/subgraph/deprecated.c",
-- "src/src/subgraph/depth-to-space-2d.c",
-- "src/src/subgraph/depthwise-convolution-2d.c",
-- "src/src/subgraph/even-split.c",
-- "src/src/subgraph/fully-connected-sparse.c",
-- "src/src/subgraph/fully-connected.c",
-- "src/src/subgraph/max-pooling-2d.c",
-- "src/src/subgraph/pack-lh.c",
-- "src/src/subgraph/reshape-helpers.c",
-- "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-- "src/src/subgraph/rope.c",
-- "src/src/subgraph/softmax.c",
-- "src/src/subgraph/space-to-depth-2d.c",
-- "src/src/subgraph/static-constant-pad.c",
-- "src/src/subgraph/static-reduce.c",
-- "src/src/subgraph/static-resize-bilinear-2d.c",
-- "src/src/subgraph/static-slice.c",
-- "src/src/subgraph/static-transpose.c",
-- "src/src/subgraph/subgraph-utils.c",
-- "src/src/subgraph/unary.c",
-- "src/src/subgraph/unpooling-2d.c",
-- "src/src/subgraph/validation.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("tables_x64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/tables/exp2-k-over-2048.c",
-- "src/src/tables/exp2-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-16.c",
-- "src/src/tables/exp2minus-k-over-2048.c",
-- "src/src/tables/exp2minus-k-over-32.c",
-- "src/src/tables/exp2minus-k-over-4.c",
-- "src/src/tables/exp2minus-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-8.c",
-- "src/src/tables/vlog.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("tables_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/tables/exp2-k-over-2048.c",
-- "src/src/tables/exp2-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-16.c",
-- "src/src/tables/exp2minus-k-over-2048.c",
-- "src/src/tables/exp2minus-k-over-32.c",
-- "src/src/tables/exp2minus-k-over-4.c",
-- "src/src/tables/exp2minus-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-8.c",
-- "src/src/tables/vlog.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("u8-ibilinear_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-ibilinear_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("u8-ibilinear_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-ibilinear_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-ibilinear_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-ibilinear_x64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-lut32norm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-lut32norm/u8-lut32norm-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-lut32norm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-lut32norm/u8-lut32norm-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-igemm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("u8-maxpool_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-sse2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-maxpool_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-sse2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-maxpool_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-maxpool_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-igemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("u8-rdminmax_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-sse2-u32.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rdminmax_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-sse2-u32.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-rdminmax_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rdminmax_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-maxpool_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("u8-rminmax_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-sse2-u32-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-sse2-u32-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-sse2-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rminmax_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-sse2-u32-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-sse2-u32-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-sse2-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-rminmax_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rminmax_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-maxpool_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("u8-vclamp_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-avx2-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-vclamp_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-avx2-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "u8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-avx512skx-u256.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "u8-vclamp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-avx512skx-u256.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-vclamp_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-sse2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-vclamp_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-sse2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-vclamp_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-vclamp_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x16-packw_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-avx2-u16-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-packw_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-avx2-u16-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx512skx-u16-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx512skx-u16-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x16-packw_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-packw_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x16-transposec_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-16x16-reuse-switch-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-transposec_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-16x16-reuse-switch-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x16-transposec_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-multi-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-transposec_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-multi-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x16-transposec_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-transposec_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x16-x32-packw_x64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-x32-packw_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x24-transposec_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x24-transposec/x24-transposec-4x4-ssse3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x24-transposec_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x24-transposec/x24-transposec-4x4-ssse3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x24-transposec_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x24-transposec_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("x32-packw_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-avx-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x16s4-gemm-goi-avx-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-avx-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-packw_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-avx-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x16s4-gemm-goi-avx-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-avx-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x32-packw_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-avx512f-u4-prfm.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-avx512f-u4-prfm.c",
-- "src/src/x32-packw/gen/x32-packw-x32c2-gemm-goi-avx512f-u4-prfm.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-packw_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-avx512f-u4-prfm.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-avx512f-u4-prfm.c",
-- "src/src/x32-packw/gen/x32-packw-x32c2-gemm-goi-avx512f-u4-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x32-packw_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x2c4-gemm-goi-sse2-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-sse2-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-packw_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x2c4-gemm-goi-sse2-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-sse2-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("x32-packw_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-packw_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x32-transposec_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-8x8-reuse-multi-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-transposec_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-8x8-reuse-multi-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("x32-transposec_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/x32-transposec-4x4-sse.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-transposec_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/x32-transposec-4x4-sse.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x32-transposec_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rdminmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-transposec_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x32-unpool_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-unpool/x32-unpool-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-unpool_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-unpool/x32-unpool-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x32-unpool_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-unpool/x32-unpool-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-unpool_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-unpool/x32-unpool-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x64-transposec_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-4x4-reuse-multi-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x64-transposec_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-4x4-reuse-multi-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x64-transposec_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-2x2-multi-mov-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rdsum2_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x64-transposec_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-2x2-multi-mov-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x64-transposec_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x64-transposec_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdsum_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("x8-lut_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-avx-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-lut_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-avx-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x8-lut_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-avx2-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-lut_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-avx2-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-avx512skx-vpshufb-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-avx512skx-vpshufb-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdsum_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vbmi") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vbmi",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-avx512vbmi-vpermx2b-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "x8-lut_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vbmi_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vbmi",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-avx512vbmi-vpermx2b-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x8-lut_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-lut_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-rminmax_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x8-packq_x64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-packq_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x8-packw_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rminmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-packw_x64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x8-transposec_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-32x32-reuse-switch-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-transposec_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-32x32-reuse-switch-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("x8-transposec_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-mov-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-transposec_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-mov-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rsum2_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("x8-transposec_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-transposec_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("xx-copy_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum2_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-copy_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("xx-fill_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-fill/xx-fill-sse2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-fill_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-fill/xx-fill-sse2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("xx-fill_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-fill/xx-fill-scalar-u16.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-fill_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-fill/xx-fill-scalar-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("xx-pad_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p64-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "xx-pad_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p64-avx512skx-u128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("xx-pad_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p16-sse2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-pad_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p16-sse2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("xx-pad_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-pad_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-spmm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("xx-transposev_x64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-transposev_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
- }
-
--if (current_cpu == "arm64") {
-- if (build_with_chromium) {
-- source_set("bf16-f32-vcvt_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-neon-u8.c",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-spmm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-f32-vcvt_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-neon-u8.c",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("bf16-qs8-vcvt_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-qs8-vcvt_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("bf16-qu8-vcvt_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-qu8-vcvt_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("bf16-rminmax_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-rminmax/gen/bf16-rmax-neon-u32-acc4.c",
-- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-neon-u32-acc4.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-neon-u32-acc4.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-rminmax_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-rminmax/gen/bf16-rmax-neon-u32-acc4.c",
-- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-neon-u32-acc4.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-neon-u32-acc4.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("bf16-vunary_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-vunary/gen/bf16-vunary-neon.c",
-- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-vunary_arm64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-vunary/gen/bf16-vunary-neon.c",
-- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vbinary_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("configs_arm64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/configs/argmaxpool-config.c",
-- "src/src/configs/avgpool-config.c",
-- "src/src/configs/binary-elementwise-config.c",
-- "src/src/configs/cmul-config.c",
-- "src/src/configs/conv-hwc2chw-config.c",
-- "src/src/configs/dwconv-config.c",
-- "src/src/configs/dwconv2d-chw-config.c",
-- "src/src/configs/gemm-config.c",
-- "src/src/configs/hardware-config.c",
-- "src/src/configs/ibilinear-chw-config.c",
-- "src/src/configs/ibilinear-config.c",
-- "src/src/configs/lut32norm-config.c",
-- "src/src/configs/maxpool-config.c",
-- "src/src/configs/pack-lh-config.c",
-- "src/src/configs/raddstoreexpminusmax-config.c",
-- "src/src/configs/reduce-config.c",
-- "src/src/configs/spmm-config.c",
-- "src/src/configs/transpose-config.c",
-- "src/src/configs/unary-elementwise-config.c",
-- "src/src/configs/unpool-config.c",
-- "src/src/configs/vmulcaddc-config.c",
-- "src/src/configs/x8-lut-config.c",
-- "src/src/configs/xx-fill-config.c",
-- "src/src/configs/xx-pad-config.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("configs_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/configs/argmaxpool-config.c",
-- "src/src/configs/avgpool-config.c",
-- "src/src/configs/binary-elementwise-config.c",
-- "src/src/configs/cmul-config.c",
-- "src/src/configs/conv-hwc2chw-config.c",
-- "src/src/configs/dwconv-config.c",
-- "src/src/configs/dwconv2d-chw-config.c",
-- "src/src/configs/gemm-config.c",
-- "src/src/configs/hardware-config.c",
-- "src/src/configs/ibilinear-chw-config.c",
-- "src/src/configs/ibilinear-config.c",
-- "src/src/configs/lut32norm-config.c",
-- "src/src/configs/maxpool-config.c",
-- "src/src/configs/pack-lh-config.c",
-- "src/src/configs/raddstoreexpminusmax-config.c",
-- "src/src/configs/reduce-config.c",
-- "src/src/configs/spmm-config.c",
-- "src/src/configs/transpose-config.c",
-- "src/src/configs/unary-elementwise-config.c",
-- "src/src/configs/unpool-config.c",
-- "src/src/configs/vmulcaddc-config.c",
-- "src/src/configs/x8-lut-config.c",
-- "src/src/configs/xx-fill-config.c",
-- "src/src/configs/xx-pad-config.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("enums_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/enums/allocation-type.c",
-- "src/src/enums/datatype-strings.c",
-- "src/src/enums/microkernel-type.c",
-- "src/src/enums/node-type.c",
-- "src/src/enums/operator-type.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("enums_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vbinary_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/enums/allocation-type.c",
-- "src/src/enums/datatype-strings.c",
-- "src/src/enums/microkernel-type.c",
-- "src/src/enums/node-type.c",
-- "src/src/enums/operator-type.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-avgpool_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-neonfp16arith.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-avgpool_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vclamp_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-neonfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-avgpool_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-avgpool_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vclamp_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-vcmul_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-dwconv_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-dwconv_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-dwconv_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-dwconv_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vcmul_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32-vcvt_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32-vcvt_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vcopysign_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vcos_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-gemm_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-gemm/gen/f16-gemm-1x8-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-gemm/gen/f16-gemm-6x8-minmax-neonfp16arith-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-gemm_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vcos_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-gemm/gen/f16-gemm-1x8-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-gemm/gen/f16-gemm-6x8-minmax-neonfp16arith-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- "src/src/f16-gemm/gen/f16-gemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- "src/src/f16-gemm/gen/f16-gemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-velu_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-ibilinear_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-ibilinear_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-velu_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-igemm_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-igemm/gen/f16-igemm-1x16-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-igemm/gen/f16-igemm-1x8-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-igemm/gen/f16-igemm-6x16-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-igemm/gen/f16-igemm-6x8-minmax-neonfp16arith-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-igemm_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-igemm/gen/f16-igemm-1x16-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-igemm/gen/f16-igemm-1x8-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-igemm/gen/f16-igemm-6x16-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-igemm/gen/f16-igemm-6x8-minmax-neonfp16arith-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- asmflags = cflags
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-igemm/f16-igemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- "src/src/f16-igemm/f16-igemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-- "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-- "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-- "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("f32-vexp_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- asmflags = cflags
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-igemm/f16-igemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- "src/src/f16-igemm/f16-igemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-- "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-- "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-- "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-maxpool_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-neonfp16arith-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-maxpool_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vexp_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-neonfp16arith-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-qs8-vcvt_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-neonfp16arith-u32.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-qs8-vcvt_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-neonfp16arith-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-qs8-vcvt_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vgelu_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-qs8-vcvt_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-qu8-vcvt_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-qu8-vcvt_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vgelu_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-raddstoreexpminusmax_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-neonfp16arith-rr2-p2-u32.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-raddstoreexpminusmax_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-neonfp16arith-rr2-p2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-rdminmax_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-neonfp16arith-u32.c",
-- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-neonfp16arith-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vhswish_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rdminmax_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-neonfp16arith-u32.c",
-- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-neonfp16arith-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-rdminmax_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rdminmax_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vhswish_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-rminmax_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-neonfp16arith-u32-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rmin-neonfp16arith-u32-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-neonfp16arith-u32-acc4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rminmax_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-neonfp16arith-u32-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rmin-neonfp16arith-u32-acc4.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-neonfp16arith-u32-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-rminmax_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vlog_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rminmax_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-spmm_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-spmm/gen/f16-spmm-32x1-minmax-neonfp16arith-pipelined.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-spmm_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vlog_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-spmm/gen/f16-spmm-32x1-minmax-neonfp16arith-pipelined.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vapproxgelu_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-neonfp16arith-rational-6-4-div.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vapproxgelu_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-neonfp16arith-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vapproxgelu_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-neonfp16-rational-6-4-div.c",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vapproxgelu_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-neonfp16-rational-6-4-div.c",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vbinary_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vbinary/gen/f16-vadd-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vaddc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vdiv-aarch64-neonfp16arith-u8.c",
-- "src/src/f16-vbinary/gen/f16-vdiv-fp16arith-u2.c",
-- "src/src/f16-vbinary/gen/f16-vdivc-aarch64-neonfp16arith-u8.c",
-- "src/src/f16-vbinary/gen/f16-vdivc-fp16arith-u2.c",
-- "src/src/f16-vbinary/gen/f16-vmax-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmaxc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmin-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vminc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmul-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmulc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vprelu-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vpreluc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vrdivc-aarch64-neonfp16arith-u8.c",
-- "src/src/f16-vbinary/gen/f16-vrdivc-fp16arith-u2.c",
-- "src/src/f16-vbinary/gen/f16-vrpreluc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vrsubc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiff-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiffc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsub-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsubc-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vbinary_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vlrelu_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vbinary/gen/f16-vadd-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vaddc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vdiv-aarch64-neonfp16arith-u8.c",
-- "src/src/f16-vbinary/gen/f16-vdiv-fp16arith-u2.c",
-- "src/src/f16-vbinary/gen/f16-vdivc-aarch64-neonfp16arith-u8.c",
-- "src/src/f16-vbinary/gen/f16-vdivc-fp16arith-u2.c",
-- "src/src/f16-vbinary/gen/f16-vmax-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmaxc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmin-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vminc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmul-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vmulc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vprelu-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vpreluc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vrdivc-aarch64-neonfp16arith-u8.c",
-- "src/src/f16-vbinary/gen/f16-vrdivc-fp16arith-u2.c",
-- "src/src/f16-vbinary/gen/f16-vrpreluc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vrsubc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiff-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiffc-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsub-neonfp16arith-u16.c",
-- "src/src/f16-vbinary/gen/f16-vsubc-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vclamp_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vclamp/gen/f16-vclamp-neonfp16arith-u16.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vclamp_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vclamp/gen/f16-vclamp-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vcmul_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcmul/gen/f16-vcmul-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vcmul_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcmul/gen/f16-vcmul-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vcos_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-vcos-neonfp16arith-poly-3.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vcos_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vmulcaddc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-vcos-neonfp16arith-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vcos_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-neonfp16-poly-3.c",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vmulcaddc_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vcos_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-neonfp16-poly-3.c",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-velu_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-velu/gen/f16-velu-neonfp16arith-rr1-p3-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vrnd_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-velu_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-velu/gen/f16-velu-neonfp16arith-rr1-p3-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vexp_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-vexp-neonfp16arith-poly-3.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vexp_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vrnd_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-vexp-neonfp16arith-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vexp_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-neonfp16-poly-3.c",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vexp_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-neonfp16-poly-3.c",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vgelu_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vgelu/gen/f16-vgelu-neonfp16arith-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vgelu_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vgelu/gen/f16-vgelu-neonfp16arith-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vgelu_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vgelu_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vhswish_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vhswish/gen/f16-vhswish-neonfp16arith-u16.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vhswish_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vhswish/gen/f16-vhswish-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vlog_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-vlog-neonfp16arith-rational-1-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vlog_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-vlog-neonfp16arith-rational-1-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vlog_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-neonfp16-rational-1-3-div.c",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vlog_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-neonfp16-rational-1-3-div.c",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vlrelu_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlrelu/gen/f16-vlrelu-neonfp16arith-u16.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vlrelu_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlrelu/gen/f16-vlrelu-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vmulcaddc_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-neonfp16arith-2x.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vsin_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vmulcaddc_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-neonfp16arith-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vrnd_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrnd/gen/f16-vrndd-neonfp16arith-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndne-neonfp16arith-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndu-neonfp16arith-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndz-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vrnd_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vsin_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrnd/gen/f16-vrndd-neonfp16arith-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndne-neonfp16arith-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndu-neonfp16arith-u16.c",
-- "src/src/f16-vrnd/gen/f16-vrndz-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vrsqrt_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrsqrt/gen/f16-vrsqrt-neonfp16arith-rsqrt-u16.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vrsqrt_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrsqrt/gen/f16-vrsqrt-neonfp16arith-rsqrt-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vsigmoid_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1fma-u32.c",
-- "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1recps-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsigmoid_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1fma-u32.c",
-- "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1recps-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vsin_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-vsin-neonfp16arith-poly-3.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsin_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vsqrt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-vsin-neonfp16arith-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vsin_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-neonfp16-poly-3.c",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsin_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-neonfp16-poly-3.c",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vsqrt_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-aarch64-neonfp16arith-sqrt-u8.c",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-neonfp16arith-nr1fma1adj-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vtanh_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsqrt_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-aarch64-neonfp16arith-sqrt-u8.c",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-neonfp16arith-nr1fma1adj-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vsqrt_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsqrt_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vtanh_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vtanh_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-vtanh-neonfp16arith-rational-5-4-div.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vtanh_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-vtanh-neonfp16arith-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vtanh_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-neonfp16-rational-5-4-div.c",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vunary_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vtanh_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-neonfp16-rational-5-4-div.c",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vunary_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vunary/gen/f16-vabs-neonfp16arith-u16.c",
-- "src/src/f16-vunary/gen/f16-vneg-neonfp16arith-u16.c",
-- "src/src/f16-vunary/gen/f16-vsqr-neonfp16arith-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vunary_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vunary_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vunary/gen/f16-vabs-neonfp16arith-u16.c",
-- "src/src/f16-vunary/gen/f16-vneg-neonfp16arith-u16.c",
-- "src/src/f16-vunary/gen/f16-vsqr-neonfp16arith-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-argmaxpool_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-neon-c4.c",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-argmaxpool_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-neon-c4.c",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-avgpool_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-neon-u4.c",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("operators_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-avgpool_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-neon-u4.c",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-bf16-vcvt_arch=armv8.2-a+bf16") {
-- cflags = [ "-march=armv8.2-a+bf16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("operators_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neonbf16-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-bf16-vcvt_arch=armv8.2-a+bf16_standalone") {
-- cflags = [ "-march=armv8.2-a+bf16" ]
-+if (build_with_chromium) {
-+ source_set("qd8-bf16-qb4w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neonbf16-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-bf16-vcvt_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neon-u8.c",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-bf16-qb4w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-bf16-vcvt_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neon-u8.c",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-conv-hwc2chw_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-aarch64-neonfma-2x2.c",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-neon-2x2.c",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc2w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-conv-hwc2chw_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-aarch64-neonfma-2x2.c",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-neon-2x2.c",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv2d-chw_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc2w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-aarch64-neonfma-3x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-neon-2x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-aarch64-neonfma-2x4-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-neon-1x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-aarch64-neonfma-4x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-neon-1x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-aarch64-neonfma-1x4-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-neon-1x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv2d-chw_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-aarch64-neonfma-3x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-neon-2x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-aarch64-neonfma-2x4-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-neon-1x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-aarch64-neonfma-4x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-neon-1x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-aarch64-neonfma-1x4-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-neon-1x4.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c"
-+ ]
-
-- asmflags = cflags
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/f32-dwconv-9p4c-minmax-asm-aarch64-neonfma-cortex-a55.S",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/f32-dwconv-9p4c-minmax-asm-aarch64-neonfma-cortex-a55.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-neon.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-neonfma-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-neon.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-neonfma.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-neon.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-neonfma.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-neon.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-neonfma.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-neon.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-neonfma-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-neon.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-neonfma.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-neon.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-neonfma.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-neon.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-neonfma.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-f16-vcvt_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-neon-u8.c",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-neonfp16-u16.c",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-f16-vcvt_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-neon-u8.c",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-neonfp16-u16.c",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-gemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-acc4.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-asm-aarch64-neonfma-ld128.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a73.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-ld128.S",
-- "src/src/f32-gemm/gen/f32-gemm-7x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-- "src/src/f32-gemm/gen/f32-gemm-8x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-acc4.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-asm-aarch64-neonfma-ld128.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a73.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-asm-aarch64-neonfma-ld128.S",
-- "src/src/f32-gemm/gen/f32-gemm-7x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-- "src/src/f32-gemm/gen/f32-gemm-8x8-minmax-asm-aarch64-neonfma-ld128-2.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-gemm_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x8s4-minmax-neonfma.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x16-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-aarch64-neonfma-lane-ld64.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-neon-lane-ld64.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-neon-lane-ld128.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x8s4-minmax-neonfma.c",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-gemm/gen/f32-gemm-6x8s4-minmax-neonfma.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-gemm_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x16-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x8s4-minmax-neonfma.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x16-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-aarch64-neonfma-lane-ld64.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-neon-lane-ld64.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-neon-lane-ld128.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x8s4-minmax-neonfma.c",
-- "src/src/f32-gemm/gen/f32-gemm-6x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-gemm/gen/f32-gemm-6x8s4-minmax-neonfma.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-ibilinear-chw_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-neon-p8.c",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-neonfma-p8.c",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-ibilinear-chw_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-neon-p8.c",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-neonfma-p8.c",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-ibilinear_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-neon-u8.c",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-neonfma-u8.c",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-ibilinear_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-neon-u8.c",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-neonfma-u8.c",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-igemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c"
-+ ]
-
-- asmflags = cflags
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-- "src/src/f32-igemm/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-- "src/src/f32-igemm/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a73.S",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-ld64.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-ld128.S",
-- "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
--
-- asmflags = cflags
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-- "src/src/f32-igemm/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a55.S",
-- "src/src/f32-igemm/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a73.S",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-asm-aarch64-neonfma-ld64.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-cortex-a75.S",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-asm-aarch64-neonfma-ld128.S",
-- "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a53.S",
-- "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-cortex-a75-prfm.S",
-- "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-asm-aarch64-neonfma-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-igemm_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x8s4-minmax-neonfma.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x16-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-aarch64-neonfma-lane-ld64.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-neon-lane-ld64.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-neon-lane-ld128.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x8s4-minmax-neonfma.c",
-- "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-igemm/gen/f32-igemm-6x8s4-minmax-neonfma.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-igemm_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x8s4-minmax-neonfma.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x16-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-aarch64-neonfma-lane-ld64.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-neon-lane-ld64.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-neon-lane-ld128.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x8s4-minmax-neonfma.c",
-- "src/src/f32-igemm/gen/f32-igemm-6x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-igemm/gen/f32-igemm-6x8s4-minmax-neonfma.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-maxpool_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-neon-u4.c",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-maxpool_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-neon-u4.c",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qc4w-gemm_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-6x8-minmax-aarch64-neonfma-lane-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc4w-gemm_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-aarch64-neonfma-lane-ld128.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-6x8-minmax-aarch64-neonfma-lane-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
--
-- asmflags = cflags
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-acc4.S",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-asm-aarch64-neonfma-ld128.S",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-6x8-minmax-asm-aarch64-neonfma-ld128.S",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- asmflags = cflags
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-asm-aarch64-neonfma-ld128-acc4.S",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-asm-aarch64-neonfma-ld128.S",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-6x8-minmax-asm-aarch64-neonfma-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qc8w-gemm_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-aarch64-neonfma-lane-ld64.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-6x8-minmax-aarch64-neonfma-lane-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc8w-gemm_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-aarch64-neonfma-lane-ld64.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-neon-lane-ld64.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-6x8-minmax-aarch64-neonfma-lane-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qs8-vcvt_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-neon-u32.c",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-neonv8-u32.c",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qs8-vcvt_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-neon-u32.c",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-neonv8-u32.c",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qu8-vcvt_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-neon-u32.c",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-neonv8-u32.c",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qu8-vcvt_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-neon-u32.c",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-neonv8-u32.c",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-raddstoreexpminusmax_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-neonfma-rr1-lut64-p2-u16-acc2.c",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-raddstoreexpminusmax_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-neonfma-rr1-lut64-p2-u16-acc2.c",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdminmax_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-neon-u32.c",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-neon-u32.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdminmax_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-neon-u32.c",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-neon-u32.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum2_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-neon.c",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum2_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-neon.c",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-neon-u16.c",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-neon-u16.c",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-rminmax_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-neon-u16-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-neon-u16-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-neon-u16-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rminmax_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-neon-u16-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-neon-u16-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-neon-u16-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-rsum2_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-neon.c",
-- "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum2_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-neon.c",
-- "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rsum_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-neon-u16-acc4.c",
-- "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-neon-u16-acc4.c",
-- "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-spmm_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-neon.c",
-- "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-neonfma-pipelined.c",
-- "src/src/f32-spmm/gen/f32-spmm-32x2-minmax-aarch64-neonfma.c",
-- "src/src/f32-spmm/gen/f32-spmm-32x4-minmax-aarch64-neonfma.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-spmm_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-packw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-neon.c",
-- "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-neonfma-pipelined.c",
-- "src/src/f32-spmm/gen/f32-spmm-32x2-minmax-aarch64-neonfma.c",
-- "src/src/f32-spmm/gen/f32-spmm-32x4-minmax-aarch64-neonfma.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vapproxgelu_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-neon-rational-12-10-div.c",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vapproxgelu_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-neon-rational-12-10-div.c",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vbinary_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-aarch64-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-aarch64-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vmax-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmin-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vminc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmul-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-aarch64-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsub-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vbinary_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-aarch64-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-aarch64-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vmax-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmin-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vminc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmul-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-aarch64-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsub-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-neon-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vclamp_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-neon.c",
-- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vclamp_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-neon.c",
-- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcmul_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-neon-u8.c",
-- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcmul_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-neon-u8.c",
-- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcopysign_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcopysign_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcos_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-neon-rational-5-4-div.c",
-- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-neon-rational-5-4-div.c",
-- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-velu_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-neon-rr2-lut16-p3-u8.c",
-- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-lut16-p3-u16.c",
-- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-p6-u8.c",
-- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-neon-rr2-lut16-p3-u8.c",
-- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-lut16-p3-u16.c",
-- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-p6-u8.c",
-- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vexp_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-neon-rational-3-2-div.c",
-- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-neon-rational-3-2-div.c",
-- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vgelu_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-neon-rational-12-10-div.c",
-- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-neon-rational-12-10-div.c",
-- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vhswish_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-neon.c",
-- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-neon.c",
-- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-neon-rational-3-3-div.c",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-neon-rational-3-3-div.c",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-neon-u8.c",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-neon-u8.c",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neon-2x.c",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neonfma-2x.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-qu8-packw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qu8-packw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neon-2x.c",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neonfma-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-neon-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndd-neonv8-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-neon-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-neonv8-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-neon-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-neonv8-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-neon-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-neonv8-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-neon-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndd-neonv8-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-neon-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-neonv8-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-neon-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-neonv8-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-neon-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-neonv8-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-neon-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-rdsum_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-neon-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neon-rr2-lut64-p2-nr2recps-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neonfma-rr1-lut64-p2-nr2recps-u16.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neon-rr2-lut64-p2-nr2recps-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neonfma-rr1-lut64-p2-nr2recps-u16.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-neon-rational-5-4-div.c",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-neon-rational-5-4-div.c",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-aarch64-neon-sqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-aarch64-neon-sqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-neon-rational-9-8-div.c",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_arm64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-neon-rational-9-8-div.c",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_arm64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-neon.c",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-neon.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-neon.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-neon.c",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-neon.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-neon.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("operators_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("operators_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-vadd_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme.c",
-- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme2.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme.c",
-- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("pf16-gemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme.c",
-- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme2.c",
-- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme.c",
-- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("pf16-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme.c",
-- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme2.c",
-- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme.c",
-- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("pf32-gemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme.c",
-- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme2.c",
-- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme.c",
-- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("pf32-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme.c",
-- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme2.c",
-- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme.c",
-- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("pf32-igemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme.c",
-- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-vaddc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("pf32-igemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme.c",
-- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme.c",
-- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+if (build_with_chromium) {
-+ source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme.c",
-- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pqs8-qc4w-gemm/pqs8-qc4w-gemm-32x32c4-minmax-neonsme2.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pqs8-qc4w-gemm/pqs8-qc4w-gemm-32x32c4-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-1x32c4-minmax-neonsme2.c",
-- "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-32x32c4-minmax-neonsme.c",
-- "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-32x32c4-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-1x32c4-minmax-neonsme2.c",
-- "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-32x32c4-minmax-neonsme.c",
-- "src/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-32x32c4-minmax-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qb4-packw_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qb4-packw/gen/qb4-packw-x16c4-gemm-goi-aarch64-neondot.c",
-- "src/src/qb4-packw/gen/qb4-packw-x16c8-gemm-goi-aarch64-neondot.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qb4-packw_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qb4-packw/gen/qb4-packw-x16c4-gemm-goi-aarch64-neondot.c",
-- "src/src/qb4-packw/gen/qb4-packw-x16c8-gemm-goi-aarch64-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c4-minmax-neondot.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x16c4-minmax-neondot.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c4-minmax-neondot.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x16c4-minmax-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-bf16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16+bf16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16+bf16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-neoni8mmbf16.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x16c8-minmax-neoni8mmbf16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-bf16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16+bf16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16+bf16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-neoni8mmbf16.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x16c8-minmax-neoni8mmbf16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-bf16-qb4w-gemm_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-bf16-qb4w-gemm_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+dotprod+fp16") {
-- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-4x16c4-minmax-neondotfp16arith.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-4x16c4-minmax-neondotfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16-minmax-neonfp16arith-mlal-lane.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-6x16-minmax-neonfp16arith-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-vmul_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16-minmax-neonfp16arith-mlal-lane.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-6x16-minmax-neonfp16arith-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+if (build_with_chromium) {
-+ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_arch=armv8.2-a+dotprod+fp16") {
-- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-2x8c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c4-minmax-neondotfp16arith.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-2x8c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c4-minmax-neondotfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-vmulc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+dotprod+fp16") {
-- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x16c4-minmax-neondotfp16arith.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
-+if (build_with_chromium) {
-+ source_set("qs8-vprelu_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x16c4-minmax-neondotfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16-minmax-neonfp16arith-mlal-lane.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-6x16-minmax-neonfp16arith-mlal-lane.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vprelu_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16-minmax-neonfp16arith-mlal-lane.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-6x16-minmax-neonfp16arith-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-vpreluc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vpreluc_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+dotprod+fp16") {
-- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x8c4-minmax-neondotfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
-+if (build_with_chromium) {
-+ source_set("qs8-vrpreluc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x8c4-minmax-neondotfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c2s4-minmax-neonfp16arith.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-2x8c2s4-minmax-neonfp16arith.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vrpreluc_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c2s4-minmax-neonfp16arith.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-2x8c2s4-minmax-neonfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c"
-+ ]
-
-- asmflags = cflags
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondotfp16arith-cortex-a55.S",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondotfp16arith-cortex-a55.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+dotprod+fp16") {
-- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x8c4-minmax-neondotfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+dotprod+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-neondotfp16arith.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x8c4-minmax-neondotfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c2s4-minmax-neonfp16arith-mlal.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-2x8c2s4-minmax-neonfp16arith-mlal.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c2s4-minmax-neonfp16arith-mlal.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-2x8c2s4-minmax-neonfp16arith-mlal.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- asmflags = cflags
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c8-minmax-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-4x16c8-minmax-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x16c4-minmax-neondot.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x16c4-minmax-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16-minmax-neon-mlal-lane.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-6x16-minmax-neon-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16-minmax-neon-mlal-lane.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-6x16-minmax-neon-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-2x8c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c4-minmax-neondot.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-2x8c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c4-minmax-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x16c4-minmax-neondot.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x16c4-minmax-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-rdsum_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16-minmax-neon-mlal-lane.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-6x16-minmax-neon-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16-minmax-neon-mlal-lane.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-6x16-minmax-neon-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c4-minmax-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c4-minmax-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("qu8-rsum_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
-+ ]
-
-- asmflags = cflags
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c8-minmax-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16-minmax-neon-mlal-lane-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c2s4-minmax-neon-mlal.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-2x8c2s4-minmax-neon-mlal.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16-minmax-neon-mlal-lane-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16-minmax-neon-mlal-lane-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c2s4-minmax-neon-mlal.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-2x8c2s4-minmax-neon-mlal.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16-minmax-neon-mlal-lane-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c4-minmax-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-neondot.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c4-minmax-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c"
-+ ]
-
-- asmflags = cflags
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c4-minmax-asm-aarch64-neondot-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c8-minmax-neoni8mm.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-neoni8mm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c8-minmax-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16-minmax-neon-mlal-lane-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8-minmax-neon-mlal-lane.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c2s4-minmax-neon-mlal.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-2x8c2s4-minmax-neon-mlal.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16-minmax-neon-mlal-lane-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8-minmax-neon-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16-minmax-neon-mlal-lane-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8-minmax-neon-mlal-lane.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c2s4-minmax-neon-mlal.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-2x8c2s4-minmax-neon-mlal.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16-minmax-neon-mlal-lane-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8-minmax-neon-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-16x64c4-neonsme2.c",
-- "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-1x64c4-neonsme2.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-16x64c4-neonsme2.c",
-- "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-1x64c4-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-16x4c16s2-mstep4-neoni8mm.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-16x4c16s2-mstep4-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-16x64c4-neonsme2.c",
-- "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-1x64c4-neonsme2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-16x64c4-neonsme2.c",
-- "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-1x64c4-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vmul_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+if (build_with_chromium) {
-+ source_set("qu8-vmul_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme2.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme2.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-rndnu-neon-mla8-ld64.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-rndnu-neon-mla8-ld64.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-rndnu-neon-mla8-ld64.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vmulc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-rndnu-neon-mla8-ld64.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-rndnu-neon-mla8-ld64.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-rndnu-neon-mla8-ld64.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-f16-vcvt_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-neonfp16arith-u32.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f16-vcvt_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("qu8-vprelu_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-neonfp16arith-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-neon-u32.c",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vprelu_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-rvv-u8v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-neon-u32.c",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-goi-neondot.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-goi-neondot.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vprelu_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vprelu_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-goi-neondot.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-goi-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-vpreluc_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-8x8c4-minmax-fp32-neondot.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vpreluc_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-rvv-u8v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-8x8c4-minmax-fp32-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vpreluc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
--
-- asmflags = cflags
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vpreluc_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16-minmax-fp32-asm-aarch64-neondot-ld128.S",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x16-minmax-fp32-asm-aarch64-neondot-ld128.S",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
--
-- asmflags = cflags
-+if (build_with_chromium) {
-+ source_set("qu8-vrpreluc_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16-minmax-fp32-asm-aarch64-neondot-ld128.S",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x16-minmax-fp32-asm-aarch64-neondot-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vrpreluc_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-rvv-u8v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vrpreluc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vrpreluc_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neon-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neon-mla8-ld128.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld128.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neon-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_arm64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neon-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neon-mla8-ld128.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld128.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neon-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("reference_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c4-minmax-fp32-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c4-minmax-fp32-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("reference_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- asmflags = cflags
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-ld64.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("s8-ibilinear_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
-+ ]
-
-- asmflags = cflags
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-ld64.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-ibilinear_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-neoni8mm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c8-minmax-fp32-neoni8mm.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-neoni8mm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c8-minmax-fp32-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("s8-maxpool_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_arm64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16-minmax-fp32-neonv8-mlal-lane.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c2s4-minmax-fp32-neon-mlal.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c2s4-minmax-fp32-neonv8-mlal.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c2s4-minmax-fp32-neon-mlal.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c2s4-minmax-fp32-neonv8-mlal.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16-minmax-fp32-neonv8-mlal-lane.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c2s4-minmax-fp32-neon-mlal.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c2s4-minmax-fp32-neonv8-mlal.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c2s4-minmax-fp32-neon-mlal.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c2s4-minmax-fp32-neonv8-mlal.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c4-minmax-fp32-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("s8-maxpool_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c4-minmax-fp32-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-ld64.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-asm-aarch64-neondot-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-ld64.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c4-minmax-fp32-asm-aarch64-neondot-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-neoni8mm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c8-minmax-fp32-neoni8mm.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-neoni8mm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c8-minmax-fp32-neoni8mm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16-minmax-fp32-neonv8-mlal-lane.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c2s4-minmax-fp32-neon-mlal.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c2s4-minmax-fp32-neonv8-mlal.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c2s4-minmax-fp32-neon-mlal.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c2s4-minmax-fp32-neonv8-mlal.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("s8-rdminmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16-minmax-fp32-neonv8-mlal-lane.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c2s4-minmax-fp32-neon-mlal.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c2s4-minmax-fp32-neonv8-mlal.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c2s4-minmax-fp32-neon-mlal.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x8c2s4-minmax-fp32-neonv8-mlal.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qu8-packw_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qu8-packw_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-neon-u32.c",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("s8-rminmax_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-neon-u32.c",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-neondot-u32-acc2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("s8-rminmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-neondot-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-neon-u32-acc2.c",
-- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-neon-u32-acc2.c",
-- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-neon-ld64-u16.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-neon-ld64-u32.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-neon-ld64-u16.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-neon-ld64-u32.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-neon-ld64-u16.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-neon-ld64-u32.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-neon-ld64-u16.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-neon-ld64-u32.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-neon-u32.c",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-neon-u32.c",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-neon-u32.c",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("subgraph_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-neon-u32.c",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-rndnu-neon-ld64-u16.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("subgraph_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-rndnu-neon-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-rndnu-neon-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("tables_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-rndnu-neon-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vprelu_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("tables_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vprelu_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("u8-ibilinear_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vpreluc_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vpreluc_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vrpreluc_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-lut32norm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vrpreluc_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-lut32norm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-rndnu-neon-mul8.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-rndnu-neon-mul8.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("u8-maxpool_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-rndnu-neon-mul8.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-rndnu-neon-mul8.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-neon-u32.c",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-neon-u32.c",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("u8-maxpool_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- asmflags = cflags
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- asmflags = cflags
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-neon-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-neon-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
--
-- asmflags = cflags
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+if (build_with_chromium) {
-+ source_set("u8-rdminmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- asmflags = cflags
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-neon-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-neon-mlal-lane.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-rdsum_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u16.c",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u32.c",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-rminmax_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rdsum_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u16.c",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u32.c",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-neon-u32-acc2.c",
-- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_arm64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-neon-u32-acc2.c",
-- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("u8-rminmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_arm64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u16.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u32.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_arm64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u16.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u32.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u16.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u32.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u16.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u32.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-neon-u32.c",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-vclamp_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-neon-u32.c",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vmul_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-rndnu-neon-ld64-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmul_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x16-packw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-rndnu-neon-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vmulc_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-rndnu-neon-ld64-u16.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-packw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmulc_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-rndnu-neon-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vprelu_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x16-transposec_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vprelu_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vpreluc_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-transposec_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vpreluc_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x16-x32-packw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vrpreluc_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-x32-packw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vrpreluc_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("reference_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/reference/binary-elementwise.cc",
-- "src/src/reference/packing.cc",
-- "src/src/reference/unary-elementwise.cc",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x24-transposec_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("reference_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/reference/binary-elementwise.cc",
-- "src/src/reference/packing.cc",
-- "src/src/reference/unary-elementwise.cc",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-ibilinear_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x24-transposec_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u16.c",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u8.c",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-ibilinear_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x32-packw_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u16.c",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u8.c",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("s8-maxpool_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-maxpool_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-rdminmax_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-u32.c",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-u32.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x32-packw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-rdminmax_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-u32.c",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-u32.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-rminmax_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-neon-u32-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-neon-u32-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-neon-u32-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-rminmax_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-neon-u32-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-neon-u32-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-neon-u32-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-vclamp_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
-- "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x32-transposec_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-vclamp_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
-- "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("subgraph_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/subgraph/argmax-pooling-2d.c",
-- "src/src/subgraph/average-pooling-2d.c",
-- "src/src/subgraph/batch-matrix-multiply.c",
-- "src/src/subgraph/binary.c",
-- "src/src/subgraph/concatenate.c",
-- "src/src/subgraph/convolution-2d.c",
-- "src/src/subgraph/copy.c",
-- "src/src/subgraph/deconvolution-2d.c",
-- "src/src/subgraph/deprecated.c",
-- "src/src/subgraph/depth-to-space-2d.c",
-- "src/src/subgraph/depthwise-convolution-2d.c",
-- "src/src/subgraph/even-split.c",
-- "src/src/subgraph/fully-connected-sparse.c",
-- "src/src/subgraph/fully-connected.c",
-- "src/src/subgraph/max-pooling-2d.c",
-- "src/src/subgraph/pack-lh.c",
-- "src/src/subgraph/reshape-helpers.c",
-- "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-- "src/src/subgraph/rope.c",
-- "src/src/subgraph/softmax.c",
-- "src/src/subgraph/space-to-depth-2d.c",
-- "src/src/subgraph/static-constant-pad.c",
-- "src/src/subgraph/static-reduce.c",
-- "src/src/subgraph/static-resize-bilinear-2d.c",
-- "src/src/subgraph/static-slice.c",
-- "src/src/subgraph/static-transpose.c",
-- "src/src/subgraph/subgraph-utils.c",
-- "src/src/subgraph/unary.c",
-- "src/src/subgraph/unpooling-2d.c",
-- "src/src/subgraph/validation.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("subgraph_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/subgraph/argmax-pooling-2d.c",
-- "src/src/subgraph/average-pooling-2d.c",
-- "src/src/subgraph/batch-matrix-multiply.c",
-- "src/src/subgraph/binary.c",
-- "src/src/subgraph/concatenate.c",
-- "src/src/subgraph/convolution-2d.c",
-- "src/src/subgraph/copy.c",
-- "src/src/subgraph/deconvolution-2d.c",
-- "src/src/subgraph/deprecated.c",
-- "src/src/subgraph/depth-to-space-2d.c",
-- "src/src/subgraph/depthwise-convolution-2d.c",
-- "src/src/subgraph/even-split.c",
-- "src/src/subgraph/fully-connected-sparse.c",
-- "src/src/subgraph/fully-connected.c",
-- "src/src/subgraph/max-pooling-2d.c",
-- "src/src/subgraph/pack-lh.c",
-- "src/src/subgraph/reshape-helpers.c",
-- "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-- "src/src/subgraph/rope.c",
-- "src/src/subgraph/softmax.c",
-- "src/src/subgraph/space-to-depth-2d.c",
-- "src/src/subgraph/static-constant-pad.c",
-- "src/src/subgraph/static-reduce.c",
-- "src/src/subgraph/static-resize-bilinear-2d.c",
-- "src/src/subgraph/static-slice.c",
-- "src/src/subgraph/static-transpose.c",
-- "src/src/subgraph/subgraph-utils.c",
-- "src/src/subgraph/unary.c",
-- "src/src/subgraph/unpooling-2d.c",
-- "src/src/subgraph/validation.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("tables_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/tables/exp2-k-over-2048.c",
-- "src/src/tables/exp2-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-16.c",
-- "src/src/tables/exp2minus-k-over-2048.c",
-- "src/src/tables/exp2minus-k-over-32.c",
-- "src/src/tables/exp2minus-k-over-4.c",
-- "src/src/tables/exp2minus-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-8.c",
-- "src/src/tables/vlog.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x32-transposec_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("tables_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/tables/exp2-k-over-2048.c",
-- "src/src/tables/exp2-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-16.c",
-- "src/src/tables/exp2minus-k-over-2048.c",
-- "src/src/tables/exp2minus-k-over-32.c",
-- "src/src/tables/exp2minus-k-over-4.c",
-- "src/src/tables/exp2minus-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-8.c",
-- "src/src/tables/vlog.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-ibilinear_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u16.c",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u8.c",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-ibilinear_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x32-unpool_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u16.c",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u8.c",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("u8-lut32norm_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-lut32norm/u8-lut32norm-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-unpool_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-lut32norm_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-lut32norm/u8-lut32norm-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-maxpool_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-neon-u16.c",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x64-transposec_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-maxpool_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-neon-u16.c",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-rdminmax_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x64-transposec_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-u32.c",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-u32.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rdminmax_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-u32.c",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-u32.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-rminmax_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-neon-u32-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-neon-u32-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-neon-u32-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x8-lut_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rminmax_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-neon-u32-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-neon-u32-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-neon-u32-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-vclamp_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-lut_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-neon-u64.c",
-- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-vclamp_arm64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-neon-u64.c",
-- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("x8-packq_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("x16-pack-lh_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-pack-lh/x16-packlh-igemm-neonsme.c",
-- "src/src/x16-pack-lh/x16-packlh-igemm-neonsme2.c",
-- "src/src/x16-pack-lh/x16-packlh-neonsme.c",
-- "src/src/x16-pack-lh/x16-packlh-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packq_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-pack-lh/x16-packlh-igemm-neonsme.c",
-- "src/src/x16-pack-lh/x16-packlh-igemm-neonsme2.c",
-- "src/src/x16-pack-lh/x16-packlh-neonsme.c",
-- "src/src/x16-pack-lh/x16-packlh-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x16-packw_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-packw_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x8-packw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x16-transposec_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
-- "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-dec-zip-neon.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-transposec_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
-- "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-dec-zip-neon.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x16-x32-packw_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x8-transposec_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-x32-packw_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x24-transposec_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-transposec_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c",
-- "src/src/x24-transposec/x24-transposec-2x2-neon-tbl64.c",
-- "src/src/x24-transposec/x24-transposec-4x4-aarch64-neon-tbl128.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x24-transposec_arm64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c",
-- "src/src/x24-transposec/x24-transposec-2x2-neon-tbl64.c",
-- "src/src/x24-transposec/x24-transposec-4x4-aarch64-neon-tbl128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("xx-copy_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("x32-pack-lh_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-pack-lh/x32-packlh-igemm-neonsme.c",
-- "src/src/x32-pack-lh/x32-packlh-igemm-neonsme2.c",
-- "src/src/x32-pack-lh/x32-packlh-neonsme.c",
-- "src/src/x32-pack-lh/x32-packlh-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-copy_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-pack-lh/x32-packlh-igemm-neonsme.c",
-- "src/src/x32-pack-lh/x32-packlh-igemm-neonsme2.c",
-- "src/src/x32-pack-lh/x32-packlh-neonsme.c",
-- "src/src/x32-pack-lh/x32-packlh-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x32-packw_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-gio-neon-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-neon-ld4lane-u4-prfm.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-neon-ld2lane-u2-prfm.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-neon-ld4lane-u4-prfm.c",
-- "src/src/x32-packw/gen/x32-packw-x8s4-gemm-goi-neon-ld4lane-u4-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-packw_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("xx-fill_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-gio-neon-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-goi-neon-ld4lane-u4-prfm.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-neon-ld2lane-u2-prfm.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-neon-ld4lane-u4-prfm.c",
-- "src/src/x32-packw/gen/x32-packw-x8s4-gemm-goi-neon-ld4lane-u4-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x32-transposec_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
-- "src/src/x32-transposec/gen/x32-transposec-4x4-reuse-dec-zip-neon.c",
-- "src/src/x32-transposec/x32-transposec-4x4-aarch64-neon-tbl128.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-fill_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-transposec_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
-- "src/src/x32-transposec/gen/x32-transposec-4x4-reuse-dec-zip-neon.c",
-- "src/src/x32-transposec/x32-transposec-4x4-aarch64-neon-tbl128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x32-unpool_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-unpool/x32-unpool-neon.c",
-- "src/src/x32-unpool/x32-unpool-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("xx-pad_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-unpool_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-unpool/x32-unpool-neon.c",
-- "src/src/x32-unpool/x32-unpool-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x64-transposec_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-pad_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-2x2-multi-dec-zip-neon.c",
-- "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
-- "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x64-transposec_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("xx-transposev_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-2x2-multi-dec-zip-neon.c",
-- "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
-- "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x8-lut_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
-- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-transposev_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-lut_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
-- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+}
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-pack-lh/x8-packlh-igemm-neonsme.c",
-- "src/src/x8-pack-lh/x8-packlh-igemm-neonsme2.c",
-- "src/src/x8-pack-lh/x8-packlh-neonsme.c",
-- "src/src/x8-pack-lh/x8-packlh-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (current_cpu == "ppc64") {
-+if (build_with_chromium) {
-+ source_set("bf16-f32-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-pack-lh/x8-packlh-igemm-neonsme.c",
-- "src/src/x8-pack-lh/x8-packlh-igemm-neonsme2.c",
-- "src/src/x8-pack-lh/x8-packlh-neonsme.c",
-- "src/src/x8-pack-lh/x8-packlh-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x8-packq_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packq/x8-packq-aarch64-neon-f16qp8-u2.c",
-- "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
-- "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-f32-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-packq_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packq/x8-packq-aarch64-neon-f16qp8-u2.c",
-- "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
-- "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x8-packw_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("bf16-qs8-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-packw_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x8-transposec_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qs8-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-dec-zip-neon.c",
-- "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-transposec_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("bf16-qu8-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-dec-zip-neon.c",
-- "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("xx-copy_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qu8-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-copy_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("xx-fill_arm64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-fill/xx-fill-neon-u64.c",
-- "src/src/xx-fill/xx-fill-scalar-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("bf16-rminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-fill_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-fill/xx-fill-neon-u64.c",
-- "src/src/xx-fill/xx-fill-scalar-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("xx-pad_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-rminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p16-neon-u16.c",
-- "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-pad_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("bf16-vunary_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p16-neon-u16.c",
-- "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("xx-transposev_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-vunary_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-transposev_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
- }
-
--if (current_cpu == "riscv64") {
-- if (build_with_chromium) {
-- source_set("bf16-f32-vcvt_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("configs_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-f32-vcvt_riscv64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("bf16-qs8-vcvt_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("configs_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-qs8-vcvt_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("enums_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("bf16-qu8-vcvt_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("enums_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-qu8-vcvt_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("bf16-rminmax_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-avgpool_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-rminmax_riscv64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("bf16-vunary_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-avgpool_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-vunary_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-dwconv_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("configs_riscv64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/configs/argmaxpool-config.c",
-- "src/src/configs/avgpool-config.c",
-- "src/src/configs/binary-elementwise-config.c",
-- "src/src/configs/cmul-config.c",
-- "src/src/configs/conv-hwc2chw-config.c",
-- "src/src/configs/dwconv-config.c",
-- "src/src/configs/dwconv2d-chw-config.c",
-- "src/src/configs/gemm-config.c",
-- "src/src/configs/hardware-config.c",
-- "src/src/configs/ibilinear-chw-config.c",
-- "src/src/configs/ibilinear-config.c",
-- "src/src/configs/lut32norm-config.c",
-- "src/src/configs/maxpool-config.c",
-- "src/src/configs/pack-lh-config.c",
-- "src/src/configs/raddstoreexpminusmax-config.c",
-- "src/src/configs/reduce-config.c",
-- "src/src/configs/spmm-config.c",
-- "src/src/configs/transpose-config.c",
-- "src/src/configs/unary-elementwise-config.c",
-- "src/src/configs/unpool-config.c",
-- "src/src/configs/vmulcaddc-config.c",
-- "src/src/configs/x8-lut-config.c",
-- "src/src/configs/xx-fill-config.c",
-- "src/src/configs/xx-pad-config.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("configs_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/configs/argmaxpool-config.c",
-- "src/src/configs/avgpool-config.c",
-- "src/src/configs/binary-elementwise-config.c",
-- "src/src/configs/cmul-config.c",
-- "src/src/configs/conv-hwc2chw-config.c",
-- "src/src/configs/dwconv-config.c",
-- "src/src/configs/dwconv2d-chw-config.c",
-- "src/src/configs/gemm-config.c",
-- "src/src/configs/hardware-config.c",
-- "src/src/configs/ibilinear-chw-config.c",
-- "src/src/configs/ibilinear-config.c",
-- "src/src/configs/lut32norm-config.c",
-- "src/src/configs/maxpool-config.c",
-- "src/src/configs/pack-lh-config.c",
-- "src/src/configs/raddstoreexpminusmax-config.c",
-- "src/src/configs/reduce-config.c",
-- "src/src/configs/spmm-config.c",
-- "src/src/configs/transpose-config.c",
-- "src/src/configs/unary-elementwise-config.c",
-- "src/src/configs/unpool-config.c",
-- "src/src/configs/vmulcaddc-config.c",
-- "src/src/configs/x8-lut-config.c",
-- "src/src/configs/xx-fill-config.c",
-- "src/src/configs/xx-pad-config.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("enums_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/enums/allocation-type.c",
-- "src/src/enums/datatype-strings.c",
-- "src/src/enums/microkernel-type.c",
-- "src/src/enums/node-type.c",
-- "src/src/enums/operator-type.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("enums_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/enums/allocation-type.c",
-- "src/src/enums/datatype-strings.c",
-- "src/src/enums/microkernel-type.c",
-- "src/src/enums/node-type.c",
-- "src/src/enums/operator-type.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-avgpool_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-rvvfp16arith-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-avgpool_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-rvvfp16arith-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-avgpool_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-avgpool_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-dwconv_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-dwconv-25p8vc-minmax-rvvfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-3p8vc-minmax-rvvfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-4p8vc-minmax-rvvfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p8vc-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-dwconv_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-dwconv-25p8vc-minmax-rvvfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-3p8vc-minmax-rvvfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-4p8vc-minmax-rvvfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p8vc-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-dwconv_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-dwconv_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-rvvfp16arith-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-qu8-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-rvvfp16arith-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-f32-vcvt_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qu8-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32-vcvt_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-rdminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-rvvfp16arith-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-rvvfp16arith-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-rvvfp16arith-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-rvvfp16arith-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-rvvfp16arith-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-rvvfp16arith-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-rminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-rvvfp16arith-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-rvvfp16arith-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-gemm_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x4v-minmax-rvvfp16arith.c",
-- "src/src/f16-gemm/gen/f16-gemm-7x4v-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x4v-minmax-rvvfp16arith.c",
-- "src/src/f16-gemm/gen/f16-gemm-7x4v-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-igemm_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-igemm/gen/f16-igemm-1x4v-minmax-rvvfp16arith.c",
-- "src/src/f16-igemm/gen/f16-igemm-7x4v-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-igemm/gen/f16-igemm-1x4v-minmax-rvvfp16arith.c",
-- "src/src/f16-igemm/gen/f16-igemm-7x4v-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-maxpool_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-rvvfp16arith-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-maxpool_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-rvvfp16arith-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-qs8-vcvt_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-qs8-vcvt_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f16-vcos_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-qu8-vcvt_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-qu8-vcvt_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f16-vexp_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-rvvfp16arith-rr2-p2-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-rvvfp16arith-rr2-p2-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-rvvfp16arith-u8v.c",
-- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-rvvfp16arith-u8v.c",
-- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-rdminmax_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vgelu_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rdminmax_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-rminmax_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-rvvfp16arith-u8v.c",
-- "src/src/f16-rminmax/gen/f16-rmin-rvvfp16arith-u8v.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rminmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-rvvfp16arith-u8v.c",
-- "src/src/f16-rminmax/gen/f16-rmin-rvvfp16arith-u8v.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-rminmax_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vlog_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-rminmax_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-- "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-spmm_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-spmm/gen/f16-spmm-8vx1-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-spmm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-spmm/gen/f16-spmm-8vx1-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-rvvfp16arith-rational-6-4-div-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-vsin_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-rvvfp16arith-rational-6-4-div-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vapproxgelu_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vapproxgelu_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vsqrt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vbinary_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vbinary/gen/f16-vadd-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vaddc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vdiv-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vdivc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vmax-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vmaxc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vmin-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vminc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vmul-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vmulc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vprelu-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vpreluc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vrdivc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vrpreluc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vrsubc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiff-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiffc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vsub-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vsubc-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vbinary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vbinary/gen/f16-vadd-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vaddc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vdiv-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vdivc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vmax-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vmaxc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vmin-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vminc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vmul-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vmulc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vprelu-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vpreluc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vrdivc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vrpreluc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vrsubc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiff-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vsqrdiffc-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vsub-rvvfp16arith-u8v.c",
-- "src/src/f16-vbinary/gen/f16-vsubc-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vclamp_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vclamp_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vcmul_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcmul/gen/f16-vcmul-rvvfp16arith-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vcmul_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcmul/gen/f16-vcmul-rvvfp16arith-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-vtanh_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vcos_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-vcos-rvvfp16arith-poly-3-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vcos_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-vcos-rvvfp16arith-poly-3-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vcos_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vcos_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-velu_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-velu/gen/f16-velu-rvvfp16arith-rr1-p3-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-velu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-velu/gen/f16-velu-rvvfp16arith-rr1-p3-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vexp_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-vexp-rvvfp16arith-poly-3-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vexp_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-vexp-rvvfp16arith-poly-3-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vexp_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-avgpool_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vexp_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vgelu_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vgelu/gen/f16-vgelu-rvvfp16arith-rational-6-4-div-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vgelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vgelu/gen/f16-vgelu-rvvfp16arith-rational-6-4-div-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vgelu_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vgelu_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vhswish_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vhswish/gen/f16-vhswish-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vhswish_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vhswish/gen/f16-vhswish-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vlog_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-vlog-rvvfp16arith-rational-1-3-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vlog_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-vlog-rvvfp16arith-rational-1-3-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vlog_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vlog_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlrelu/gen/f16-vlrelu-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vlrelu/gen/f16-vlrelu-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c4v-minmax-rvvfp16arith-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c4v-minmax-rvvfp16arith-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrnd/gen/f16-vrndd-rvvfp16arith-u8v.c",
-- "src/src/f16-vrnd/gen/f16-vrndne-rvvfp16arith-u8v.c",
-- "src/src/f16-vrnd/gen/f16-vrndu-rvvfp16arith-u8v.c",
-- "src/src/f16-vrnd/gen/f16-vrndz-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrnd/gen/f16-vrndd-rvvfp16arith-u8v.c",
-- "src/src/f16-vrnd/gen/f16-vrndne-rvvfp16arith-u8v.c",
-- "src/src/f16-vrnd/gen/f16-vrndu-rvvfp16arith-u8v.c",
-- "src/src/f16-vrnd/gen/f16-vrndz-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrsqrt/gen/f16-vrsqrt-rvvfp16arith-rsqrt-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vrsqrt/gen/f16-vrsqrt-rvvfp16arith-rsqrt-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsigmoid/gen/f16-vsigmoid-rvvfp16arith-rr2-p2-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsigmoid/gen/f16-vsigmoid-rvvfp16arith-rr2-p2-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-vsin-rvvfp16arith-poly-3-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-vsin-rvvfp16arith-poly-3-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vsin_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsin_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-rvvfp16arith-sqrt-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-rvvfp16arith-sqrt-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vsqrt_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vsqrt_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear-chw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-vtanh-rvvfp16arith-rational-5-4-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-vtanh-rvvfp16arith-rational-5-4-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-vtanh_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear-chw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vtanh_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vunary/gen/f16-vabs-rvvfp16arith-u8v.c",
-- "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
-- "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vunary/gen/f16-vabs-rvvfp16arith-u8v.c",
-- "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
-- "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-argmaxpool_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-igemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-argmaxpool_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-avgpool_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-avgpool_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-avgpool_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-maxpool_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-avgpool_riscv64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-bf16-vcvt_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-bf16-vcvt_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-conv-hwc2chw_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-conv-hwc2chw_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv2d-chw_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv2d-chw_riscv64_standalone") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv_riscv64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-- "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-f16-vcvt_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-f16-vcvt_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-gemm_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
-- "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-gemm_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
-- "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-gemm_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-gemm_riscv64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-- "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-ibilinear-chw_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-ibilinear-chw_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-ibilinear_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-ibilinear_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-rdsum2_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-igemm_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
-- "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-igemm_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
-- "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-igemm_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-igemm_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-- "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-maxpool_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rdsum_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-maxpool_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-maxpool_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-rminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-qc4w-gemm_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc4w-gemm_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qc8w-gemm_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum2_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qc8w-gemm_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qs8-vcvt_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qs8-vcvt_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-qu8-vcvt_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-spmm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-qu8-vcvt_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-raddstoreexpminusmax_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-raddstoreexpminusmax_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rdminmax_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vbinary_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdminmax_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum2_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vclamp_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum2_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rdsum_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vcmul_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rdsum_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-rminmax_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
-- "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
-- "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rminmax_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vcopysign_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rminmax_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-- "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-rsum2_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum2_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rsum2_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vcos_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum2_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-rsum_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-rsum_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-velu_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-spmm_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
-- "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
-- "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-spmm_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
-- "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
-- "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-spmm_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vexp_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-spmm_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-- "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vapproxgelu_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vgelu_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vapproxgelu_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vbinary_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vbinary_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vbinary_riscv64") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vhswish_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vbinary_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-- "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-- "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vclamp_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vclamp_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vlog_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vclamp_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcmul_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcmul_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcmul_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vlrelu_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcmul_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcopysign_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vmulcaddc_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcopysign_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vmulcaddc_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcos_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcos_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vrnd_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-velu_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-velu_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vexp_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vexp_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vgelu_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vgelu_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vsin_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vhswish_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vhswish_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vsqrt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vtanh_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-vunary_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("operators_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("operators_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_riscv64") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qd8-bf16-qb4w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-bf16-qb4w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f16-qc2w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc2w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
-- "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
-- "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
-- "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
-- "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("operators_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("operators_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-bf16-qb4w-gemm_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-bf16-qb4w-gemm_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_riscv64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-packw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gc_zvfh",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-qu8-packw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_riscv64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qu8-packw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-rdsum_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-rsum_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_riscv64") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-vadd_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-vaddc_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qs8-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_riscv64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qu8-packw_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qu8-packw_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-vmul_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-vmulc_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-vprelu_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vprelu_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-vpreluc_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vpreluc_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-vrpreluc_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vrpreluc_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vprelu_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vprelu_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vpreluc_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vpreluc_riscv64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vrpreluc_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vrpreluc_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-rdsum_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-rsum_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-rdsum_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rdsum_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vmul_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vmulc_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vprelu_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vprelu_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vpreluc_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vpreluc_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vrpreluc_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vmul_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vmul_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vrpreluc_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmul_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("reference_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vmulc_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("reference_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmulc_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("s8-ibilinear_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vprelu_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vprelu_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vprelu_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-ibilinear_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vprelu_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("s8-maxpool_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vpreluc_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vpreluc_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vpreluc_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vpreluc_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("s8-rdminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vrpreluc_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vrpreluc_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vrpreluc_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vrpreluc_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("s8-rminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("reference_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/reference/binary-elementwise.cc",
-- "src/src/reference/packing.cc",
-- "src/src/reference/unary-elementwise.cc",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (build_with_chromium) {
++ source_set("bf16-qu8-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("bf16-qu8-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("bf16-rminmax_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("bf16-rminmax_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("bf16-vunary_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("bf16-vunary_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("configs_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/configs/argmaxpool-config.c",
++ "src/src/configs/avgpool-config.c",
++ "src/src/configs/binary-elementwise-config.c",
++ "src/src/configs/cmul-config.c",
++ "src/src/configs/conv-hwc2chw-config.c",
++ "src/src/configs/dwconv-config.c",
++ "src/src/configs/dwconv2d-chw-config.c",
++ "src/src/configs/gemm-config.c",
++ "src/src/configs/hardware-config.c",
++ "src/src/configs/ibilinear-chw-config.c",
++ "src/src/configs/ibilinear-config.c",
++ "src/src/configs/lut32norm-config.c",
++ "src/src/configs/maxpool-config.c",
++ "src/src/configs/pack-lh-config.c",
++ "src/src/configs/raddstoreexpminusmax-config.c",
++ "src/src/configs/reduce-config.c",
++ "src/src/configs/spmm-config.c",
++ "src/src/configs/transpose-config.c",
++ "src/src/configs/unary-elementwise-config.c",
++ "src/src/configs/unpool-config.c",
++ "src/src/configs/vmulcaddc-config.c",
++ "src/src/configs/x8-lut-config.c",
++ "src/src/configs/xx-fill-config.c",
++ "src/src/configs/xx-pad-config.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("configs_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/configs/argmaxpool-config.c",
++ "src/src/configs/avgpool-config.c",
++ "src/src/configs/binary-elementwise-config.c",
++ "src/src/configs/cmul-config.c",
++ "src/src/configs/conv-hwc2chw-config.c",
++ "src/src/configs/dwconv-config.c",
++ "src/src/configs/dwconv2d-chw-config.c",
++ "src/src/configs/gemm-config.c",
++ "src/src/configs/hardware-config.c",
++ "src/src/configs/ibilinear-chw-config.c",
++ "src/src/configs/ibilinear-config.c",
++ "src/src/configs/lut32norm-config.c",
++ "src/src/configs/maxpool-config.c",
++ "src/src/configs/pack-lh-config.c",
++ "src/src/configs/raddstoreexpminusmax-config.c",
++ "src/src/configs/reduce-config.c",
++ "src/src/configs/spmm-config.c",
++ "src/src/configs/transpose-config.c",
++ "src/src/configs/unary-elementwise-config.c",
++ "src/src/configs/unpool-config.c",
++ "src/src/configs/vmulcaddc-config.c",
++ "src/src/configs/x8-lut-config.c",
++ "src/src/configs/xx-fill-config.c",
++ "src/src/configs/xx-pad-config.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("enums_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/enums/allocation-type.c",
++ "src/src/enums/datatype-strings.c",
++ "src/src/enums/microkernel-type.c",
++ "src/src/enums/node-type.c",
++ "src/src/enums/operator-type.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("enums_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/enums/allocation-type.c",
++ "src/src/enums/datatype-strings.c",
++ "src/src/enums/microkernel-type.c",
++ "src/src/enums/node-type.c",
++ "src/src/enums/operator-type.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-avgpool_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-avgpool_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-dwconv_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-dwconv_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-f32-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-f32-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-qs8-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-qs8-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-qu8-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-qu8-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-rdminmax_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-rdminmax_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-rminmax_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-rminmax_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-vapproxgelu_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-vapproxgelu_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-vbinary_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vbinary/gen/f16-vadd-scalar-u1.c",
++ "src/src/f16-vbinary/gen/f16-vaddc-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-vbinary_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vbinary/gen/f16-vadd-scalar-u1.c",
++ "src/src/f16-vbinary/gen/f16-vaddc-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-vcos_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-vcos_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-vexp_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-vexp_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-vgelu_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-vgelu_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-vlog_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-vlog_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-vsin_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-vsin_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-vsqrt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-vsqrt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f16-vtanh_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f16-vtanh_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-argmaxpool_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-argmaxpool_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-avgpool_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-avgpool_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-bf16-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-bf16-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-conv-hwc2chw_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-conv-hwc2chw_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-dwconv2d-chw_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-dwconv2d-chw_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-dwconv_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-dwconv_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-f16-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-f16-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-ibilinear-chw_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-ibilinear-chw_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-ibilinear_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-ibilinear_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-igemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-igemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-maxpool_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-maxpool_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-qc4w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-qc4w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-qc8w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-qc8w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-qs8-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-qs8-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-qu8-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-qu8-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-raddstoreexpminusmax_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-raddstoreexpminusmax_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-rdminmax_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-rdminmax_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-rdsum2_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-rdsum2_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-rdsum_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-rdsum_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-rminmax_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-rminmax_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-rsum2_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-rsum2_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-rsum_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-rsum_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-spmm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-spmm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vapproxgelu_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vapproxgelu_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vbinary_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vbinary_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vclamp_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vclamp_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vcmul_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vcmul_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vcopysign_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vcopysign_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vcos_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vcos_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-velu_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-velu_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vexp_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vexp_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vgelu_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vgelu_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vhswish_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vhswish_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vlog_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vlog_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vlrelu_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vlrelu_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vmulcaddc_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vmulcaddc_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vrnd_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vrnd_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vrsqrt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vrsqrt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vsigmoid_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vsigmoid_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vsin_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vsin_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vsqrt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vsqrt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vtanh_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vtanh_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("f32-vunary_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
++ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
++ "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("f32-vunary_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
++ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
++ "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("operators_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/operators/argmax-pooling-nhwc.c",
++ "src/src/operators/average-pooling-nhwc.c",
++ "src/src/operators/batch-matrix-multiply-nc.c",
++ "src/src/operators/binary-elementwise-nd.c",
++ "src/src/operators/constant-pad-nd.c",
++ "src/src/operators/convolution-nchw.c",
++ "src/src/operators/convolution-nhwc.c",
++ "src/src/operators/deconvolution-nhwc.c",
++ "src/src/operators/dynamic-fully-connected-nc.c",
++ "src/src/operators/fingerprint_cache.c",
++ "src/src/operators/fingerprint_id.c",
++ "src/src/operators/fully-connected-nc.c",
++ "src/src/operators/max-pooling-nhwc.c",
++ "src/src/operators/pack-lh.c",
++ "src/src/operators/reduce-nd.c",
++ "src/src/operators/resize-bilinear-nchw.c",
++ "src/src/operators/resize-bilinear-nhwc.c",
++ "src/src/operators/rope-nthc.c",
++ "src/src/operators/slice-nd.c",
++ "src/src/operators/softmax-nc.c",
++ "src/src/operators/transpose-nd.c",
++ "src/src/operators/unary-elementwise-nc.c",
++ "src/src/operators/unpooling-nhwc.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("operators_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/operators/argmax-pooling-nhwc.c",
++ "src/src/operators/average-pooling-nhwc.c",
++ "src/src/operators/batch-matrix-multiply-nc.c",
++ "src/src/operators/binary-elementwise-nd.c",
++ "src/src/operators/constant-pad-nd.c",
++ "src/src/operators/convolution-nchw.c",
++ "src/src/operators/convolution-nhwc.c",
++ "src/src/operators/deconvolution-nhwc.c",
++ "src/src/operators/dynamic-fully-connected-nc.c",
++ "src/src/operators/fingerprint_cache.c",
++ "src/src/operators/fingerprint_id.c",
++ "src/src/operators/fully-connected-nc.c",
++ "src/src/operators/max-pooling-nhwc.c",
++ "src/src/operators/pack-lh.c",
++ "src/src/operators/reduce-nd.c",
++ "src/src/operators/resize-bilinear-nchw.c",
++ "src/src/operators/resize-bilinear-nhwc.c",
++ "src/src/operators/rope-nthc.c",
++ "src/src/operators/slice-nd.c",
++ "src/src/operators/softmax-nc.c",
++ "src/src/operators/transpose-nd.c",
++ "src/src/operators/unary-elementwise-nc.c",
++ "src/src/operators/unpooling-nhwc.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qd8-bf16-qb4w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qd8-bf16-qb4w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qd8-f16-qc2w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qd8-f16-qc2w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qd8-f32-qb4w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qd8-f32-qb4w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qd8-f32-qc2w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qd8-f32-qc2w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qd8-f32-qc4w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qd8-f32-qc4w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qd8-f32-qc8w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qd8-f32-qc8w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qd8-f32-qc8w-igemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qd8-f32-qc8w-igemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-dwconv_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-dwconv_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-f32-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-f32-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-packw_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-packw_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-qc2w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc2w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-qc4w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc4w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-qc4w-packw_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc4w-packw_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-qc8w-dwconv_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc8w-dwconv_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-qc8w-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc8w-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-qc8w-igemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc8w-igemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-qu8-packw_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-qu8-packw_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-rdsum_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-rdsum_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-rsum_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-rsum_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-vadd_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-vadd_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-vaddc_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-vaddc_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-vlrelu_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-vlrelu_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-vmul_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-vmul_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-vmulc_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-vmulc_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-vprelu_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-vprelu_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-vpreluc_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-vpreluc_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qs8-vrpreluc_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qs8-vrpreluc_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-dwconv_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-dwconv_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-f32-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-f32-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-gemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-gemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-igemm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-igemm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-rdsum_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-rdsum_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-rsum_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-rsum_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-vadd_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-vadd_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-vaddc_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-vaddc_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-vcvt_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-vcvt_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-vlrelu_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-vlrelu_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-vmul_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-vmul_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-vmulc_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-vmulc_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-vprelu_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-vprelu_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-vpreluc_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-vpreluc_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("qu8-vrpreluc_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("qu8-vrpreluc_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("reference_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("reference_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("s8-ibilinear_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("s8-ibilinear_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("s8-maxpool_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("s8-maxpool_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("s8-rdminmax_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("s8-rdminmax_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("s8-rminmax_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("s8-rminmax_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("s8-vclamp_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("s8-vclamp_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("subgraph_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("subgraph_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("tables_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("tables_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("u8-ibilinear_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("u8-ibilinear_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("u8-lut32norm_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("u8-lut32norm_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("reference_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/reference/binary-elementwise.cc",
-- "src/src/reference/packing.cc",
-- "src/src/reference/unary-elementwise.cc",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-ibilinear_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-ibilinear_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("s8-maxpool_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-maxpool_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("subgraph_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-maxpool_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("subgraph_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-rdminmax_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("tables_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-rdminmax_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("tables_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("s8-rminmax_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
-- "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
-- "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-rminmax_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-ibilinear_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-rminmax_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("s8-vclamp_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("s8-vclamp_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-lut32norm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("s8-vclamp_riscv64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("subgraph_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-lut32norm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/subgraph/argmax-pooling-2d.c",
-- "src/src/subgraph/average-pooling-2d.c",
-- "src/src/subgraph/batch-matrix-multiply.c",
-- "src/src/subgraph/binary.c",
-- "src/src/subgraph/concatenate.c",
-- "src/src/subgraph/convolution-2d.c",
-- "src/src/subgraph/copy.c",
-- "src/src/subgraph/deconvolution-2d.c",
-- "src/src/subgraph/deprecated.c",
-- "src/src/subgraph/depth-to-space-2d.c",
-- "src/src/subgraph/depthwise-convolution-2d.c",
-- "src/src/subgraph/even-split.c",
-- "src/src/subgraph/fully-connected-sparse.c",
-- "src/src/subgraph/fully-connected.c",
-- "src/src/subgraph/max-pooling-2d.c",
-- "src/src/subgraph/pack-lh.c",
-- "src/src/subgraph/reshape-helpers.c",
-- "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-- "src/src/subgraph/rope.c",
-- "src/src/subgraph/softmax.c",
-- "src/src/subgraph/space-to-depth-2d.c",
-- "src/src/subgraph/static-constant-pad.c",
-- "src/src/subgraph/static-reduce.c",
-- "src/src/subgraph/static-resize-bilinear-2d.c",
-- "src/src/subgraph/static-slice.c",
-- "src/src/subgraph/static-transpose.c",
-- "src/src/subgraph/subgraph-utils.c",
-- "src/src/subgraph/unary.c",
-- "src/src/subgraph/unpooling-2d.c",
-- "src/src/subgraph/validation.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("subgraph_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/subgraph/argmax-pooling-2d.c",
-- "src/src/subgraph/average-pooling-2d.c",
-- "src/src/subgraph/batch-matrix-multiply.c",
-- "src/src/subgraph/binary.c",
-- "src/src/subgraph/concatenate.c",
-- "src/src/subgraph/convolution-2d.c",
-- "src/src/subgraph/copy.c",
-- "src/src/subgraph/deconvolution-2d.c",
-- "src/src/subgraph/deprecated.c",
-- "src/src/subgraph/depth-to-space-2d.c",
-- "src/src/subgraph/depthwise-convolution-2d.c",
-- "src/src/subgraph/even-split.c",
-- "src/src/subgraph/fully-connected-sparse.c",
-- "src/src/subgraph/fully-connected.c",
-- "src/src/subgraph/max-pooling-2d.c",
-- "src/src/subgraph/pack-lh.c",
-- "src/src/subgraph/reshape-helpers.c",
-- "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-- "src/src/subgraph/rope.c",
-- "src/src/subgraph/softmax.c",
-- "src/src/subgraph/space-to-depth-2d.c",
-- "src/src/subgraph/static-constant-pad.c",
-- "src/src/subgraph/static-reduce.c",
-- "src/src/subgraph/static-resize-bilinear-2d.c",
-- "src/src/subgraph/static-slice.c",
-- "src/src/subgraph/static-transpose.c",
-- "src/src/subgraph/subgraph-utils.c",
-- "src/src/subgraph/unary.c",
-- "src/src/subgraph/unpooling-2d.c",
-- "src/src/subgraph/validation.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("tables_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/tables/exp2-k-over-2048.c",
-- "src/src/tables/exp2-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-16.c",
-- "src/src/tables/exp2minus-k-over-2048.c",
-- "src/src/tables/exp2minus-k-over-32.c",
-- "src/src/tables/exp2minus-k-over-4.c",
-- "src/src/tables/exp2minus-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-8.c",
-- "src/src/tables/vlog.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-maxpool_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("tables_riscv64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/tables/exp2-k-over-2048.c",
-- "src/src/tables/exp2-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-16.c",
-- "src/src/tables/exp2minus-k-over-2048.c",
-- "src/src/tables/exp2minus-k-over-32.c",
-- "src/src/tables/exp2minus-k-over-4.c",
-- "src/src/tables/exp2minus-k-over-64.c",
-- "src/src/tables/exp2minus-k-over-8.c",
-- "src/src/tables/vlog.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-ibilinear_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-ibilinear_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("u8-rdminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("u8-lut32norm_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-lut32norm/u8-lut32norm-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++
++ if (build_with_chromium) {
++ source_set("u8-maxpool_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("u8-maxpool_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("u8-rdminmax_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("u8-rdminmax_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("u8-rminmax_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("u8-rminmax_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("u8-vclamp_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("u8-vclamp_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x16-packw_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x16-packw_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x16-transposec_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x16-transposec_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x16-x32-packw_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x16-x32-packw_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x24-transposec_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-lut32norm_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-lut32norm/u8-lut32norm-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-maxpool_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-rminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-maxpool_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-maxpool_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("u8-vclamp_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-rdminmax_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rdminmax_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("x16-packw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("u8-rminmax_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
-- "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
-- "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-rminmax_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-packw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rminmax_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("x16-transposec_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("u8-vclamp_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-vclamp_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-transposec_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-vclamp_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x16-x32-packw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x16-packw_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x24-transposec_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-x32-packw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-packw_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x16-transposec_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x24-transposec_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-transposec_riscv64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x16-x32-packw_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x24-transposec_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-x32-packw_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x32-packw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-- "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x24-transposec_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++
++ if (build_with_chromium) {
++ source_set("x32-packw_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x32-packw_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x32-transposec_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x32-transposec_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x32-unpool_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x32-unpool/x32-unpool-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x32-unpool_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x32-unpool/x32-unpool-scalar.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x64-transposec_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x64-transposec_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x8-lut_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x8-lut_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x8-packq_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x8-packq_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x8-packw_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x8-packw_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("x8-transposec_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("x8-transposec_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x24-transposec_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x32-packw_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x32-transposec_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-packw_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x32-packw_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-packw_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-- "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-- "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-- "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x32-transposec_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
-- "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
-- "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
-- "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("x32-unpool_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-transposec_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
-- "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
-- "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
-- "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ if (build_with_chromium) {
++ source_set("xx-copy_ppc64") {
++ cflags = []
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x32-transposec_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x32-unpool_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-transposec_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x64-transposec_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/xx-copy/xx-copy-scalar-memcpy.c",
++ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x32-unpool_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x64-transposec_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-unpool/x32-unpool-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-unpool_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x8-lut_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-unpool/x32-unpool-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x64-transposec_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-lut_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x64-transposec_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x8-packq_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x8-lut_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packq_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-lut_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x8-packq_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("x8-packw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-packq_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x8-packw_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-packw_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("x8-transposec_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-- "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x8-transposec_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x8-transposec_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-transposec_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("xx-copy_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("xx-copy_ppc64_standalone") {
++ cflags = []
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("xx-copy_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-copy_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-copy_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("xx-fill_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/xx-copy/xx-copy-scalar-memcpy.c",
++ ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("xx-fill_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-fill_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-fill/xx-fill-scalar-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-fill_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("xx-pad_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-fill/xx-fill-scalar-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("xx-pad_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-pad_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-pad_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("xx-transposev_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("xx-transposev_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-transposev_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-transposev_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
- }
+
-+}
++ if (build_with_chromium) {
++ source_set("xx-fill_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/xx-fill/xx-fill-scalar-u16.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("xx-fill_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/xx-fill/xx-fill-scalar-u16.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("xx-pad_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("xx-pad_ppc64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++ }
++
++ if (build_with_chromium) {
++ source_set("xx-transposev_ppc64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++ }
++
++ # This is a target that cannot depend on //base.
++ if (build_with_internal_optimization_guide) {
++ source_set("xx-transposev_ppc64_standalone") {
++ cflags = []
++
++ sources = [
+ "src/include/xnnpack.h",
+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
+ ]
diff --git a/0002-third_party-libvpx-Remove-bad-ppc64-config.patch b/0002-third_party-libvpx-Remove-bad-ppc64-config.patch
index 8501ac5..08f51b7 100644
--- a/0002-third_party-libvpx-Remove-bad-ppc64-config.patch
+++ b/0002-third_party-libvpx-Remove-bad-ppc64-config.patch
@@ -1,6 +1,6 @@
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
@@ -189,9 +189,9 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vp8_r
-#endif
-
-#endif // VP8_RTCD_H_
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
@@ -307,9 +307,9 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vp9_r
-#endif
-
-#endif // VP9_RTCD_H_
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm
+++ /dev/null
@@ -1,109 +0,0 @@
-@ This file was created from a .asm file
@@ -421,9 +421,9 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_c
-.equ DECODE_WIDTH_LIMIT , 16384
-.equ DECODE_HEIGHT_LIMIT , 16384
- .section .note.GNU-stack,"",%progbits
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_config.c
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_config.c
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.c
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.c
+++ /dev/null
@@ -1,10 +0,0 @@
-/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
@@ -436,9 +436,9 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_c
-#include "vpx/vpx_codec.h"
-static const char* const cfg = "--target=ppc64le-linux-gcc --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --disable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv --enable-unit-tests";
-const char *vpx_codec_build_config(void) {return cfg;}
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_config.h
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_config.h
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.h
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.h
+++ /dev/null
@@ -1,118 +0,0 @@
-/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
@@ -559,9 +559,9 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_c
-#define DECODE_WIDTH_LIMIT 16384
-#define DECODE_HEIGHT_LIMIT 16384
-#endif /* VPX_CONFIG_H */
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h
+++ /dev/null
@@ -1,858 +0,0 @@
-/*
@@ -1422,9 +1422,9 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_d
-#endif
-
-#endif // VPX_DSP_RTCD_H_
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
diff --git a/0002-third_party-lss-kernel-structs.patch b/0002-third_party-lss-kernel-structs.patch
index a81d439..06a93f9 100644
--- a/0002-third_party-lss-kernel-structs.patch
+++ b/0002-third_party-lss-kernel-structs.patch
@@ -1,7 +1,7 @@
-Index: chromium-144.0.7559.59/third_party/lss/linux_syscall_support.h
+Index: chromium-156.0.8078.35/third_party/lss/linux_syscall_support.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/lss/linux_syscall_support.h
-+++ chromium-144.0.7559.59/third_party/lss/linux_syscall_support.h
+--- chromium-156.0.8078.35.orig/third_party/lss/linux_syscall_support.h
++++ chromium-156.0.8078.35/third_party/lss/linux_syscall_support.h
@@ -86,7 +86,7 @@
* Porting to other related platforms should not be difficult.
*/
diff --git a/0003-third_party-libvpx-Add-ppc64-generated-config.patch b/0003-third_party-libvpx-Add-ppc64-generated-config.patch
index b4cdb6b..57c79c0 100644
--- a/0003-third_party-libvpx-Add-ppc64-generated-config.patch
+++ b/0003-third_party-libvpx-Add-ppc64-generated-config.patch
@@ -4,10 +4,10 @@ Date: Thu Jun 4 08:04:34 2026 -0500
woinewf
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h
===================================================================
--- /dev/null
-+++ chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h
++++ chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h
@@ -0,0 +1,330 @@
+/*
+ * Copyright (c) 2017 The WebM project authors. All Rights Reserved.
@@ -339,10 +339,10 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vp8_r
+#endif
+
+#endif // VP8_RTCD_H_
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h
===================================================================
--- /dev/null
-+++ chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h
++++ chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h
@@ -0,0 +1,246 @@
+/*
+ * Copyright (c) 2017 The WebM project authors. All Rights Reserved.
@@ -590,10 +590,10 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vp9_r
+#endif
+
+#endif // VP9_RTCD_H_
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm
===================================================================
--- /dev/null
-+++ chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm
++++ chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm
@@ -0,0 +1,109 @@
+@ This file was created from a .asm file
+@ using the ads2gas.pl script.
@@ -704,10 +704,10 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_c
+.equ DECODE_WIDTH_LIMIT , 16384
+.equ DECODE_HEIGHT_LIMIT , 16384
+ .section .note.GNU-stack,"",%progbits
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_config.c
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_config.c
===================================================================
--- /dev/null
-+++ chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_config.c
++++ chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_config.c
@@ -0,0 +1,10 @@
+/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
+/* */
@@ -719,10 +719,10 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_c
+#include "vpx/vpx_codec.h"
+static const char* const cfg = "--target=generic-gnu --enable-vp9-highbitdepth --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --disable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv --enable-unit-tests --disable-vsx";
+const char *vpx_codec_build_config(void) {return cfg;}
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_config.h
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_config.h
===================================================================
--- /dev/null
-+++ chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_config.h
++++ chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_config.h
@@ -0,0 +1,118 @@
+/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
+/* */
@@ -842,10 +842,10 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_c
+#define DECODE_WIDTH_LIMIT 16384
+#define DECODE_HEIGHT_LIMIT 16384
+#endif /* VPX_CONFIG_H */
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h
===================================================================
--- /dev/null
-+++ chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h
++++ chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h
@@ -0,0 +1,4142 @@
+/*
+ * Copyright (c) 2017 The WebM project authors. All Rights Reserved.
@@ -4989,10 +4989,10 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_d
+#endif
+
+#endif // VPX_DSP_RTCD_H_
-Index: chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h
+Index: chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h
===================================================================
--- /dev/null
-+++ chromium-149.0.7827.53/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h
++++ chromium-156.0.8078.35/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h
@@ -0,0 +1,110 @@
+/*
+ * Copyright (c) 2017 The WebM project authors. All Rights Reserved.
diff --git a/0004-third_party-crashpad-port-curl-transport-ppc64.patch b/0004-third_party-crashpad-port-curl-transport-ppc64.patch
index bb55c2e..d35305f 100644
--- a/0004-third_party-crashpad-port-curl-transport-ppc64.patch
+++ b/0004-third_party-crashpad-port-curl-transport-ppc64.patch
@@ -1,7 +1,7 @@
-Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc
+Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc
===================================================================
---- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc
-+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc
+--- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc
++++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc
@@ -239,6 +239,12 @@ std::string UserAgent() {
#endif
#elif defined (ARCH_CPU_RISCV64)
diff --git a/0004-third_party-libvpx-work-around-ambiguous-vsx.patch b/0004-third_party-libvpx-work-around-ambiguous-vsx.patch
index 39af90d..fd9d13e 100644
--- a/0004-third_party-libvpx-work-around-ambiguous-vsx.patch
+++ b/0004-third_party-libvpx-work-around-ambiguous-vsx.patch
@@ -1,7 +1,7 @@
-Index: chromium-149.0.7827.53/third_party/libvpx/source/libvpx/vp9/encoder/ppc/vp9_quantize_vsx.c
+Index: chromium-156.0.8078.35/third_party/libvpx/source/libvpx/vp9/encoder/ppc/vp9_quantize_vsx.c
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/libvpx/vp9/encoder/ppc/vp9_quantize_vsx.c
-+++ chromium-149.0.7827.53/third_party/libvpx/source/libvpx/vp9/encoder/ppc/vp9_quantize_vsx.c
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/libvpx/vp9/encoder/ppc/vp9_quantize_vsx.c
++++ chromium-156.0.8078.35/third_party/libvpx/source/libvpx/vp9/encoder/ppc/vp9_quantize_vsx.c
@@ -38,6 +38,28 @@ static INLINE int16x8_t vec_max_across(i
return vec_max(a, vec_perm(a, a, vec_perm16));
}
@@ -137,10 +137,10 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/libvpx/vp9/encoder/ppc/v
eob = vec_max(eob, vec_or(scan0, zero_coeff0));
eob2 = vec_max(vec_or(scan1, zero_coeff1), vec_or(scan2, zero_coeff2));
-Index: chromium-149.0.7827.53/third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct32x32_vsx.c
+Index: chromium-156.0.8078.35/third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct32x32_vsx.c
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct32x32_vsx.c
-+++ chromium-149.0.7827.53/third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct32x32_vsx.c
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct32x32_vsx.c
++++ chromium-156.0.8078.35/third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct32x32_vsx.c
@@ -15,6 +15,28 @@
#include "vpx_dsp/ppc/txfm_common_vsx.h"
#include "vpx_dsp/ppc/types_vsx.h"
@@ -255,10 +255,10 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct3
}
// Returns 1 if negative 0 if positive
-Index: chromium-149.0.7827.53/third_party/libvpx/source/libvpx/vpx_dsp/ppc/quantize_vsx.c
+Index: chromium-156.0.8078.35/third_party/libvpx/source/libvpx/vpx_dsp/ppc/quantize_vsx.c
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/libvpx/vpx_dsp/ppc/quantize_vsx.c
-+++ chromium-149.0.7827.53/third_party/libvpx/source/libvpx/vpx_dsp/ppc/quantize_vsx.c
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/libvpx/vpx_dsp/ppc/quantize_vsx.c
++++ chromium-156.0.8078.35/third_party/libvpx/source/libvpx/vpx_dsp/ppc/quantize_vsx.c
@@ -13,6 +13,28 @@
#include "./vpx_dsp_rtcd.h"
#include "vpx_dsp/ppc/types_vsx.h"
diff --git a/0005-blink-add-audio-vector-support.patch b/0005-blink-add-audio-vector-support.patch
index b09cfb0..5509792 100644
--- a/0005-blink-add-audio-vector-support.patch
+++ b/0005-blink-add-audio-vector-support.patch
@@ -1,7 +1,7 @@
-Index: chromium-155.0.8059.39/third_party/blink/renderer/platform/audio/cpu/ppc64/delay_altivec.cc
+Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/cpu/ppc64/delay_altivec.cc
===================================================================
--- /dev/null
-+++ chromium-155.0.8059.39/third_party/blink/renderer/platform/audio/cpu/ppc64/delay_altivec.cc
++++ chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/cpu/ppc64/delay_altivec.cc
@@ -0,0 +1,183 @@
+// Copyright 2016 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
@@ -186,10 +186,10 @@ Index: chromium-155.0.8059.39/third_party/blink/renderer/platform/audio/cpu/ppc6
+}
+
+} // namespace blink
-Index: chromium-155.0.8059.39/third_party/blink/renderer/platform/audio/delay.cc
+Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/delay.cc
===================================================================
---- chromium-155.0.8059.39.orig/third_party/blink/renderer/platform/audio/delay.cc
-+++ chromium-155.0.8059.39/third_party/blink/renderer/platform/audio/delay.cc
+--- chromium-156.0.8078.35.orig/third_party/blink/renderer/platform/audio/delay.cc
++++ chromium-156.0.8078.35/third_party/blink/renderer/platform/audio/delay.cc
@@ -100,7 +100,7 @@ double Delay::DelayTime(float sample_rat
return desired_delay_frames_ / sample_rate;
}
@@ -199,11 +199,11 @@ Index: chromium-155.0.8059.39/third_party/blink/renderer/platform/audio/delay.cc
// Default scalar versions if simd/neon are not available.
std::tuple<size_t, size_t> Delay::ProcessARateVector(
base::span<float> destination,
-Index: chromium-155.0.8059.39/third_party/blink/renderer/platform/BUILD.gn
+Index: chromium-156.0.8078.35/third_party/blink/renderer/platform/BUILD.gn
===================================================================
---- chromium-155.0.8059.39.orig/third_party/blink/renderer/platform/BUILD.gn
-+++ chromium-155.0.8059.39/third_party/blink/renderer/platform/BUILD.gn
-@@ -1994,6 +1994,10 @@ component("platform") {
+--- chromium-156.0.8078.35.orig/third_party/blink/renderer/platform/BUILD.gn
++++ chromium-156.0.8078.35/third_party/blink/renderer/platform/BUILD.gn
+@@ -1997,6 +1997,10 @@ component("platform") {
sources += [ "audio/cpu/arm/delay_neon.cc" ]
}
diff --git a/0009-sandbox-ignore-byte-span-error.patch b/0009-sandbox-ignore-byte-span-error.patch
index ccda90b..d56f953 100644
--- a/0009-sandbox-ignore-byte-span-error.patch
+++ b/0009-sandbox-ignore-byte-span-error.patch
@@ -1,6 +1,8 @@
---- a/sandbox/linux/syscall_broker/broker_host.cc
-+++ b/sandbox/linux/syscall_broker/broker_host.cc
-@@ -287,7 +287,12 @@
+Index: chromium-156.0.8078.35/sandbox/linux/syscall_broker/broker_host.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/sandbox/linux/syscall_broker/broker_host.cc
++++ chromium-156.0.8078.35/sandbox/linux/syscall_broker/broker_host.cc
+@@ -289,7 +289,12 @@ void BrokerHost::StatFileForIPC(BrokerCo
return;
}
RAW_CHECK(reply->AddIntToMessage(0));
diff --git a/HACK-debian-clang-disable-base-musttail.patch b/HACK-debian-clang-disable-base-musttail.patch
index 07e60f7..e7b385b 100644
--- a/HACK-debian-clang-disable-base-musttail.patch
+++ b/HACK-debian-clang-disable-base-musttail.patch
@@ -1,7 +1,7 @@
-Index: chromium-144.0.7559.59/base/compiler_specific.h
+Index: chromium-156.0.8078.35/base/compiler_specific.h
===================================================================
---- chromium-144.0.7559.59.orig/base/compiler_specific.h
-+++ chromium-144.0.7559.59/base/compiler_specific.h
+--- chromium-156.0.8078.35.orig/base/compiler_specific.h
++++ chromium-156.0.8078.35/base/compiler_specific.h
@@ -198,7 +198,7 @@
// MUSTTAIL return Func1(d + 1); // `Func1()` will be tail-called.
// }
diff --git a/HACK-debian-clang-disable-pa-musttail.patch b/HACK-debian-clang-disable-pa-musttail.patch
index dfaa95c..95abbec 100644
--- a/HACK-debian-clang-disable-pa-musttail.patch
+++ b/HACK-debian-clang-disable-pa-musttail.patch
@@ -1,8 +1,8 @@
-Index: chromium-153.0.8010.36/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
+Index: chromium-156.0.8078.35/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
===================================================================
---- chromium-153.0.8010.36.orig/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
-+++ chromium-153.0.8010.36/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
-@@ -153,7 +153,7 @@
+--- chromium-156.0.8078.35.orig/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
++++ chromium-156.0.8078.35/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
+@@ -157,7 +157,7 @@
// PA_MUSTTAIL return Func1(d + 1); // `Func1()` will be tail-called.
// }
// ```
diff --git a/HACK-third_party-libvpx-use-generic-gnu.patch b/HACK-third_party-libvpx-use-generic-gnu.patch
index f2277b9..26c3f1d 100644
--- a/HACK-third_party-libvpx-use-generic-gnu.patch
+++ b/HACK-third_party-libvpx-use-generic-gnu.patch
@@ -1,7 +1,7 @@
-Index: chromium-149.0.7827.53/third_party/libvpx/generate_gni.sh
+Index: chromium-156.0.8078.35/third_party/libvpx/generate_gni.sh
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/generate_gni.sh
-+++ chromium-149.0.7827.53/third_party/libvpx/generate_gni.sh
+--- chromium-156.0.8078.35.orig/third_party/libvpx/generate_gni.sh
++++ chromium-156.0.8078.35/third_party/libvpx/generate_gni.sh
@@ -426,7 +426,7 @@ gen_config_files linux/mipsel "--target=
gen_config_files linux/mips64el "--target=mips64-linux-gcc ${all_platforms}"
gen_config_files linux/loongarch \
@@ -11,10 +11,10 @@ Index: chromium-149.0.7827.53/third_party/libvpx/generate_gni.sh
gen_config_files linux/generic "--target=generic-gnu $HIGHBD ${all_platforms}"
gen_config_files win/arm64-highbd \
"--target=arm64-win64-vs15 ${all_platforms} ${HIGHBD} ${disable_sve}"
-Index: chromium-149.0.7827.53/third_party/libvpx/source/libvpx/build/make/rtcd.pl
+Index: chromium-156.0.8078.35/third_party/libvpx/source/libvpx/build/make/rtcd.pl
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/source/libvpx/build/make/rtcd.pl
-+++ chromium-149.0.7827.53/third_party/libvpx/source/libvpx/build/make/rtcd.pl
+--- chromium-156.0.8078.35.orig/third_party/libvpx/source/libvpx/build/make/rtcd.pl
++++ chromium-156.0.8078.35/third_party/libvpx/source/libvpx/build/make/rtcd.pl
@@ -525,8 +525,9 @@ if ($opts{arch} eq 'x86') {
}
arm;
@@ -27,11 +27,11 @@ Index: chromium-149.0.7827.53/third_party/libvpx/source/libvpx/build/make/rtcd.p
} elsif ($opts{arch} =~ /loongarch/ ) {
@ALL_ARCHS = filter(qw/lsx lasx/);
loongarch;
-Index: chromium-149.0.7827.53/third_party/libvpx/BUILD.gn
+Index: chromium-156.0.8078.35/third_party/libvpx/BUILD.gn
===================================================================
---- chromium-149.0.7827.53.orig/third_party/libvpx/BUILD.gn
-+++ chromium-149.0.7827.53/third_party/libvpx/BUILD.gn
-@@ -95,6 +95,14 @@ config("libvpx_config") {
+--- chromium-156.0.8078.35.orig/third_party/libvpx/BUILD.gn
++++ chromium-156.0.8078.35/third_party/libvpx/BUILD.gn
+@@ -93,6 +93,14 @@ config("libvpx_config") {
"-Wno-sign-compare",
]
}
diff --git a/Rtc_base-system-arch.h-PPC.patch b/Rtc_base-system-arch.h-PPC.patch
index b5a4185..d57fd7c 100644
--- a/Rtc_base-system-arch.h-PPC.patch
+++ b/Rtc_base-system-arch.h-PPC.patch
@@ -1,7 +1,7 @@
-Index: chromium-144.0.7559.59/third_party/webrtc/rtc_base/system/arch.h
+Index: chromium-156.0.8078.35/third_party/webrtc/rtc_base/system/arch.h
===================================================================
---- chromium-144.0.7559.59.orig/third_party/webrtc/rtc_base/system/arch.h
-+++ chromium-144.0.7559.59/third_party/webrtc/rtc_base/system/arch.h
+--- chromium-156.0.8078.35.orig/third_party/webrtc/rtc_base/system/arch.h
++++ chromium-156.0.8078.35/third_party/webrtc/rtc_base/system/arch.h
@@ -46,6 +46,18 @@
#endif
#if defined(__MIPSEL__)
diff --git a/add-ppc64-architecture-string.patch b/add-ppc64-architecture-string.patch
index 3983cfa..35b90cc 100644
--- a/add-ppc64-architecture-string.patch
+++ b/add-ppc64-architecture-string.patch
@@ -1,8 +1,8 @@
-Index: chromium-144.0.7559.59/base/system/sys_info.cc
+Index: chromium-156.0.8078.35/base/system/sys_info.cc
===================================================================
---- chromium-144.0.7559.59.orig/base/system/sys_info.cc
-+++ chromium-144.0.7559.59/base/system/sys_info.cc
-@@ -263,6 +263,8 @@ std::string SysInfo::ProcessCPUArchitect
+--- chromium-156.0.8078.35.orig/base/system/sys_info.cc
++++ chromium-156.0.8078.35/base/system/sys_info.cc
+@@ -277,6 +277,8 @@ std::string SysInfo::ProcessCPUArchitect
return "ARM";
#elif defined(ARCH_CPU_ARM64)
return "ARM_64";
diff --git a/add-ppc64-pthread-stack-size.patch b/add-ppc64-pthread-stack-size.patch
index 8f4472b..d4056fe 100644
--- a/add-ppc64-pthread-stack-size.patch
+++ b/add-ppc64-pthread-stack-size.patch
@@ -1,7 +1,7 @@
-Index: chromium-144.0.7559.59/base/process/launch.h
+Index: chromium-156.0.8078.35/base/process/launch.h
===================================================================
---- chromium-144.0.7559.59.orig/base/process/launch.h
-+++ chromium-144.0.7559.59/base/process/launch.h
+--- chromium-156.0.8078.35.orig/base/process/launch.h
++++ chromium-156.0.8078.35/base/process/launch.h
@@ -58,6 +58,9 @@ enum TerminationStatus : int;
#if defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_LOONGARCH64)
#define PTHREAD_STACK_MIN_CONST \
diff --git a/chromium-154-ftbfs-crubit.patch b/chromium-154-ftbfs-crubit.patch
deleted file mode 100644
index 674ae69..0000000
--- a/chromium-154-ftbfs-crubit.patch
+++ /dev/null
@@ -1,810 +0,0 @@
-ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3983
-
---- a/components/cbor/BUILD.gn
-+++ b/components/cbor/BUILD.gn
-@@ -12,7 +12,7 @@ buildflag_header("buildflags") {
- # TODO(crbug.com/535682335): Remove `USE_CBOR_RUST` buildflag entirely,
- # unconditionally enable Rust CBOR parser, and drop `is_cronet_build` check
- # once Cronet supports Crubit dependencies.
-- flags = [ "USE_CBOR_RUST=!$is_cronet_build" ]
-+ flags = [ "USE_CBOR_RUST=$enable_cpp_api_from_rust" ]
- }
-
- component("cbor") {
-@@ -35,7 +35,7 @@ component("cbor") {
- "//base",
- ]
-
-- if (!is_cronet_build) {
-+ if (enable_cpp_api_from_rust) {
- public_deps = [
- "//build/rust/crubit",
- "//components/cbor/rust:cbor_rust_bindings",
-@@ -62,7 +62,7 @@ source_set("unit_tests") {
- "//testing/gtest",
- "//third_party/fuzztest",
- ]
-- if (!is_cronet_build) {
-+ if (enable_cpp_api_from_rust) {
- deps += [
- "//components/cbor/rust:cbor_rust_bindings",
- "//components/cbor/rust:cbor_rust_unittests",
---- a/components/web_package/BUILD.gn
-+++ b/components/web_package/BUILD.gn
-@@ -40,7 +40,6 @@ static_library("web_package") {
- "//base",
- "//components/base32",
- "//components/cbor",
-- "//components/web_package/signed_web_bundles/rust:signed_web_bundles_rust_bindings",
- "//mojo/public/cpp/bindings",
- "//net",
- "//services/network/public/mojom",
-@@ -70,7 +69,6 @@ source_set("mojom_mapped_types") {
-
- deps = [
- "//base",
-- "//components/web_package/signed_web_bundles/rust:signed_web_bundles_rust_bindings",
- "//crypto",
- "//mojo/public/cpp/bindings",
- ]
-@@ -98,7 +96,6 @@ source_set("unit_tests") {
- ":web_package",
- "//base/test:test_support",
- "//components/cbor",
-- "//components/web_package/signed_web_bundles/rust:signed_web_bundles_rust_unittests",
- "//components/web_package/test_support",
- "//mojo/public/cpp/bindings",
- "//mojo/public/cpp/test_support:test_utils",
---- a/components/web_package/signed_web_bundles/ecdsa_p256_sha256_signature.cc
-+++ b/components/web_package/signed_web_bundles/ecdsa_p256_sha256_signature.cc
-@@ -9,7 +9,8 @@
- #include "base/strings/stringprintf.h"
- #include "base/types/expected.h"
- #include "components/web_package/signed_web_bundles/ecdsa_p256_public_key.h"
--#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
-+#include "crypto/keypair.h"
-+#include "crypto/sign.h"
-
- namespace web_package {
-
-@@ -50,8 +51,9 @@ EcdsaP256SHA256Signature::EcdsaP256SHA25
- [[nodiscard]] bool EcdsaP256SHA256Signature::Verify(
- base::span<const uint8_t> message,
- const EcdsaP256PublicKey& public_key) const {
-- return signed_web_bundles::rust::verify_ecdsa_p256_signature(
-- public_key.bytes(), bytes(), message);
-+ auto key = crypto::keypair::PublicKey::FromEcP256Point(public_key.bytes());
-+ return crypto::sign::Verify(crypto::sign::ECDSA_SHA256, *key, message,
-+ bytes());
- }
-
- } // namespace web_package
---- a/components/web_package/signed_web_bundles/ed25519_signature.cc
-+++ b/components/web_package/signed_web_bundles/ed25519_signature.cc
-@@ -7,7 +7,6 @@
- #include <algorithm>
-
- #include "base/strings/stringprintf.h"
--#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
- #include "third_party/boringssl/src/include/openssl/curve25519.h"
-
- namespace web_package {
-@@ -43,8 +42,11 @@ Ed25519Signature::Ed25519Signature(std::
- [[nodiscard]] bool Ed25519Signature::Verify(
- base::span<const uint8_t> message,
- const Ed25519PublicKey& public_key) const {
-- return signed_web_bundles::rust::verify_ed25519_signature(public_key.bytes(),
-- bytes(), message);
-+ const std::array<uint8_t, ED25519_PUBLIC_KEY_LEN>& public_key_bytes =
-+ public_key.bytes();
-+ const std::array<uint8_t, ED25519_SIGNATURE_LEN>& signature_bytes = bytes();
-+ return ED25519_verify(message.data(), message.size(), signature_bytes.data(),
-+ public_key_bytes.data());
- }
-
- } // namespace web_package
---- a/components/web_package/signed_web_bundles/integrity_block_parser.cc
-+++ b/components/web_package/signed_web_bundles/integrity_block_parser.cc
-@@ -4,17 +4,19 @@
-
- #include "components/web_package/signed_web_bundles/integrity_block_parser.h"
-
-+#include <algorithm>
- #include <string>
--#include <string_view>
- #include <vector>
-
--#include "base/check.h"
--#include "base/containers/span.h"
-+#include "base/containers/map_util.h"
- #include "base/functional/bind.h"
- #include "base/strings/stringprintf.h"
-+#include "base/strings/to_string.h"
- #include "base/types/expected.h"
- #include "base/types/expected_macros.h"
- #include "components/cbor/reader.h"
-+#include "components/cbor/writer.h"
-+#include "components/web_package/mojom/web_bundle_parser.mojom-forward.h"
- #include "components/web_package/mojom/web_bundle_parser.mojom.h"
- #include "components/web_package/signed_web_bundles/constants.h"
- #include "components/web_package/signed_web_bundles/ecdsa_p256_public_key.h"
-@@ -22,56 +24,11 @@
- #include "components/web_package/signed_web_bundles/ed25519_public_key.h"
- #include "components/web_package/signed_web_bundles/ed25519_signature.h"
- #include "components/web_package/signed_web_bundles/integrity_block_attributes.h"
--#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
- #include "components/web_package/signed_web_bundles/signed_web_bundle_id.h"
- #include "components/web_package/signed_web_bundles/types.h"
-
- namespace web_package {
-
--namespace {
--
--using SignatureType = signed_web_bundles::rust::SignatureType::Tag;
--using signed_web_bundles::rust::parse_integrity_block;
--
--base::expected<mojom::BundleIntegrityBlockSignatureStackEntryPtr, std::string>
--CreateSignatureStackEntry(
-- const signed_web_bundles::rust::SignatureStackEntry& entry) {
-- auto parsed_sig = mojom::BundleIntegrityBlockSignatureStackEntry::New();
--
-- switch (entry.signature_type.tag) {
-- case SignatureType::Ed25519: {
-- ASSIGN_OR_RETURN(auto public_key,
-- Ed25519PublicKey::Create(entry.public_key.to_span()));
-- ASSIGN_OR_RETURN(auto signature,
-- Ed25519Signature::Create(entry.signature.to_span()));
-- parsed_sig->signature_info = mojom::SignatureInfo::NewEd25519(
-- mojom::SignatureInfoEd25519::New(public_key, signature));
-- break;
-- }
-- case SignatureType::EcdsaP256SHA256: {
-- ASSIGN_OR_RETURN(auto public_key,
-- EcdsaP256PublicKey::Create(entry.public_key.to_span()));
-- ASSIGN_OR_RETURN(auto signature, EcdsaP256SHA256Signature::Create(
-- entry.signature.to_span()));
-- parsed_sig->signature_info = mojom::SignatureInfo::NewEcdsaP256Sha256(
-- mojom::SignatureInfoEcdsaP256SHA256::New(public_key, signature));
-- break;
-- }
-- case SignatureType::Unknown: {
-- parsed_sig->signature_info =
-- mojom::SignatureInfo::NewUnknown(mojom::SignatureInfoUnknown::New());
-- break;
-- }
-- }
--
-- parsed_sig->attributes_cbor =
-- BinaryData(entry.attributes_cbor.begin(), entry.attributes_cbor.end());
--
-- return parsed_sig;
--}
--
--} // namespace
--
- IntegrityBlockParser::IntegrityBlockParser(
- mojom::BundleDataSource& data_source,
- WebBundleParser::ParseIntegrityBlockCallback callback)
-@@ -103,37 +60,103 @@ void IntegrityBlockParser::OnIntegrityBl
- RunErrorCallback("Error reading the integrity block.");
- return;
- }
-+ // This structure is built during parsing and returned by the final callback
-+ mojom::BundleIntegrityBlockPtr integrity_block =
-+ mojom::BundleIntegrityBlock::New();
-+
-+ size_t consumed_bytes = 0;
-+ cbor::Reader::DecoderError error;
-+ cbor::Reader::Config config;
-+ config.num_bytes_consumed = &consumed_bytes;
-+ config.error_code_out = &error;
-+
-+ // When config `bytes_consumed` are assigned the CBOR parser reads only to the
-+ // end of a structure. It parses only Integrity Block even if Web Bundle part
-+ // starts just after.
-+ std::optional<cbor::Value> value = cbor::Reader::Read(*data, config);
-+ if (!value) {
-+ RunErrorCallback("Error parsing integrity block as CBOR: " +
-+ std::string(cbor::Reader::ErrorCodeToString(error)));
-+ return;
-+ }
-+ integrity_block->size = consumed_bytes;
-+
-+ if (!value->is_array()) {
-+ RunErrorCallback("Integrity block is not a CBOR array.");
-+ return;
-+ }
-
-- const auto parse_res = parse_integrity_block(*data);
-- if (!parse_res.has_value()) {
-- const auto& error = parse_res.error();
-- RunErrorCallback(std::string(error.message.as_str()),
-- error.is_version_error
-- ? mojom::BundleParseErrorType::kVersionError
-- : mojom::BundleParseErrorType::kFormatError);
-+ const cbor::Value::ArrayValue& top_array = value->GetArray();
-+ if (top_array.size() != kIntegrityBlockV2TopLevelArrayLength) {
-+ RunErrorCallback(base::StringPrintf(
-+ "Invalid integrity block array length: expected %u, got %zu.",
-+ kIntegrityBlockV2TopLevelArrayLength, top_array.size()));
- return;
- }
-
-- const auto& parsed_ib = *parse_res;
-- auto integrity_block = mojom::BundleIntegrityBlock::New();
-- integrity_block->size = parsed_ib.size;
--
-- const std::string_view web_bundle_id_str =
-- parsed_ib.web_bundle_id.to_string_view();
-- RETURN_IF_ERROR(
-- SignedWebBundleId::Create(web_bundle_id_str),
-- [&](std::string error) { RunErrorCallback(std::move(error)); });
--
-- integrity_block->attributes =
-- IntegrityBlockAttributes(std::string(web_bundle_id_str),
-- BinaryData(parsed_ib.attributes_cbor.begin(),
-- parsed_ib.attributes_cbor.end()));
-+ // 1. Magic bytes
-+ if (!top_array[0].is_bytestring() ||
-+ !std::ranges::equal(top_array[0].GetBytestring(),
-+ kIntegrityBlockMagicBytes)) {
-+ RunErrorCallback("Unexpected magic bytes.");
-+ return;
-+ }
-+
-+ // 2. Version
-+ if (!top_array[1].is_bytestring() ||
-+ !std::ranges::equal(top_array[1].GetBytestring(),
-+ kIntegrityBlockV2VersionBytes)) {
-+ RunErrorCallback("Unexpected version bytes.",
-+ mojom::BundleParseErrorType::kVersionError);
-+ return;
-+ }
-
-- for (const auto& entry : parsed_ib.signature_stack) {
-+ // 3. Attributes
-+ if (!top_array[2].is_map()) {
-+ RunErrorCallback("Integrity block attributes must be a map.");
-+ return;
-+ }
-+ const cbor::Value::MapValue& attributes_map = top_array[2].GetMap();
-+ const cbor::Value* web_bundle_id =
-+ base::FindOrNull(attributes_map, cbor::Value(kWebBundleIdAttributeName));
-+ if (!web_bundle_id || !web_bundle_id->is_string()) {
-+ RunErrorCallback(
-+ "`webBundleId` integrity block attribute is missing or malformed.");
-+ return;
-+ }
-+
-+ // Check if web_bundle_id is correct
-+ RETURN_IF_ERROR(SignedWebBundleId::Create(web_bundle_id->GetString()),
-+ [&](const std::string& error) { RunErrorCallback(error); });
-+
-+ BinaryData attributes_cbor = *cbor::Writer::Write(top_array[2]);
-+ integrity_block->attributes = IntegrityBlockAttributes(
-+ web_bundle_id->GetString(), std::move(attributes_cbor));
-+
-+ // 4. Signature Stack
-+ if (!top_array[3].is_array()) {
-+ RunErrorCallback("Signature stack must be an array.");
-+ return;
-+ }
-+ const cbor::Value::ArrayValue& signatures = top_array[3].GetArray();
-+ if (signatures.empty()) {
-+ RunErrorCallback(
-+ "The signature stack must contain at least one signature.");
-+ return;
-+ }
-+
-+ for (const auto& signature_info_raw : signatures) {
- ASSIGN_OR_RETURN(
-- auto parsed_sig, CreateSignatureStackEntry(entry),
-- [&](std::string error) { RunErrorCallback(std::move(error)); });
-- integrity_block->signature_stack.push_back(std::move(parsed_sig));
-+ auto parsed_signature_info, ParseSignatureInfo(signature_info_raw),
-+ [&](const std::string& error) { this->RunErrorCallback(error); });
-+
-+ if (integrity_block->signature_stack.empty() &&
-+ parsed_signature_info->signature_info->is_unknown()) {
-+ RunErrorCallback("Unknown cipher type of the first signature.");
-+ return;
-+ }
-+ integrity_block->signature_stack.push_back(
-+ std::move(parsed_signature_info));
- }
-
- std::move(complete_callback_)
-@@ -141,13 +164,74 @@ void IntegrityBlockParser::OnIntegrityBl
- std::move(integrity_block), nullptr));
- }
-
-+base::expected<mojom::BundleIntegrityBlockSignatureStackEntryPtr, std::string>
-+IntegrityBlockParser::ParseSignatureInfo(
-+ const cbor::Value& signature_info_raw) {
-+ if (!signature_info_raw.is_array() ||
-+ signature_info_raw.GetArray().size() != 2) {
-+ return base::unexpected(
-+ "Each signature stack entry must contain exactly two elements.");
-+ }
-+
-+ const cbor::Value::ArrayValue& signature_info_array =
-+ signature_info_raw.GetArray();
-+ if (!signature_info_array[0].is_map() ||
-+ !signature_info_array[1].is_bytestring()) {
-+ return base::unexpected("Malformed signature stack entry.");
-+ }
-+
-+ mojom::BundleIntegrityBlockSignatureStackEntryPtr parsed_signature_info =
-+ mojom::BundleIntegrityBlockSignatureStackEntry::New();
-+ parsed_signature_info->attributes_cbor =
-+ *cbor::Writer::Write(signature_info_array[0]);
-+
-+ const cbor::Value::MapValue& signature_attributes =
-+ signature_info_array[0].GetMap();
-+ const BinaryData& signature_bytes = signature_info_array[1].GetBytestring();
-+
-+ const cbor::Value* ed25519_key = base::FindOrNull(
-+ signature_attributes, cbor::Value(kEd25519PublicKeyAttributeName));
-+ const cbor::Value* ecdsa_key = base::FindOrNull(
-+ signature_attributes, cbor::Value(kEcdsaP256PublicKeyAttributeName));
-+
-+ if (ed25519_key && ecdsa_key) {
-+ return base::unexpected("Multiple key types for one signature.");
-+ } else if (ed25519_key && !ed25519_key->is_bytestring()) {
-+ return base::unexpected("Invalid ED25519 key.");
-+ } else if (ecdsa_key && !ecdsa_key->is_bytestring()) {
-+ return base::unexpected("Invalid ECDSA key.");
-+
-+ } else if (ed25519_key && ed25519_key->is_bytestring()) {
-+ ASSIGN_OR_RETURN(auto public_key,
-+ Ed25519PublicKey::Create(ed25519_key->GetBytestring()));
-+ ASSIGN_OR_RETURN(auto signature, Ed25519Signature::Create(signature_bytes));
-+ parsed_signature_info->signature_info = mojom::SignatureInfo::NewEd25519(
-+ mojom::SignatureInfoEd25519::New(public_key, signature));
-+
-+ } else if (ecdsa_key && ecdsa_key->is_bytestring()) {
-+ ASSIGN_OR_RETURN(auto public_key,
-+ EcdsaP256PublicKey::Create(ecdsa_key->GetBytestring()));
-+ ASSIGN_OR_RETURN(auto signature,
-+ EcdsaP256SHA256Signature::Create(signature_bytes));
-+ parsed_signature_info->signature_info =
-+ mojom::SignatureInfo::NewEcdsaP256Sha256(
-+ mojom::SignatureInfoEcdsaP256SHA256::New(public_key, signature));
-+
-+ } else {
-+ parsed_signature_info->signature_info =
-+ mojom::SignatureInfo::NewUnknown(mojom::SignatureInfoUnknown::New());
-+ }
-+
-+ return parsed_signature_info;
-+}
-+
- void IntegrityBlockParser::RunErrorCallback(
-- std::string message,
-+ const std::string& message,
- mojom::BundleParseErrorType error_type) {
- std::move(complete_callback_)
-- .Run(base::BindOnce(std::move(result_callback_), nullptr,
-- mojom::BundleIntegrityBlockParseError::New(
-- error_type, std::move(message))));
-+ .Run(base::BindOnce(
-+ std::move(result_callback_), nullptr,
-+ mojom::BundleIntegrityBlockParseError::New(error_type, message)));
- }
-
- } // namespace web_package
---- a/components/web_package/signed_web_bundles/integrity_block_parser.h
-+++ b/components/web_package/signed_web_bundles/integrity_block_parser.h
-@@ -5,13 +5,8 @@
- #ifndef COMPONENTS_WEB_PACKAGE_SIGNED_WEB_BUNDLES_INTEGRITY_BLOCK_PARSER_H_
- #define COMPONENTS_WEB_PACKAGE_SIGNED_WEB_BUNDLES_INTEGRITY_BLOCK_PARSER_H_
-
--#include <optional>
--#include <string>
--
--#include "base/compiler_specific.h"
--#include "base/memory/raw_ref.h"
--#include "base/memory/weak_ptr.h"
- #include "components/web_package/mojom/web_bundle_parser.mojom-forward.h"
-+#include "components/web_package/signed_web_bundles/integrity_block_attributes.h"
- #include "components/web_package/signed_web_bundles/types.h"
- #include "components/web_package/web_bundle_parser.h"
-
-@@ -20,7 +15,7 @@ namespace web_package {
- class IntegrityBlockParser : public WebBundleParser::WebBundleSectionParser {
- public:
- explicit IntegrityBlockParser(
-- mojom::BundleDataSource& data_source LIFETIME_BOUND,
-+ mojom::BundleDataSource& data_source,
- WebBundleParser::ParseIntegrityBlockCallback callback);
-
- IntegrityBlockParser(const IntegrityBlockParser&) = delete;
-@@ -35,7 +30,10 @@ class IntegrityBlockParser : public WebB
- private:
- void OnIntegrityBlockRead(const std::optional<BinaryData>& data);
-
-- void RunErrorCallback(std::string message,
-+ base::expected<mojom::BundleIntegrityBlockSignatureStackEntryPtr, std::string>
-+ ParseSignatureInfo(const cbor::Value& attributes_map);
-+
-+ void RunErrorCallback(const std::string& message,
- mojom::BundleParseErrorType error_type =
- mojom::BundleParseErrorType::kFormatError);
-
---- a/components/web_package/signed_web_bundles/rust/BUILD.gn
-+++ b/components/web_package/signed_web_bundles/rust/BUILD.gn
-@@ -10,7 +10,6 @@ rust_static_library("signed_web_bundles_
- sources = [
- "constants.rs",
- "integrity_block.rs",
-- "signature_verifier.rs",
- "types.rs",
- crate_root,
- ]
---- a/components/web_package/signed_web_bundles/signed_web_bundle_signature_verifier.cc
-+++ b/components/web_package/signed_web_bundles/signed_web_bundle_signature_verifier.cc
-@@ -20,14 +20,17 @@
- #include "base/task/thread_pool.h"
- #include "base/types/expected.h"
- #include "base/types/expected_macros.h"
-+#include "components/cbor/values.h"
-+#include "components/cbor/writer.h"
-+#include "components/web_package/signed_web_bundles/constants.h"
- #include "components/web_package/signed_web_bundles/identity_validator.h"
- #include "components/web_package/signed_web_bundles/integrity_block_parser.h"
--#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
- #include "components/web_package/signed_web_bundles/signed_web_bundle_id.h"
- #include "components/web_package/signed_web_bundles/signed_web_bundle_integrity_block.h"
- #include "components/web_package/signed_web_bundles/signed_web_bundle_signature_stack.h"
- #include "components/web_package/signed_web_bundles/signed_web_bundle_signature_stack_entry.h"
- #include "components/web_package/signed_web_bundles/signed_web_bundle_utils.h"
-+#include "crypto/hash.h"
- #include "third_party/abseil-cpp/absl/functional/overload.h"
- #include "third_party/boringssl/src/include/openssl/sha.h"
-
-@@ -37,10 +40,32 @@ namespace {
-
- std::vector<uint8_t> CreateIntegrityBlockCbor(
- const SignedWebBundleIntegrityBlock& integrity_block) {
-- auto ib_cbor_rust =
-- signed_web_bundles::rust::create_empty_integrity_block_cbor(
-- integrity_block.attributes_cbor());
-- return std::vector<uint8_t>(ib_cbor_rust.begin(), ib_cbor_rust.end());
-+ // This function looks like it should use a cbor::Value::ArrayValue to build
-+ // the outer array, but it can't: one of the elements is a pre-encoded CBOR
-+ // value which we can't safely decode because it's untrusted input. This is
-+ // obviously undesirable, because there's no guarantee at all that the
-+ // pre-encoded value is actually valid CBOR.
-+ //
-+ // TODO(https://crbug.com/454485901): once there's a memory-safe CBOR parser,
-+ // re-parse the pre-encoded value, then re-encode it here instead of
-+ // constructing a CBOR array by hand so that we're guaranteed that the result
-+ // of this function is valid.
-+ std::vector<uint8_t> ib_cbor;
-+
-+ // 0x84 is the encoding byte for an array of length 4.
-+ ib_cbor.push_back(0x84);
-+ base::Extend(ib_cbor,
-+ *cbor::Writer::Write(cbor::Value(kIntegrityBlockMagicBytes)));
-+ base::Extend(ib_cbor, *cbor::Writer::Write(
-+ cbor::Value(kIntegrityBlockV2VersionBytes)));
-+ // We cannot parse `attributes().cbor()` back to a cbor::Value as they
-+ // technically represent untrusted input.
-+ base::Extend(ib_cbor, integrity_block.attributes_cbor());
-+ // Encode an empty signature array.
-+ base::Extend(ib_cbor,
-+ *cbor::Writer::Write(cbor::Value(cbor::Value::ArrayValue())));
-+
-+ return ib_cbor;
- }
-
- base::expected<void, SignedWebBundleSignatureVerifier::Error>
-@@ -104,7 +129,7 @@ SignedWebBundleSignatureVerifier::Calcul
- return base::unexpected(base::File::ErrorToString(file.GetLastFileError()));
- }
-
-- signed_web_bundles::rust::Sha512Hasher hasher;
-+ crypto::hash::Hasher hash(crypto::hash::kSha512);
-
- // Calculate the hash of the Signed Web Bundle excluding its integrity block.
- // The file might be too big to read it into memory all at once, which is why
-@@ -121,14 +146,15 @@ SignedWebBundleSignatureVerifier::Calcul
- base::File::ErrorToString(file.GetLastFileError()));
- }
- data.resize(*bytes_read);
-- hasher.update(data);
-+ hash.Update(data);
-
- if (!base::CheckAdd(offset, *bytes_read).AssignIfValid(&offset)) {
- return base::unexpected("The Signed Web Bundle is too large.");
- }
- }
-
-- SHA512Digest digest = std::move(hasher).finish();
-+ SHA512Digest digest;
-+ hash.Finish(digest);
- return digest;
- }
-
---- a/components/web_package/signed_web_bundles/signed_web_bundle_utils.cc
-+++ b/components/web_package/signed_web_bundles/signed_web_bundle_utils.cc
-@@ -5,18 +5,37 @@
- #include "components/web_package/signed_web_bundles/signed_web_bundle_utils.h"
-
- #include <cstdint>
--#include <vector>
-
--#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
-+#include "base/containers/extend.h"
-+#include "base/containers/span.h"
-+#include "base/containers/span_writer.h"
-
- namespace web_package {
-
-+namespace {
-+
-+void AddItemToPayload(std::vector<uint8_t>& payload,
-+ base::span<const uint8_t> item) {
-+ // Each item that is part of the payload is prefixed with its length encoded
-+ // as a 64 bit unsigned integer.
-+ std::array<uint8_t, sizeof(uint64_t)> length;
-+ auto writer = base::SpanWriter(base::span(length));
-+ CHECK(writer.WriteU64BigEndian(item.size()));
-+
-+ base::Extend(payload, base::span(length));
-+ base::Extend(payload, item);
-+}
-+
-+} // namespace
-+
- std::vector<uint8_t> CreateSignaturePayload(
- const SignedWebBundleSignatureData& data) {
-- auto payload_rust = signed_web_bundles::rust::create_signature_payload(
-- data.unsigned_web_bundle_hash, data.integrity_block_cbor,
-- data.attributes_cbor);
-- return std::vector<uint8_t>(payload_rust.begin(), payload_rust.end());
-+ std::vector<uint8_t> payload;
-+ AddItemToPayload(payload, data.unsigned_web_bundle_hash);
-+ AddItemToPayload(payload, data.integrity_block_cbor);
-+ AddItemToPayload(payload, data.attributes_cbor);
-+
-+ return payload;
- }
-
- } // namespace web_package
---- a/third_party/blink/renderer/platform/BUILD.gn
-+++ b/third_party/blink/renderer/platform/BUILD.gn
-@@ -186,6 +186,18 @@ group("make_platform_generated") {
- ]
- }
-
-+rust_static_library("font_format_check") {
-+ allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
-+ crate_root = "fonts/opentype/format_check.rs"
-+ sources = [ crate_root ]
-+ cxx_bindings = [ crate_root ]
-+ deps = [
-+ "//third_party/rust/font_types/v0_12:lib",
-+ "//third_party/rust/read_fonts/v0_43:lib",
-+ "//third_party/rust/skrifa/v0_46:lib",
-+ ]
-+}
-+
- rust_static_library("rustfft_ffi") {
- allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
- crate_root = "audio/rustfft_ffi.rs"
-@@ -712,8 +724,6 @@ component("platform") {
- "fonts/generic_font_family_settings.cc",
- "fonts/generic_font_family_settings.h",
- "fonts/glyph_metrics_map.h",
-- "fonts/ift/ift_patcher.cc",
-- "fonts/ift/ift_patcher.h",
- "fonts/opentype/color_table_lookup.cc",
- "fonts/opentype/color_table_lookup.h",
- "fonts/opentype/font_format_check.cc",
-@@ -1792,7 +1802,6 @@ component("platform") {
- ":allow_discouraged_type",
- ":blink_platform_public_deps",
- ":platform_export",
-- "//build/rust/crubit",
- "//components/language_detection/core",
- "//gpu/command_buffer/client:raster_interface",
- "//media/capture:capture_lib",
-@@ -1819,9 +1828,8 @@ component("platform") {
- "//ui/native_theme/features",
- ]
- deps = [
-+ ":font_format_check",
- ":rustfft_ffi",
-- "fonts:font_format_bindings",
-- "fonts:ift_patcher_bindings",
- "//base:base_static",
- "//base/allocator:buildflags",
- "//build:chromecast_buildflags",
---- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
-+++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
-@@ -7,6 +7,7 @@
- #include "base/containers/span.h"
- #include "base/containers/span_rust.h"
- #include "base/numerics/byte_conversions.h"
-+#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
- #include "third_party/blink/renderer/platform/runtime_enabled_features.h"
- #include "third_party/blink/renderer/platform/wtf/vector.h"
- #include "third_party/skia/include/core/SkTypeface.h"
-@@ -14,37 +15,35 @@
- namespace blink {
-
- FontFormatCheck::FontFormatCheck(sk_sp<SkData> sk_data)
-- : format_info_(font_format::get_font_format_info(
-+ : format_info_(font_format_check::get_font_format_info(
- base::SpanToRustSlice(sk_data->byteSpan()))) {}
-
--FontFormatCheck::~FontFormatCheck() = default;
--
- bool FontFormatCheck::IsVariableFont() const {
-- return font_format::is_variable(format_info_);
-+ return font_format_check::is_variable(*format_info_);
- }
-
- bool FontFormatCheck::IsCbdtCblcColorFont() const {
-- return font_format::is_cbdt_cblc(format_info_);
-+ return font_format_check::is_cbdt_cblc(*format_info_);
- }
-
- bool FontFormatCheck::IsEbdtEblcMonochromeFont() const {
-- return font_format::is_ebdt_eblc(format_info_);
-+ return font_format_check::is_ebdt_eblc(*format_info_);
- }
-
- bool FontFormatCheck::IsColrCpalColorFontV0() const {
-- return font_format::is_colrv0(format_info_);
-+ return font_format_check::is_colrv0(*format_info_);
- }
-
- bool FontFormatCheck::IsColrCpalColorFontV1() const {
-- return font_format::is_colrv1(format_info_);
-+ return font_format_check::is_colrv1(*format_info_);
- }
-
- bool FontFormatCheck::IsSbixColorFont() const {
-- return font_format::is_sbix(format_info_);
-+ return font_format_check::is_sbix(*format_info_);
- }
-
- bool FontFormatCheck::IsCff2OutlineFont() const {
-- return font_format::is_cff2(format_info_);
-+ return font_format_check::is_cff2(*format_info_);
- }
-
- bool FontFormatCheck::IsVariableColrV0Font() const {
-@@ -58,7 +57,7 @@ bool FontFormatCheck::IsColorFont() cons
-
- bool FontFormatCheck::IsAvar2Font() const {
- return RuntimeEnabledFeatures::FontFormatAvar2Enabled() &&
-- font_format::is_avar2(format_info_);
-+ font_format_check::is_avar2(*format_info_);
- }
-
- FontFormatCheck::VariableFontSubType FontFormatCheck::ProbeVariableFont(
---- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
-+++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
-@@ -5,7 +5,7 @@
- #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_OPENTYPE_FONT_FORMAT_CHECK_H_
- #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_OPENTYPE_FONT_FORMAT_CHECK_H_
-
--#include "third_party/blink/renderer/platform/fonts/font_format.h"
-+#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
- #include "third_party/blink/renderer/platform/platform_export.h"
- #include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
- #include "third_party/skia/include/core/SkData.h"
-@@ -19,7 +19,7 @@ class PLATFORM_EXPORT FontFormatCheck {
-
- public:
- explicit FontFormatCheck(sk_sp<SkData>);
-- virtual ~FontFormatCheck();
-+ virtual ~FontFormatCheck() = default;
- virtual bool IsVariableFont() const;
- virtual bool IsCbdtCblcColorFont() const;
- virtual bool IsEbdtEblcMonochromeFont() const;
-@@ -46,7 +46,7 @@ class PLATFORM_EXPORT FontFormatCheck {
- enum class COLRVersion { kCOLRV0, kCOLRV1, kNoCOLR };
-
- private:
-- font_format::FontFormatInfo format_info_;
-+ rust::Box<font_format_check::FontFormatInfo> format_info_;
- };
-
- } // namespace blink
---- a/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
-+++ b/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
-@@ -23,7 +23,7 @@ pub struct FontFormatInfo {
- format_flags: Option<FontFormatFlags>,
- }
-
--pub fn get_font_format_info(font_bytes: &[u8]) -> FontFormatInfo {
-+pub fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo> {
- let file_ref = make_font_ref_internal(font_bytes, 0);
-
- match file_ref {
-@@ -32,11 +32,11 @@ pub fn get_font_format_info(font_bytes:
- font.table_directory().table_records().iter().map(|e| e.tag()).collect();
- let color_version = get_colr_version(&font);
- let avar_version = get_avar_version(&font);
-- FontFormatInfo {
-+ Box::new(FontFormatInfo {
- format_flags: Some(FontFormatFlags { table_tags, color_version, avar_version }),
-- }
-+ })
- }
-- _ => FontFormatInfo::default(),
-+ _ => Box::new(FontFormatInfo::default()),
- }
- }
-
-@@ -44,10 +44,10 @@ fn get_colr_version(font_ref: &FontRef)
- Some(font_ref.colr().ok()?.version())
- }
-
--pub fn is_colrv1(format_info: &FontFormatInfo) -> bool {
-+fn is_colrv1(format_info: &FontFormatInfo) -> bool {
- matches!(&format_info.format_flags, Some(FontFormatFlags { color_version: Some(1), .. }),)
- }
--pub fn is_colrv0(format_info: &FontFormatInfo) -> bool {
-+fn is_colrv0(format_info: &FontFormatInfo) -> bool {
- matches!(&format_info.format_flags, Some(FontFormatFlags { color_version: Some(0), .. }),)
- }
-
-@@ -56,7 +56,7 @@ fn get_avar_version(font_ref: &FontRef)
- Some((version.major, version.minor))
- }
-
--pub fn is_avar2(format_info: &FontFormatInfo) -> bool {
-+fn is_avar2(format_info: &FontFormatInfo) -> bool {
- matches!(&format_info.format_flags, Some(FontFormatFlags { avar_version: Some((2, _)), .. }),)
- }
-
-@@ -69,22 +69,39 @@ fn has_tags(format_info: &FontFormatInfo
- }
- }
-
--pub fn is_variable(format_info: &FontFormatInfo) -> bool {
-+fn is_variable(format_info: &FontFormatInfo) -> bool {
- has_tags(format_info, &[Tag::new(b"fvar")])
- }
-
--pub fn is_sbix(format_info: &FontFormatInfo) -> bool {
-+fn is_sbix(format_info: &FontFormatInfo) -> bool {
- has_tags(format_info, &[Tag::new(b"sbix")])
- }
-
--pub fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
-+fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
- has_tags(format_info, &[Tag::new(b"CBDT"), Tag::new(b"CBLC")])
- }
-
--pub fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
-+fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
- has_tags(format_info, &[Tag::new(b"EBDT"), Tag::new(b"EBLC")])
- }
-
--pub fn is_cff2(format_info: &FontFormatInfo) -> bool {
-+fn is_cff2(format_info: &FontFormatInfo) -> bool {
- has_tags(format_info, &[Tag::new(b"CFF2")])
- }
-+
-+#[cxx::bridge(namespace = "font_format_check")]
-+pub mod ffi {
-+ extern "Rust" {
-+ type FontFormatInfo;
-+
-+ fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo>;
-+ fn is_colrv1(format_info: &FontFormatInfo) -> bool;
-+ fn is_colrv0(format_info: &FontFormatInfo) -> bool;
-+ fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool;
-+ fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool;
-+ fn is_variable(format_info: &FontFormatInfo) -> bool;
-+ fn is_sbix(format_info: &FontFormatInfo) -> bool;
-+ fn is_cff2(format_info: &FontFormatInfo) -> bool;
-+ fn is_avar2(format_info: &FontFormatInfo) -> bool;
-+ }
-+}
diff --git a/chromium-154-ftbfs-private-verification-tokens.patch b/chromium-154-ftbfs-private-verification-tokens.patch
deleted file mode 100644
index 151fde6..0000000
--- a/chromium-154-ftbfs-private-verification-tokens.patch
+++ /dev/null
@@ -1,298 +0,0 @@
-ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3983
-
---- a/chrome/browser/BUILD.gn
-+++ b/chrome/browser/BUILD.gn
-@@ -1015,7 +1015,6 @@ source_set("core") {
- "//chrome/browser/preloading/search_preload:feature",
- "//chrome/browser/privacy_sandbox:headers",
- "//chrome/browser/private_ai",
-- "//chrome/browser/private_verification_tokens",
- "//chrome/browser/profiles:misc",
- "//chrome/browser/profiles:profile_io_data",
- "//chrome/browser/profiles:profiles_extra_parts",
-@@ -2219,7 +2218,6 @@ source_set("browser") {
- "//chrome/browser/preloading/search_preload",
- "//chrome/browser/privacy",
- "//chrome/browser/privacy_sandbox:impl",
-- "//chrome/browser/private_verification_tokens",
- "//chrome/browser/profiles:misc",
- "//chrome/browser/profiles:profile_util_impl",
- "//chrome/browser/profiles:profiles_extra_parts_impl",
---- a/chrome/browser/browsing_data/BUILD.gn
-+++ b/chrome/browser/browsing_data/BUILD.gn
-@@ -125,7 +125,6 @@ source_set("impl") {
- "//chrome/browser/preloading/prefetch/no_state_prefetch",
- "//chrome/browser/preloading/prefetch/search_prefetch",
- "//chrome/browser/privacy_sandbox:headers",
-- "//chrome/browser/private_verification_tokens",
- "//chrome/browser/profiles/keep_alive",
- "//chrome/browser/reading_list",
- "//chrome/browser/safe_browsing",
-@@ -268,7 +267,6 @@ source_set("unit_tests") {
- "//chrome/browser/payments/browser_binding:browser_bound_key_deleter",
- "//chrome/browser/payments/browser_binding:test_support",
- "//chrome/browser/permissions",
-- "//chrome/browser/private_verification_tokens",
- "//chrome/browser/reading_list",
- "//chrome/browser/safe_browsing:verdict_cache_manager_factory",
- "//chrome/browser/segmentation_platform",
-@@ -296,7 +294,6 @@ source_set("unit_tests") {
- "//components/privacy_sandbox:privacy_sandbox_settings_headers",
- "//components/privacy_sandbox/privacy_sandbox_attestations",
- "//components/privacy_sandbox/privacy_sandbox_attestations:test_support",
-- "//components/private_verification_tokens/common:private_verification_tokens_database",
- "//components/reading_list/core:test_support",
- "//components/safe_browsing/core/browser:suspicious_site_warning_allowlist",
- "//components/safe_browsing/core/browser:verdict_cache_manager",
---- a/chrome/browser/browsing_data/chrome_browsing_data_model_delegate.cc
-+++ b/chrome/browser/browsing_data/chrome_browsing_data_model_delegate.cc
-@@ -127,15 +127,6 @@ void ChromeBrowsingDataModelDelegate::Ge
-
- GetAllMediaDeviceSaltDataKeys(concurrent.CreateCallback(), {});
-
-- if (base::FeatureList::IsEnabled(
-- net::features::kEnablePrivateVerificationTokens)) {
-- if (auto* pvt_service =
-- PrivateVerificationTokensServiceFactory::GetForProfile(profile_)) {
-- pvt_service->GetTokenIssuers(
-- base::BindOnce(&PrivateVerificationTokenBrowsingDataToDelegateEntries)
-- .Then(concurrent.CreateCallback()));
-- }
-- }
-
- // TODO(crbug.com/40205603): Implement data retrieval for remaining data
- // types.
-@@ -180,20 +171,6 @@ void ChromeBrowsingDataModelDelegate::Re
- }
- #endif // !BUILDFLAG(IS_ANDROID)
-
-- if (base::FeatureList::IsEnabled(
-- net::features::kEnablePrivateVerificationTokens) &&
-- storage_types.Has(static_cast<BrowsingDataModel::StorageType>(
-- StorageType::kPrivateVerificationTokens))) {
-- if (const url::Origin* origin = std::get_if<url::Origin>(&data_key)) {
-- if (auto* pvt_service =
-- PrivateVerificationTokensServiceFactory::GetForProfile(
-- profile_)) {
-- pvt_service->DeleteTokens(base::Time(), base::Time::Max(),
-- concurrent.CreateClosure(),
-- std::vector<url::Origin>{*origin});
-- }
-- }
-- }
-
- std::move(concurrent).Done(std::move(callback));
- }
---- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
-+++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
-@@ -721,29 +721,6 @@ void ChromeBrowsingDataRemoverDelegate::
- #endif // BUILDFLAG(IS_CHROMEOS)
- }
-
-- //////////////////////////////////////////////////////////////////////////////
-- // DATA_TYPE_PRIVATE_VERIFICATION_TOKENS
-- if (remove_mask & constants::DATA_TYPE_PRIVATE_VERIFICATION_TOKENS) {
-- if (base::FeatureList::IsEnabled(
-- net::features::kEnablePrivateVerificationTokens)) {
-- if (auto* pvt_service =
-- PrivateVerificationTokensServiceFactory::GetForProfile(
-- profile_)) {
-- auto done_closure = CreateTaskCompletionClosure(
-- TracingDataType::kPrivateVerificationTokens);
--
-- if (filter_builder->MatchesAllOriginsAndDomains()) {
-- pvt_service->DeleteTokens(delete_begin_, delete_end_,
-- std::move(done_closure),
-- /*issuers=*/std::nullopt);
-- } else {
-- pvt_service->DeleteTokensByFilter(
-- delete_begin_, delete_end_,
-- filter_builder->BuildStorageKeyFilter(), std::move(done_closure));
-- }
-- }
-- }
-- }
-
- //////////////////////////////////////////////////////////////////////////////
- // DATA_TYPE_CONTENT_SETTINGS
---- a/chrome/browser/chrome_content_browser_client.cc
-+++ b/chrome/browser/chrome_content_browser_client.cc
-@@ -6089,21 +6089,6 @@ ChromeContentBrowserClient::CreateURLLoa
- result.push_back(std::move(signin_throttle));
- }
-
-- if (base::FeatureList::IsEnabled(
-- net::features::kEnablePrivateVerificationTokens) &&
-- request.is_outermost_main_frame) {
-- if (auto* pvt_service =
-- PrivateVerificationTokensServiceFactory::GetForProfile(profile)) {
-- auto url_loader_factory = profile->GetDefaultStoragePartition()
-- ->GetURLLoaderFactoryForBrowserProcess();
-- if (auto pvt_throttle =
-- PrivateVerificationTokensURLLoaderThrottle::Create(
-- pvt_service, profile->GetWeakPtr(),
-- std::move(url_loader_factory))) {
-- result.push_back(std::move(pvt_throttle));
-- }
-- }
-- }
-
- if (auto contextual_tasks_throttle =
- contextual_tasks::ContextualTasksURLLoaderThrottle::MaybeCreate(
---- a/chrome/browser/component_updater/BUILD.gn
-+++ b/chrome/browser/component_updater/BUILD.gn
-@@ -152,7 +152,6 @@ source_set("impl") {
- "//chrome/browser/net",
- "//chrome/browser/page_load_metrics",
- "//chrome/browser/permissions",
-- "//chrome/browser/private_verification_tokens",
- "//chrome/browser/profiles:profile",
- "//chrome/browser/update_client",
- "//chrome/common",
-@@ -168,7 +167,6 @@ source_set("impl") {
- "//components/permissions",
- "//components/privacy_sandbox:features",
- "//components/privacy_sandbox/privacy_sandbox_attestations",
-- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
- "//components/safe_browsing/core/common:features",
- "//components/search",
- "//components/security_interstitials/content:security_interstitial_page",
---- a/chrome/browser/component_updater/private_verification_tokens_installer.cc
-+++ b/chrome/browser/component_updater/private_verification_tokens_installer.cc
-@@ -25,32 +25,6 @@ namespace component_updater {
-
- void RegisterPrivateVerificationTokensComponentIfEnabled(
- ComponentUpdateService* cus) {
-- if (!base::FeatureList::IsEnabled(
-- net::features::kEnablePrivateVerificationTokens)) {
-- return;
-- }
--
-- auto installer = base::MakeRefCounted<ComponentInstaller>(
-- std::make_unique<PrivateVerificationTokensInstallerPolicy>(
-- base::BindRepeating(
-- [](scoped_refptr<private_verification_tokens::
-- PrivateVerificationTokensIssuerConfig>
-- issuer_config) {
-- PrivateVerificationTokensServiceFactory::SetGlobalIssuerConfig(
-- issuer_config);
-- if (g_browser_process && g_browser_process->profile_manager()) {
-- for (Profile* profile : g_browser_process->profile_manager()
-- ->GetLoadedProfiles()) {
-- if (PrivateVerificationTokensService* service =
-- PrivateVerificationTokensServiceFactory::
-- GetForProfileIfExists(profile)) {
-- service->SetIssuerConfig(issuer_config);
-- }
-- }
-- }
-- })));
--
-- installer->Register(cus, base::OnceClosure());
- }
-
- } // namespace component_updater
---- a/chrome/browser/private_verification_tokens/BUILD.gn
-+++ b/chrome/browser/private_verification_tokens/BUILD.gn
-@@ -26,11 +26,6 @@ static_library("private_verification_tok
- "//chrome/browser/profiles:profile",
- "//components/content_settings/core/browser",
- "//components/keyed_service/core",
-- "//components/private_verification_tokens/common:privacy_pass_athm_batch_request",
-- "//components/private_verification_tokens/common:private_verification_tokens_fetcher",
-- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
-- "//components/private_verification_tokens/common:private_verification_tokens_parameters",
-- "//components/private_verification_tokens/common:private_verification_tokens_store",
- "//content/public/browser",
- "//net",
- "//services/network/public/cpp",
-@@ -49,10 +44,6 @@ source_set("browser_tests") {
- "//chrome/browser/content_settings:content_settings_factory",
- "//chrome/test:test_support",
- "//components/content_settings/core/common",
-- "//components/private_verification_tokens/common:private_verification_tokens_database",
-- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
-- "//components/private_verification_tokens/common:test_support",
-- "//components/private_verification_tokens/common/athm_ffi:athm_ffi_bindings",
- "//net:test_support",
- "//services/network:test_support",
- "//url",
-@@ -73,11 +64,6 @@ source_set("unit_tests") {
- "//chrome/test:test_support",
- "//components/content_settings/core/browser",
- "//components/content_settings/core/common",
-- "//components/private_verification_tokens/common:private_verification_tokens_database",
-- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
-- "//components/private_verification_tokens/common:private_verification_tokens_parameters",
-- "//components/private_verification_tokens/common:test_support",
-- "//components/private_verification_tokens/common/athm_ffi:athm_ffi_bindings",
- "//content/test:test_support",
- "//net",
- "//services/network:test_support",
---- a/chrome/browser/profiles/BUILD.gn
-+++ b/chrome/browser/profiles/BUILD.gn
-@@ -808,7 +808,6 @@ source_set("profiles_extra_parts_impl")
- "//chrome/browser/privacy_sandbox:headers",
- "//chrome/browser/private_ai",
- "//chrome/browser/private_insights",
-- "//chrome/browser/private_verification_tokens",
- "//chrome/browser/push_messaging",
- "//chrome/browser/reading_list",
- "//chrome/browser/reduce_accept_language",
---- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
-+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
-@@ -1366,7 +1366,6 @@ void ChromeBrowserMainExtraPartsProfiles
- PrivacyMetricsServiceFactory::GetInstance();
- PrivacySandboxServiceFactory::GetInstance();
- PrivacySandboxSettingsFactory::GetInstance();
-- PrivateVerificationTokensServiceFactory::GetInstance();
- private_ai::PrivateAiServiceFactory::GetInstance();
- ProfileNetworkContextServiceFactory::GetInstance();
- ProfilePasswordStoreFactory::GetInstance();
---- a/chrome/test/BUILD.gn
-+++ b/chrome/test/BUILD.gn
-@@ -1884,7 +1884,6 @@ if (!is_android) {
- "//chrome/browser/privacy_sandbox:headers",
- "//chrome/browser/privacy_sandbox:test_support",
- "//chrome/browser/private_ai",
-- "//chrome/browser/private_verification_tokens:browser_tests",
- "//chrome/browser/profile_resetter",
- "//chrome/browser/profile_resetter:browser_tests",
- "//chrome/browser/profiles",
-@@ -5032,7 +5031,6 @@ test("unit_tests") {
- "//chrome/browser/preloading/prerender:unit_tests",
- "//chrome/browser/privacy_sandbox:unit_tests",
- "//chrome/browser/private_ai:unit_tests",
-- "//chrome/browser/private_verification_tokens:unit_tests",
- "//chrome/browser/profiles",
- "//chrome/browser/profiles:misc",
- "//chrome/browser/profiles:profile_downloader",
---- a/components/BUILD.gn
-+++ b/components/BUILD.gn
-@@ -314,7 +314,6 @@ test("components_unittests") {
- "//components/power_metrics:unit_tests",
- "//components/prefs:unit_tests",
- "//components/privacy_sandbox:unit_tests",
-- "//components/private_verification_tokens:unit_tests",
- "//components/profile_metrics:unit_tests",
- "//components/proto_extras:unit_tests",
- "//components/proxy_config:unit_tests",
---- a/components/component_updater/installer_policies/BUILD.gn
-+++ b/components/component_updater/installer_policies/BUILD.gn
-@@ -38,7 +38,6 @@ static_library("installer_policies_no_co
- "//components/lookalikes/core:proto",
- "//components/lookalikes/core:safety_tips",
- "//components/prefs",
-- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
- "//components/update_client",
- "//mojo/public/cpp/base:protobuf_support",
- "//services/network/public/cpp",
-@@ -106,8 +105,6 @@ source_set("unit_tests") {
- "//components/history_embeddings/core",
- "//components/optimization_guide/core",
- "//components/optimization_guide/proto:optimization_guide_proto",
-- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
-- "//components/private_verification_tokens/common:test_support",
- "//mojo/public/cpp/base:protobuf_support",
- "//services/network/public/cpp",
- "//testing/gmock",
diff --git a/chromium-156-system-ffmpeg-api.patch b/chromium-156-system-ffmpeg-api.patch
new file mode 100644
index 0000000..7e79de9
--- /dev/null
+++ b/chromium-156-system-ffmpeg-api.patch
@@ -0,0 +1,36 @@
+
+FTBFS Workaround with system ffmpeg due to newer API
+
+diff -up chromium-156.0.8078.47/media/filters/ffmpeg_demuxer.cc.me chromium-156.0.8078.47/media/filters/ffmpeg_demuxer.cc
+--- chromium-156.0.8078.47/media/filters/ffmpeg_demuxer.cc.me 2026-10-21 16:43:53.188590497 +0200
++++ chromium-156.0.8078.47/media/filters/ffmpeg_demuxer.cc 2026-10-21 17:48:59.810845527 +0200
+@@ -1307,6 +1307,7 @@ FFmpegDemuxer::MetadataTrackMap FFmpegDe
+
+ for (const AVStreamGroup* stream_group :
+ AVFormatContextStreamGroupsToSpan(format_context)) {
++#if defined(AV_STREAM_GROUP_PARAMS_TREF) && defined(AV_CODEC_ID_ITUT_T35)
+ if (stream_group->type != AV_STREAM_GROUP_PARAMS_TREF) {
+ continue;
+ }
+@@ -1332,6 +1333,7 @@ FFmpegDemuxer::MetadataTrackMap FFmpegDe
+ }
+ entry.render_stream_indices.insert(stream->index);
+ }
++#endif
+ }
+ return result;
+ }
+@@ -1450,11 +1452,13 @@ void FFmpegDemuxer::OnFindStreamInfoDone
+ } else if (codec_type == AVMEDIA_TYPE_SUBTITLE) {
+ stream->discard = AVDISCARD_ALL;
+ continue;
++#if defined(AV_CODEC_ID_ITUT_T35)
+ } else if (codec_id == AV_CODEC_ID_ITUT_T35) {
+ if (!metadata_tracks_.contains(stream->index)) {
+ stream->discard = AVDISCARD_ALL;
+ }
+ continue;
++#endif
+ } else {
+ stream->discard = AVDISCARD_ALL;
+ continue;
diff --git a/chromium-ftbfs-crubit.patch b/chromium-ftbfs-crubit.patch
new file mode 100644
index 0000000..31e76d6
--- /dev/null
+++ b/chromium-ftbfs-crubit.patch
@@ -0,0 +1,1293 @@
+ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
+
+--- a/chrome/browser/devtools/chrome_devtools_session.cc
++++ b/chrome/browser/devtools/chrome_devtools_session.cc
+@@ -78,11 +78,6 @@ ChromeDevToolsSession::ChromeDevToolsSes
+ cast_handler_ = std::make_unique<CastHandler>(
+ agent_host->GetWebContents(), dispatcher());
+ }
+- if (IsDomainAvailableToUntrustedClient<StorageHandler>() ||
+- channel->GetClient()->IsTrusted()) {
+- storage_handler_ = std::make_unique<StorageHandler>(
+- agent_host->GetWebContents(), dispatcher());
+- }
+ }
+ if (agent_host->GetWebContents() &&
+ (agent_host->GetType() == content::DevToolsAgentHost::kTypePage ||
+--- a/components/cbor/BUILD.gn
++++ b/components/cbor/BUILD.gn
+@@ -12,7 +12,7 @@ buildflag_header("buildflags") {
+ # TODO(crbug.com/535682335): Remove `USE_CBOR_RUST` buildflag entirely,
+ # unconditionally enable Rust CBOR parser, and drop `is_cronet_build` check
+ # once Cronet supports Crubit dependencies.
+- flags = [ "USE_CBOR_RUST=!$is_cronet_build" ]
++ flags = [ "USE_CBOR_RUST=$enable_cpp_api_from_rust" ]
+ }
+
+ source_set("cbor_headers") {
+@@ -48,7 +48,7 @@ source_set("cbor_rust_impl") {
+ "//base",
+ ]
+
+- if (!is_cronet_build) {
++ if (enable_cpp_api_from_rust) {
+ deps += [
+ "//build/rust/crubit",
+ "//components/cbor/rust:cbor_rust_bindings",
+@@ -91,7 +91,7 @@ source_set("unit_tests") {
+ "//testing/gtest",
+ "//third_party/fuzztest",
+ ]
+- if (!is_cronet_build) {
++ if (enable_cpp_api_from_rust) {
+ deps += [
+ "//components/cbor/rust:cbor_rust_bindings",
+ "//components/cbor/rust:cbor_rust_unittests",
+--- a/components/web_package/BUILD.gn
++++ b/components/web_package/BUILD.gn
+@@ -51,8 +51,6 @@ source_set("web_package_rust_impl") {
+ "//components/base32",
+ "//components/cbor",
+ "//components/web_package/mojom",
+- "//components/web_package/rust:web_package_rust_bindings",
+- "//components/web_package/signed_web_bundles/rust:signed_web_bundles_rust_bindings",
+ "//mojo/public/cpp/bindings",
+ "//net",
+ "//services/network/public/mojom",
+@@ -67,12 +65,10 @@ static_library("web_package") {
+ "signed_web_bundles/signed_web_bundle_signature_stack.cc",
+ "signed_web_bundles/signed_web_bundle_signature_stack_entry.cc",
+ "web_bundle_builder.cc",
+- "web_bundle_parser_factory.cc",
+ "web_bundle_utils.cc",
+ ]
+
+ deps = [
+- ":web_package_rust_impl",
+ "//base",
+ "//components/base32",
+ "//components/cbor",
+@@ -115,7 +111,6 @@ source_set("mojom_mapped_types_rust_impl
+ deps = [
+ ":mojom_mapped_types_headers",
+ "//base",
+- "//components/web_package/signed_web_bundles/rust:signed_web_bundles_rust_bindings",
+ "//crypto",
+ "//mojo/public/cpp/bindings",
+ ]
+@@ -159,8 +154,6 @@ source_set("unit_tests") {
+ ":web_package",
+ "//base/test:test_support",
+ "//components/cbor",
+- "//components/web_package/rust:web_package_rust_unittests",
+- "//components/web_package/signed_web_bundles/rust:signed_web_bundles_rust_unittests",
+ "//components/web_package/test_support",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/test_support:test_utils",
+--- a/components/web_package/signed_web_bundles/ecdsa_p256_sha256_signature.cc
++++ b/components/web_package/signed_web_bundles/ecdsa_p256_sha256_signature.cc
+@@ -9,7 +9,8 @@
+ #include "base/strings/stringprintf.h"
+ #include "base/types/expected.h"
+ #include "components/web_package/signed_web_bundles/ecdsa_p256_public_key.h"
+-#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
++#include "crypto/keypair.h"
++#include "crypto/sign.h"
+
+ namespace web_package {
+
+@@ -50,8 +51,9 @@ EcdsaP256SHA256Signature::EcdsaP256SHA25
+ [[nodiscard]] bool EcdsaP256SHA256Signature::Verify(
+ base::span<const uint8_t> message,
+ const EcdsaP256PublicKey& public_key) const {
+- return signed_web_bundles::rust::verify_ecdsa_p256_signature(
+- public_key.bytes(), bytes(), message);
++ auto key = crypto::keypair::PublicKey::FromEcP256Point(public_key.bytes());
++ return crypto::sign::Verify(crypto::sign::ECDSA_SHA256, *key, message,
++ bytes());
+ }
+
+ } // namespace web_package
+--- a/components/web_package/signed_web_bundles/ed25519_signature.cc
++++ b/components/web_package/signed_web_bundles/ed25519_signature.cc
+@@ -7,7 +7,6 @@
+ #include <algorithm>
+
+ #include "base/strings/stringprintf.h"
+-#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
+ #include "third_party/boringssl/src/include/openssl/curve25519.h"
+
+ namespace web_package {
+@@ -43,8 +42,11 @@ Ed25519Signature::Ed25519Signature(std::
+ [[nodiscard]] bool Ed25519Signature::Verify(
+ base::span<const uint8_t> message,
+ const Ed25519PublicKey& public_key) const {
+- return signed_web_bundles::rust::verify_ed25519_signature(public_key.bytes(),
+- bytes(), message);
++ const std::array<uint8_t, ED25519_PUBLIC_KEY_LEN>& public_key_bytes =
++ public_key.bytes();
++ const std::array<uint8_t, ED25519_SIGNATURE_LEN>& signature_bytes = bytes();
++ return ED25519_verify(message.data(), message.size(), signature_bytes.data(),
++ public_key_bytes.data());
+ }
+
+ } // namespace web_package
+--- a/components/web_package/signed_web_bundles/integrity_block_parser.cc
++++ b/components/web_package/signed_web_bundles/integrity_block_parser.cc
+@@ -4,17 +4,19 @@
+
+ #include "components/web_package/signed_web_bundles/integrity_block_parser.h"
+
++#include <algorithm>
+ #include <string>
+-#include <string_view>
+ #include <vector>
+
+-#include "base/check.h"
+-#include "base/containers/span.h"
++#include "base/containers/map_util.h"
+ #include "base/functional/bind.h"
+ #include "base/strings/stringprintf.h"
++#include "base/strings/to_string.h"
+ #include "base/types/expected.h"
+ #include "base/types/expected_macros.h"
+ #include "components/cbor/reader.h"
++#include "components/cbor/writer.h"
++#include "components/web_package/mojom/web_bundle_parser.mojom-forward.h"
+ #include "components/web_package/mojom/web_bundle_parser.mojom.h"
+ #include "components/web_package/signed_web_bundles/constants.h"
+ #include "components/web_package/signed_web_bundles/ecdsa_p256_public_key.h"
+@@ -22,56 +24,11 @@
+ #include "components/web_package/signed_web_bundles/ed25519_public_key.h"
+ #include "components/web_package/signed_web_bundles/ed25519_signature.h"
+ #include "components/web_package/signed_web_bundles/integrity_block_attributes.h"
+-#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_id.h"
+ #include "components/web_package/signed_web_bundles/types.h"
+
+ namespace web_package {
+
+-namespace {
+-
+-using SignatureType = signed_web_bundles::rust::SignatureType::Tag;
+-using signed_web_bundles::rust::parse_integrity_block;
+-
+-base::expected<mojom::BundleIntegrityBlockSignatureStackEntryPtr, std::string>
+-CreateSignatureStackEntry(
+- const signed_web_bundles::rust::SignatureStackEntry& entry) {
+- auto parsed_sig = mojom::BundleIntegrityBlockSignatureStackEntry::New();
+-
+- switch (entry.signature_type.tag) {
+- case SignatureType::Ed25519: {
+- ASSIGN_OR_RETURN(auto public_key,
+- Ed25519PublicKey::Create(entry.public_key.to_span()));
+- ASSIGN_OR_RETURN(auto signature,
+- Ed25519Signature::Create(entry.signature.to_span()));
+- parsed_sig->signature_info = mojom::SignatureInfo::NewEd25519(
+- mojom::SignatureInfoEd25519::New(public_key, signature));
+- break;
+- }
+- case SignatureType::EcdsaP256SHA256: {
+- ASSIGN_OR_RETURN(auto public_key,
+- EcdsaP256PublicKey::Create(entry.public_key.to_span()));
+- ASSIGN_OR_RETURN(auto signature, EcdsaP256SHA256Signature::Create(
+- entry.signature.to_span()));
+- parsed_sig->signature_info = mojom::SignatureInfo::NewEcdsaP256Sha256(
+- mojom::SignatureInfoEcdsaP256SHA256::New(public_key, signature));
+- break;
+- }
+- case SignatureType::Unknown: {
+- parsed_sig->signature_info =
+- mojom::SignatureInfo::NewUnknown(mojom::SignatureInfoUnknown::New());
+- break;
+- }
+- }
+-
+- parsed_sig->attributes_cbor =
+- BinaryData(entry.attributes_cbor.begin(), entry.attributes_cbor.end());
+-
+- return parsed_sig;
+-}
+-
+-} // namespace
+-
+ IntegrityBlockParser::IntegrityBlockParser(
+ mojom::BundleDataSource& data_source,
+ WebBundleParser::ParseIntegrityBlockCallback callback)
+@@ -103,37 +60,103 @@ void IntegrityBlockParser::OnIntegrityBl
+ RunErrorCallback("Error reading the integrity block.");
+ return;
+ }
++ // This structure is built during parsing and returned by the final callback
++ mojom::BundleIntegrityBlockPtr integrity_block =
++ mojom::BundleIntegrityBlock::New();
++
++ size_t consumed_bytes = 0;
++ cbor::Reader::DecoderError error;
++ cbor::Reader::Config config;
++ config.num_bytes_consumed = &consumed_bytes;
++ config.error_code_out = &error;
++
++ // When config `bytes_consumed` are assigned the CBOR parser reads only to the
++ // end of a structure. It parses only Integrity Block even if Web Bundle part
++ // starts just after.
++ std::optional<cbor::Value> value = cbor::Reader::Read(*data, config);
++ if (!value) {
++ RunErrorCallback("Error parsing integrity block as CBOR: " +
++ std::string(cbor::Reader::ErrorCodeToString(error)));
++ return;
++ }
++ integrity_block->size = consumed_bytes;
++
++ if (!value->is_array()) {
++ RunErrorCallback("Integrity block is not a CBOR array.");
++ return;
++ }
+
+- const auto parse_res = parse_integrity_block(*data);
+- if (!parse_res.has_value()) {
+- const auto& error = parse_res.error();
+- RunErrorCallback(std::string(error.message.as_str()),
+- error.is_version_error
+- ? mojom::BundleParseErrorType::kVersionError
+- : mojom::BundleParseErrorType::kFormatError);
++ const cbor::Value::ArrayValue& top_array = value->GetArray();
++ if (top_array.size() != kIntegrityBlockV2TopLevelArrayLength) {
++ RunErrorCallback(base::StringPrintf(
++ "Invalid integrity block array length: expected %u, got %zu.",
++ kIntegrityBlockV2TopLevelArrayLength, top_array.size()));
+ return;
+ }
+
+- const auto& parsed_ib = *parse_res;
+- auto integrity_block = mojom::BundleIntegrityBlock::New();
+- integrity_block->size = parsed_ib.size;
+-
+- const std::string_view web_bundle_id_str =
+- parsed_ib.web_bundle_id.to_string_view();
+- RETURN_IF_ERROR(
+- SignedWebBundleId::Create(web_bundle_id_str),
+- [&](std::string error) { RunErrorCallback(std::move(error)); });
+-
+- integrity_block->attributes =
+- IntegrityBlockAttributes(std::string(web_bundle_id_str),
+- BinaryData(parsed_ib.attributes_cbor.begin(),
+- parsed_ib.attributes_cbor.end()));
++ // 1. Magic bytes
++ if (!top_array[0].is_bytestring() ||
++ !std::ranges::equal(top_array[0].GetBytestring(),
++ kIntegrityBlockMagicBytes)) {
++ RunErrorCallback("Unexpected magic bytes.");
++ return;
++ }
++
++ // 2. Version
++ if (!top_array[1].is_bytestring() ||
++ !std::ranges::equal(top_array[1].GetBytestring(),
++ kIntegrityBlockV2VersionBytes)) {
++ RunErrorCallback("Unexpected version bytes.",
++ mojom::BundleParseErrorType::kVersionError);
++ return;
++ }
+
+- for (const auto& entry : parsed_ib.signature_stack) {
++ // 3. Attributes
++ if (!top_array[2].is_map()) {
++ RunErrorCallback("Integrity block attributes must be a map.");
++ return;
++ }
++ const cbor::Value::MapValue& attributes_map = top_array[2].GetMap();
++ const cbor::Value* web_bundle_id =
++ base::FindOrNull(attributes_map, cbor::Value(kWebBundleIdAttributeName));
++ if (!web_bundle_id || !web_bundle_id->is_string()) {
++ RunErrorCallback(
++ "`webBundleId` integrity block attribute is missing or malformed.");
++ return;
++ }
++
++ // Check if web_bundle_id is correct
++ RETURN_IF_ERROR(SignedWebBundleId::Create(web_bundle_id->GetString()),
++ [&](const std::string& error) { RunErrorCallback(error); });
++
++ BinaryData attributes_cbor = *cbor::Writer::Write(top_array[2]);
++ integrity_block->attributes = IntegrityBlockAttributes(
++ web_bundle_id->GetString(), std::move(attributes_cbor));
++
++ // 4. Signature Stack
++ if (!top_array[3].is_array()) {
++ RunErrorCallback("Signature stack must be an array.");
++ return;
++ }
++ const cbor::Value::ArrayValue& signatures = top_array[3].GetArray();
++ if (signatures.empty()) {
++ RunErrorCallback(
++ "The signature stack must contain at least one signature.");
++ return;
++ }
++
++ for (const auto& signature_info_raw : signatures) {
+ ASSIGN_OR_RETURN(
+- auto parsed_sig, CreateSignatureStackEntry(entry),
+- [&](std::string error) { RunErrorCallback(std::move(error)); });
+- integrity_block->signature_stack.push_back(std::move(parsed_sig));
++ auto parsed_signature_info, ParseSignatureInfo(signature_info_raw),
++ [&](const std::string& error) { this->RunErrorCallback(error); });
++
++ if (integrity_block->signature_stack.empty() &&
++ parsed_signature_info->signature_info->is_unknown()) {
++ RunErrorCallback("Unknown cipher type of the first signature.");
++ return;
++ }
++ integrity_block->signature_stack.push_back(
++ std::move(parsed_signature_info));
+ }
+
+ std::move(complete_callback_)
+@@ -141,13 +164,74 @@ void IntegrityBlockParser::OnIntegrityBl
+ std::move(integrity_block), nullptr));
+ }
+
++base::expected<mojom::BundleIntegrityBlockSignatureStackEntryPtr, std::string>
++IntegrityBlockParser::ParseSignatureInfo(
++ const cbor::Value& signature_info_raw) {
++ if (!signature_info_raw.is_array() ||
++ signature_info_raw.GetArray().size() != 2) {
++ return base::unexpected(
++ "Each signature stack entry must contain exactly two elements.");
++ }
++
++ const cbor::Value::ArrayValue& signature_info_array =
++ signature_info_raw.GetArray();
++ if (!signature_info_array[0].is_map() ||
++ !signature_info_array[1].is_bytestring()) {
++ return base::unexpected("Malformed signature stack entry.");
++ }
++
++ mojom::BundleIntegrityBlockSignatureStackEntryPtr parsed_signature_info =
++ mojom::BundleIntegrityBlockSignatureStackEntry::New();
++ parsed_signature_info->attributes_cbor =
++ *cbor::Writer::Write(signature_info_array[0]);
++
++ const cbor::Value::MapValue& signature_attributes =
++ signature_info_array[0].GetMap();
++ const BinaryData& signature_bytes = signature_info_array[1].GetBytestring();
++
++ const cbor::Value* ed25519_key = base::FindOrNull(
++ signature_attributes, cbor::Value(kEd25519PublicKeyAttributeName));
++ const cbor::Value* ecdsa_key = base::FindOrNull(
++ signature_attributes, cbor::Value(kEcdsaP256PublicKeyAttributeName));
++
++ if (ed25519_key && ecdsa_key) {
++ return base::unexpected("Multiple key types for one signature.");
++ } else if (ed25519_key && !ed25519_key->is_bytestring()) {
++ return base::unexpected("Invalid ED25519 key.");
++ } else if (ecdsa_key && !ecdsa_key->is_bytestring()) {
++ return base::unexpected("Invalid ECDSA key.");
++
++ } else if (ed25519_key && ed25519_key->is_bytestring()) {
++ ASSIGN_OR_RETURN(auto public_key,
++ Ed25519PublicKey::Create(ed25519_key->GetBytestring()));
++ ASSIGN_OR_RETURN(auto signature, Ed25519Signature::Create(signature_bytes));
++ parsed_signature_info->signature_info = mojom::SignatureInfo::NewEd25519(
++ mojom::SignatureInfoEd25519::New(public_key, signature));
++
++ } else if (ecdsa_key && ecdsa_key->is_bytestring()) {
++ ASSIGN_OR_RETURN(auto public_key,
++ EcdsaP256PublicKey::Create(ecdsa_key->GetBytestring()));
++ ASSIGN_OR_RETURN(auto signature,
++ EcdsaP256SHA256Signature::Create(signature_bytes));
++ parsed_signature_info->signature_info =
++ mojom::SignatureInfo::NewEcdsaP256Sha256(
++ mojom::SignatureInfoEcdsaP256SHA256::New(public_key, signature));
++
++ } else {
++ parsed_signature_info->signature_info =
++ mojom::SignatureInfo::NewUnknown(mojom::SignatureInfoUnknown::New());
++ }
++
++ return parsed_signature_info;
++}
++
+ void IntegrityBlockParser::RunErrorCallback(
+- std::string message,
++ const std::string& message,
+ mojom::BundleParseErrorType error_type) {
+ std::move(complete_callback_)
+- .Run(base::BindOnce(std::move(result_callback_), nullptr,
+- mojom::BundleIntegrityBlockParseError::New(
+- error_type, std::move(message))));
++ .Run(base::BindOnce(
++ std::move(result_callback_), nullptr,
++ mojom::BundleIntegrityBlockParseError::New(error_type, message)));
+ }
+
+ } // namespace web_package
+--- a/components/web_package/signed_web_bundles/integrity_block_parser.h
++++ b/components/web_package/signed_web_bundles/integrity_block_parser.h
+@@ -5,13 +5,8 @@
+ #ifndef COMPONENTS_WEB_PACKAGE_SIGNED_WEB_BUNDLES_INTEGRITY_BLOCK_PARSER_H_
+ #define COMPONENTS_WEB_PACKAGE_SIGNED_WEB_BUNDLES_INTEGRITY_BLOCK_PARSER_H_
+
+-#include <optional>
+-#include <string>
+-
+-#include "base/compiler_specific.h"
+-#include "base/memory/raw_ref.h"
+-#include "base/memory/weak_ptr.h"
+ #include "components/web_package/mojom/web_bundle_parser.mojom-forward.h"
++#include "components/web_package/signed_web_bundles/integrity_block_attributes.h"
+ #include "components/web_package/signed_web_bundles/types.h"
+ #include "components/web_package/web_bundle_parser.h"
+
+@@ -20,7 +15,7 @@ namespace web_package {
+ class IntegrityBlockParser : public WebBundleParser::WebBundleSectionParser {
+ public:
+ explicit IntegrityBlockParser(
+- mojom::BundleDataSource& data_source LIFETIME_BOUND,
++ mojom::BundleDataSource& data_source,
+ WebBundleParser::ParseIntegrityBlockCallback callback);
+
+ IntegrityBlockParser(const IntegrityBlockParser&) = delete;
+@@ -35,7 +30,10 @@ class IntegrityBlockParser : public WebB
+ private:
+ void OnIntegrityBlockRead(const std::optional<BinaryData>& data);
+
+- void RunErrorCallback(std::string message,
++ base::expected<mojom::BundleIntegrityBlockSignatureStackEntryPtr, std::string>
++ ParseSignatureInfo(const cbor::Value& attributes_map);
++
++ void RunErrorCallback(const std::string& message,
+ mojom::BundleParseErrorType error_type =
+ mojom::BundleParseErrorType::kFormatError);
+
+--- a/components/web_package/signed_web_bundles/rust/BUILD.gn
++++ b/components/web_package/signed_web_bundles/rust/BUILD.gn
+@@ -10,7 +10,6 @@ rust_static_library("signed_web_bundles_
+ sources = [
+ "constants.rs",
+ "integrity_block.rs",
+- "signature_verifier.rs",
+ "types.rs",
+ crate_root,
+ ]
+--- a/components/web_package/signed_web_bundles/signed_web_bundle_signature_verifier.cc
++++ b/components/web_package/signed_web_bundles/signed_web_bundle_signature_verifier.cc
+@@ -20,14 +20,17 @@
+ #include "base/task/thread_pool.h"
+ #include "base/types/expected.h"
+ #include "base/types/expected_macros.h"
++#include "components/cbor/values.h"
++#include "components/cbor/writer.h"
++#include "components/web_package/signed_web_bundles/constants.h"
+ #include "components/web_package/signed_web_bundles/identity_validator.h"
+ #include "components/web_package/signed_web_bundles/integrity_block_parser.h"
+-#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_id.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_integrity_block.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_signature_stack.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_signature_stack_entry.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_utils.h"
++#include "crypto/hash.h"
+ #include "third_party/abseil-cpp/absl/functional/overload.h"
+ #include "third_party/boringssl/src/include/openssl/sha.h"
+
+@@ -37,10 +40,32 @@ namespace {
+
+ std::vector<uint8_t> CreateIntegrityBlockCbor(
+ const SignedWebBundleIntegrityBlock& integrity_block) {
+- auto ib_cbor_rust =
+- signed_web_bundles::rust::create_empty_integrity_block_cbor(
+- integrity_block.attributes_cbor());
+- return std::vector<uint8_t>(ib_cbor_rust.begin(), ib_cbor_rust.end());
++ // This function looks like it should use a cbor::Value::ArrayValue to build
++ // the outer array, but it can't: one of the elements is a pre-encoded CBOR
++ // value which we can't safely decode because it's untrusted input. This is
++ // obviously undesirable, because there's no guarantee at all that the
++ // pre-encoded value is actually valid CBOR.
++ //
++ // TODO(https://crbug.com/454485901): once there's a memory-safe CBOR parser,
++ // re-parse the pre-encoded value, then re-encode it here instead of
++ // constructing a CBOR array by hand so that we're guaranteed that the result
++ // of this function is valid.
++ std::vector<uint8_t> ib_cbor;
++
++ // 0x84 is the encoding byte for an array of length 4.
++ ib_cbor.push_back(0x84);
++ base::Extend(ib_cbor,
++ *cbor::Writer::Write(cbor::Value(kIntegrityBlockMagicBytes)));
++ base::Extend(ib_cbor, *cbor::Writer::Write(
++ cbor::Value(kIntegrityBlockV2VersionBytes)));
++ // We cannot parse `attributes().cbor()` back to a cbor::Value as they
++ // technically represent untrusted input.
++ base::Extend(ib_cbor, integrity_block.attributes_cbor());
++ // Encode an empty signature array.
++ base::Extend(ib_cbor,
++ *cbor::Writer::Write(cbor::Value(cbor::Value::ArrayValue())));
++
++ return ib_cbor;
+ }
+
+ base::expected<void, SignedWebBundleSignatureVerifier::Error>
+@@ -104,7 +129,7 @@ SignedWebBundleSignatureVerifier::Calcul
+ return base::unexpected(base::File::ErrorToString(file.GetLastFileError()));
+ }
+
+- signed_web_bundles::rust::Sha512Hasher hasher;
++ crypto::hash::Hasher hash(crypto::hash::kSha512);
+
+ // Calculate the hash of the Signed Web Bundle excluding its integrity block.
+ // The file might be too big to read it into memory all at once, which is why
+@@ -121,14 +146,15 @@ SignedWebBundleSignatureVerifier::Calcul
+ base::File::ErrorToString(file.GetLastFileError()));
+ }
+ data.resize(*bytes_read);
+- hasher.update(data);
++ hash.Update(data);
+
+ if (!base::CheckAdd(offset, *bytes_read).AssignIfValid(&offset)) {
+ return base::unexpected("The Signed Web Bundle is too large.");
+ }
+ }
+
+- SHA512Digest digest = std::move(hasher).finish();
++ SHA512Digest digest;
++ hash.Finish(digest);
+ return digest;
+ }
+
+--- a/components/web_package/signed_web_bundles/signed_web_bundle_utils.cc
++++ b/components/web_package/signed_web_bundles/signed_web_bundle_utils.cc
+@@ -5,18 +5,37 @@
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_utils.h"
+
+ #include <cstdint>
+-#include <vector>
+
+-#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
++#include "base/containers/extend.h"
++#include "base/containers/span.h"
++#include "base/containers/span_writer.h"
+
+ namespace web_package {
+
++namespace {
++
++void AddItemToPayload(std::vector<uint8_t>& payload,
++ base::span<const uint8_t> item) {
++ // Each item that is part of the payload is prefixed with its length encoded
++ // as a 64 bit unsigned integer.
++ std::array<uint8_t, sizeof(uint64_t)> length;
++ auto writer = base::SpanWriter(base::span(length));
++ CHECK(writer.WriteU64BigEndian(item.size()));
++
++ base::Extend(payload, base::span(length));
++ base::Extend(payload, item);
++}
++
++} // namespace
++
+ std::vector<uint8_t> CreateSignaturePayload(
+ const SignedWebBundleSignatureData& data) {
+- auto payload_rust = signed_web_bundles::rust::create_signature_payload(
+- data.unsigned_web_bundle_hash, data.integrity_block_cbor,
+- data.attributes_cbor);
+- return std::vector<uint8_t>(payload_rust.begin(), payload_rust.end());
++ std::vector<uint8_t> payload;
++ AddItemToPayload(payload, data.unsigned_web_bundle_hash);
++ AddItemToPayload(payload, data.integrity_block_cbor);
++ AddItemToPayload(payload, data.attributes_cbor);
++
++ return payload;
+ }
+
+ } // namespace web_package
+--- a/components/webapps/isolated_web_apps/bundle_operations/bundle_operations.cc
++++ b/components/webapps/isolated_web_apps/bundle_operations/bundle_operations.cc
+@@ -79,16 +79,7 @@ void ReadSignedWebBundleIdInsecurely(
+ const base::FilePath& path,
+ base::OnceCallback<void(base::expected<web_package::SignedWebBundleId,
+ std::string>)> callback) {
+- UnsecureSignedWebBundleIdReader::GetWebBundleId(
+- path,
+- base::BindOnce([](base::expected<web_package::SignedWebBundleId,
+- UnusableSwbnFileError> result) {
+- return result.transform_error([](const UnusableSwbnFileError& error) {
+- return "Failed to read the integrity block of the "
+- "signed web bundle: " +
+- error.message();
+- });
+- }).Then(std::move(callback)));
++ std::move(callback);
+ }
+
+ void ValidateSignedWebBundleSignatures(
+@@ -96,20 +87,6 @@ void ValidateSignedWebBundleSignatures(
+ const base::FilePath& path,
+ const web_package::SignedWebBundleId& expected_web_bundle_id,
+ base::OnceCallback<void(IntegrityBlockResult)> callback) {
+- auto create_reader = base::BindOnce(
+- &SignedWebBundleReader::Create, path,
+- IwaOrigin(expected_web_bundle_id).origin().GetURL(),
+- /*verify_signatures=*/true,
+- base::BindOnce(&OnTrustAndSignaturesOfBundleChecked,
+- browser_context->GetWeakPtr(), expected_web_bundle_id,
+- std::move(callback)));
+-
+- if (auto* provider = IwaClient::GetInstance()->GetRuntimeDataProvider()) {
+- provider->OnBestEffortRuntimeDataReady().Post(FROM_HERE,
+- std::move(create_reader));
+- } else {
+- std::move(create_reader).Run();
+- }
+ }
+
+ void CloseBundle(content::BrowserContext* browser_context,
+--- a/components/webapps/isolated_web_apps/reading/BUILD.gn
++++ b/components/webapps/isolated_web_apps/reading/BUILD.gn
+@@ -14,8 +14,6 @@ source_set("reading") {
+ "response_reader_registry.h",
+ "response_reader_registry_factory.cc",
+ "response_reader_registry_factory.h",
+- "signed_web_bundle_reader.cc",
+- "signed_web_bundle_reader.h",
+ "validator.cc",
+ "validator.h",
+ ]
+--- a/components/webapps/isolated_web_apps/reading/response_reader_factory.cc
++++ b/components/webapps/isolated_web_apps/reading/response_reader_factory.cc
+@@ -45,19 +45,6 @@ void IsolatedWebAppResponseReaderFactory
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
+ DCHECK(!web_bundle_id.is_for_proxy_mode());
+
+- auto create_reader = base::BindOnce(
+- &SignedWebBundleReader::Create, web_bundle_path,
+- IwaOrigin(web_bundle_id).origin().GetURL(), verify_signatures,
+- base::BindOnce(&IsolatedWebAppResponseReaderFactory::OnReaderCreated,
+- weak_ptr_factory_.GetWeakPtr(), web_bundle_path,
+- web_bundle_id, std::move(callback)));
+-
+- if (auto* provider = IwaClient::GetInstance()->GetRuntimeDataProvider()) {
+- provider->OnBestEffortRuntimeDataReady().Post(FROM_HERE,
+- std::move(create_reader));
+- } else {
+- std::move(create_reader).Run();
+- }
+ }
+
+ void IsolatedWebAppResponseReaderFactory::OnReaderCreated(
+--- a/services/data_decoder/data_decoder_service.cc
++++ b/services/data_decoder/data_decoder_service.cc
+@@ -63,9 +63,6 @@ void DataDecoderService::BindXmlParser(
+ void DataDecoderService::BindWebBundleParserFactory(
+ mojo::PendingReceiver<web_package::mojom::WebBundleParserFactory>
+ receiver) {
+- mojo::MakeSelfOwnedReceiver(
+- std::make_unique<web_package::WebBundleParserFactory>(),
+- std::move(receiver));
+ }
+
+ void DataDecoderService::BindGzipper(
+--- a/services/network/web_bundle/web_bundle_url_loader_factory.cc
++++ b/services/network/web_bundle/web_bundle_url_loader_factory.cc
+@@ -586,25 +586,6 @@ bool WebBundleURLLoaderFactory::HasError
+
+ void WebBundleURLLoaderFactory::SetBundleStream(
+ mojo::ScopedDataPipeConsumerHandle body) {
+- if (HasError())
+- return;
+- mojo::PendingRemote<web_package::mojom::BundleDataSource> data_source;
+- source_ = std::make_unique<BundleDataSource>(
+- data_source.InitWithNewPipeAndPassReceiver(), std::move(body),
+- std::move(web_bundle_memory_quota_consumer_),
+- base::BindOnce(&WebBundleURLLoaderFactory::OnMemoryQuotaExceeded,
+- weak_ptr_factory_.GetWeakPtr()),
+- base::BindOnce(&WebBundleURLLoaderFactory::OnDataCompleted,
+- weak_ptr_factory_.GetWeakPtr()));
+-
+- mojo::MakeSelfOwnedReceiver(std::make_unique<web_package::WebBundleParser>(
+- std::move(data_source), bundle_url_),
+- parser_.BindNewPipeAndPassReceiver());
+-
+- parser_->ParseMetadata(
+- /*offset=*/std::nullopt,
+- base::BindOnce(&WebBundleURLLoaderFactory::OnMetadataParsed,
+- weak_ptr_factory_.GetWeakPtr()));
+ }
+
+ mojo::PendingRemote<mojom::URLLoaderClient>
+--- a/third_party/blink/renderer/core/loader/resource/font_resource.cc
++++ b/third_party/blink/renderer/core/loader/resource/font_resource.cc
+@@ -44,7 +44,6 @@
+ #include "third_party/blink/public/mojom/loader/request_context_frame_type.mojom-blink.h"
+ #include "third_party/blink/renderer/platform/fonts/font_custom_platform_data.h"
+ #include "third_party/blink/renderer/platform/fonts/font_platform_data.h"
+-#include "third_party/blink/renderer/platform/fonts/ift/ift_patcher.h"
+ #include "third_party/blink/renderer/platform/fonts/web_font_decoder.h"
+ #include "third_party/blink/renderer/platform/heap/cross_thread_handle.h"
+ #include "third_party/blink/renderer/platform/loader/fetch/fetch_parameters.h"
+@@ -85,7 +84,8 @@ base::expected<DecodedWebFont, String> D
+ return base::unexpected("");
+ }
+ auto decode_start_time = base::TimeTicks::Now();
+- base::expected<DecodedWebFont, String> result = DecodeWebFont(buffer);
++ base::expected<DecodedWebFont, String> result =
++ DecodedWebFont::Create(buffer);
+ base::UmaHistogramMicrosecondsTimes(
+ "Blink.Fonts.BackgroundDecodeTime",
+ base::TimeTicks::Now() - decode_start_time);
+@@ -316,22 +316,13 @@ const FontCustomPlatformData* FontResour
+ font_data_ = FontCustomPlatformData::Create(
+ std::move(background_decode_result_->sk_typeface),
+ background_decode_result_->decoded_size);
+- ift_patcher_ = std::move(background_decode_result_->ift_patcher);
+ } else {
+ auto decode_start_time = base::TimeTicks::Now();
+- base::expected<DecodedWebFont, String> decode_result =
+- DecodeWebFont(Data());
++ font_data_ =
++ FontCustomPlatformData::Create(Data(), ots_parsing_message_);
+ base::UmaHistogramMicrosecondsTimes(
+ "Blink.Fonts.DecodeTime",
+ base::TimeTicks::Now() - decode_start_time);
+- if (decode_result.has_value()) {
+- font_data_ = FontCustomPlatformData::Create(
+- std::move(decode_result->sk_typeface),
+- decode_result->decoded_size);
+- ift_patcher_ = std::move(decode_result->ift_patcher);
+- } else {
+- ots_parsing_message_ = std::move(decode_result).error();
+- }
+ }
+ } else {
+ ots_parsing_message_ = background_decode_result_.error();
+@@ -340,7 +331,6 @@ const FontCustomPlatformData* FontResour
+
+ if (!font_data_) {
+ SetStatus(ResourceStatus::kDecodeError);
+- ift_patcher_.reset();
+ } else {
+ // Call observers once and remove them.
+ HeapHashSet<WeakMember<FontResourceClearDataObserver>> observers;
+@@ -353,10 +343,6 @@ const FontCustomPlatformData* FontResour
+ return font_data_;
+ }
+
+-std::unique_ptr<IftPatcher> FontResource::TakeIftPatcher() {
+- return std::move(ift_patcher_);
+-}
+-
+ void FontResource::WillReloadAfterDiskCacheMiss() {
+ DCHECK(IsLoading());
+ DCHECK(Loader()->IsCacheAwareLoadingActivated());
+--- a/third_party/blink/renderer/core/loader/resource/font_resource.h
++++ b/third_party/blink/renderer/core/loader/resource/font_resource.h
+@@ -47,7 +47,6 @@ class FetchParameters;
+ class ResourceFetcher;
+ class FontCustomPlatformData;
+ class FontResourceClient;
+-class IftPatcher;
+
+ // An observer that will be notified when original data is cleared
+ // from the resource. Inspector may collect this data and store it for
+@@ -78,7 +77,6 @@ class CORE_EXPORT FontResource final : p
+ String OtsParsingMessage() const { return ots_parsing_message_; }
+
+ const FontCustomPlatformData* GetCustomFontData();
+- std::unique_ptr<IftPatcher> TakeIftPatcher();
+
+ // Returns true if the loading priority of the remote font resource can be
+ // lowered. The loading priority of the font can be lowered only if the
+@@ -127,7 +125,6 @@ class CORE_EXPORT FontResource final : p
+ };
+
+ Member<FontCustomPlatformData> font_data_;
+- std::unique_ptr<IftPatcher> ift_patcher_;
+ String ots_parsing_message_;
+ LoadLimitState load_limit_state_;
+ bool cors_failed_;
+--- a/third_party/blink/renderer/platform/BUILD.gn
++++ b/third_party/blink/renderer/platform/BUILD.gn
+@@ -186,6 +186,18 @@ group("make_platform_generated") {
+ ]
+ }
+
++rust_static_library("font_format_check") {
++ allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
++ crate_root = "fonts/opentype/format_check.rs"
++ sources = [ crate_root ]
++ cxx_bindings = [ crate_root ]
++ deps = [
++ "//third_party/rust/font_types/v0_12:lib",
++ "//third_party/rust/read_fonts/v0_43:lib",
++ "//third_party/rust/skrifa/v0_46:lib",
++ ]
++}
++
+ rust_static_library("rustfft_ffi") {
+ allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
+ crate_root = "audio/rustfft_ffi.rs"
+@@ -253,7 +265,6 @@ group("blink_platform_public_deps") {
+ "//third_party/boringssl",
+ "//third_party/libwebp",
+ "//third_party/ots",
+- "//third_party/woff2:woff2_dec",
+ "//ui/gfx/animation/keyframe",
+ "//url",
+ "//v8",
+@@ -713,8 +724,6 @@ component("platform") {
+ "fonts/generic_font_family_settings.cc",
+ "fonts/generic_font_family_settings.h",
+ "fonts/glyph_metrics_map.h",
+- "fonts/ift/ift_patcher.cc",
+- "fonts/ift/ift_patcher.h",
+ "fonts/opentype/color_table_lookup.cc",
+ "fonts/opentype/color_table_lookup.h",
+ "fonts/opentype/font_format_check.cc",
+@@ -1795,7 +1804,6 @@ component("platform") {
+ ":allow_discouraged_type",
+ ":blink_platform_public_deps",
+ ":platform_export",
+- "//build/rust/crubit",
+ "//components/language_detection/core",
+ "//gpu/command_buffer/client:raster_interface",
+ "//media/capture:capture_lib",
+@@ -1822,9 +1830,8 @@ component("platform") {
+ "//ui/native_theme/features",
+ ]
+ deps = [
++ ":font_format_check",
+ ":rustfft_ffi",
+- "fonts:font_format_bindings",
+- "fonts:ift_patcher_bindings",
+ "//base:base_static",
+ "//base/allocator:buildflags",
+ "//build:chromecast_buildflags",
+--- a/third_party/blink/renderer/platform/fonts/font_custom_platform_data.cc
++++ b/third_party/blink/renderer/platform/fonts/font_custom_platform_data.cc
+@@ -328,7 +328,8 @@ FontCustomPlatformData* FontCustomPlatfo
+ SharedBuffer* buffer,
+ String& ots_parse_message) {
+ DCHECK(buffer);
+- base::expected<DecodedWebFont, String> decode_result = DecodeWebFont(buffer);
++ base::expected<DecodedWebFont, String> decode_result =
++ DecodedWebFont::Create(buffer);
+ if (!decode_result.has_value()) {
+ ots_parse_message = std::move(decode_result).error();
+ return nullptr;
+--- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
++++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
+@@ -7,6 +7,7 @@
+ #include "base/containers/span.h"
+ #include "base/containers/span_rust.h"
+ #include "base/numerics/byte_conversions.h"
++#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
+ #include "third_party/blink/renderer/platform/runtime_enabled_features.h"
+ #include "third_party/blink/renderer/platform/wtf/vector.h"
+ #include "third_party/skia/include/core/SkTypeface.h"
+@@ -14,37 +15,35 @@
+ namespace blink {
+
+ FontFormatCheck::FontFormatCheck(sk_sp<SkData> sk_data)
+- : format_info_(font_format::get_font_format_info(
++ : format_info_(font_format_check::get_font_format_info(
+ base::SpanToRustSlice(sk_data->byteSpan()))) {}
+
+-FontFormatCheck::~FontFormatCheck() = default;
+-
+ bool FontFormatCheck::IsVariableFont() const {
+- return font_format::is_variable(format_info_);
++ return font_format_check::is_variable(*format_info_);
+ }
+
+ bool FontFormatCheck::IsCbdtCblcColorFont() const {
+- return font_format::is_cbdt_cblc(format_info_);
++ return font_format_check::is_cbdt_cblc(*format_info_);
+ }
+
+ bool FontFormatCheck::IsEbdtEblcMonochromeFont() const {
+- return font_format::is_ebdt_eblc(format_info_);
++ return font_format_check::is_ebdt_eblc(*format_info_);
+ }
+
+ bool FontFormatCheck::IsColrCpalColorFontV0() const {
+- return font_format::is_colrv0(format_info_);
++ return font_format_check::is_colrv0(*format_info_);
+ }
+
+ bool FontFormatCheck::IsColrCpalColorFontV1() const {
+- return font_format::is_colrv1(format_info_);
++ return font_format_check::is_colrv1(*format_info_);
+ }
+
+ bool FontFormatCheck::IsSbixColorFont() const {
+- return font_format::is_sbix(format_info_);
++ return font_format_check::is_sbix(*format_info_);
+ }
+
+ bool FontFormatCheck::IsCff2OutlineFont() const {
+- return font_format::is_cff2(format_info_);
++ return font_format_check::is_cff2(*format_info_);
+ }
+
+ bool FontFormatCheck::IsVariableColrV0Font() const {
+@@ -58,7 +57,7 @@ bool FontFormatCheck::IsColorFont() cons
+
+ bool FontFormatCheck::IsAvar2Font() const {
+ return RuntimeEnabledFeatures::FontFormatAvar2Enabled() &&
+- font_format::is_avar2(format_info_);
++ font_format_check::is_avar2(*format_info_);
+ }
+
+ FontFormatCheck::VariableFontSubType FontFormatCheck::ProbeVariableFont(
+--- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
++++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
+@@ -5,7 +5,7 @@
+ #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_OPENTYPE_FONT_FORMAT_CHECK_H_
+ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_OPENTYPE_FONT_FORMAT_CHECK_H_
+
+-#include "third_party/blink/renderer/platform/fonts/font_format.h"
++#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
+ #include "third_party/blink/renderer/platform/platform_export.h"
+ #include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
+ #include "third_party/skia/include/core/SkData.h"
+@@ -19,7 +19,7 @@ class PLATFORM_EXPORT FontFormatCheck {
+
+ public:
+ explicit FontFormatCheck(sk_sp<SkData>);
+- virtual ~FontFormatCheck();
++ virtual ~FontFormatCheck() = default;
+ virtual bool IsVariableFont() const;
+ virtual bool IsCbdtCblcColorFont() const;
+ virtual bool IsEbdtEblcMonochromeFont() const;
+@@ -46,7 +46,7 @@ class PLATFORM_EXPORT FontFormatCheck {
+ enum class COLRVersion { kCOLRV0, kCOLRV1, kNoCOLR };
+
+ private:
+- font_format::FontFormatInfo format_info_;
++ rust::Box<font_format_check::FontFormatInfo> format_info_;
+ };
+
+ } // namespace blink
+--- a/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
++++ b/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
+@@ -23,7 +23,7 @@ pub struct FontFormatInfo {
+ format_flags: Option<FontFormatFlags>,
+ }
+
+-pub fn get_font_format_info(font_bytes: &[u8]) -> FontFormatInfo {
++pub fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo> {
+ let file_ref = make_font_ref_internal(font_bytes, 0);
+
+ match file_ref {
+@@ -32,11 +32,11 @@ pub fn get_font_format_info(font_bytes:
+ font.table_directory().table_records().iter().map(|e| e.tag()).collect();
+ let color_version = get_colr_version(&font);
+ let avar_version = get_avar_version(&font);
+- FontFormatInfo {
++ Box::new(FontFormatInfo {
+ format_flags: Some(FontFormatFlags { table_tags, color_version, avar_version }),
+- }
++ })
+ }
+- _ => FontFormatInfo::default(),
++ _ => Box::new(FontFormatInfo::default()),
+ }
+ }
+
+@@ -44,10 +44,10 @@ fn get_colr_version(font_ref: &FontRef)
+ Some(font_ref.colr().ok()?.version())
+ }
+
+-pub fn is_colrv1(format_info: &FontFormatInfo) -> bool {
++fn is_colrv1(format_info: &FontFormatInfo) -> bool {
+ matches!(&format_info.format_flags, Some(FontFormatFlags { color_version: Some(1), .. }),)
+ }
+-pub fn is_colrv0(format_info: &FontFormatInfo) -> bool {
++fn is_colrv0(format_info: &FontFormatInfo) -> bool {
+ matches!(&format_info.format_flags, Some(FontFormatFlags { color_version: Some(0), .. }),)
+ }
+
+@@ -58,7 +58,7 @@ fn get_avar_version(font_ref: &FontRef)
+
+ // https://crbug.com/513446410: For safety we want to pass unknown avar2
+ // versions through fontations, too.
+-pub fn is_avar2(format_info: &FontFormatInfo) -> bool {
++fn is_avar2(format_info: &FontFormatInfo) -> bool {
+ matches!(
+ &format_info.format_flags,
+ Some(FontFormatFlags {
+@@ -77,22 +77,39 @@ fn has_tags(format_info: &FontFormatInfo
+ }
+ }
+
+-pub fn is_variable(format_info: &FontFormatInfo) -> bool {
++fn is_variable(format_info: &FontFormatInfo) -> bool {
+ has_tags(format_info, &[Tag::new(b"fvar")])
+ }
+
+-pub fn is_sbix(format_info: &FontFormatInfo) -> bool {
++fn is_sbix(format_info: &FontFormatInfo) -> bool {
+ has_tags(format_info, &[Tag::new(b"sbix")])
+ }
+
+-pub fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
++fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
+ has_tags(format_info, &[Tag::new(b"CBDT"), Tag::new(b"CBLC")])
+ }
+
+-pub fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
++fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
+ has_tags(format_info, &[Tag::new(b"EBDT"), Tag::new(b"EBLC")])
+ }
+
+-pub fn is_cff2(format_info: &FontFormatInfo) -> bool {
++fn is_cff2(format_info: &FontFormatInfo) -> bool {
+ has_tags(format_info, &[Tag::new(b"CFF2")])
+ }
++
++#[cxx::bridge(namespace = "font_format_check")]
++pub mod ffi {
++ extern "Rust" {
++ type FontFormatInfo;
++
++ fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo>;
++ fn is_colrv1(format_info: &FontFormatInfo) -> bool;
++ fn is_colrv0(format_info: &FontFormatInfo) -> bool;
++ fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool;
++ fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool;
++ fn is_variable(format_info: &FontFormatInfo) -> bool;
++ fn is_sbix(format_info: &FontFormatInfo) -> bool;
++ fn is_cff2(format_info: &FontFormatInfo) -> bool;
++ fn is_avar2(format_info: &FontFormatInfo) -> bool;
++ }
++}
+--- a/third_party/blink/renderer/platform/fonts/web_font_decoder.cc
++++ b/third_party/blink/renderer/platform/fonts/web_font_decoder.cc
+@@ -33,27 +33,19 @@
+ #include <hb.h>
+ #include <stdarg.h>
+
+-#include <string>
+-
+ #include "base/compiler_specific.h"
+-#include "base/containers/span.h"
+-#include "base/numerics/byte_conversions.h"
+ #include "base/numerics/safe_conversions.h"
+ #include "build/build_config.h"
+ #include "third_party/blink/public/platform/platform.h"
+ #include "third_party/blink/renderer/platform/fonts/font_cache.h"
+-#include "third_party/blink/renderer/platform/fonts/ift/ift_patcher.h"
+ #include "third_party/blink/renderer/platform/fonts/web_font_typeface_factory.h"
+ #include "third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h"
+-#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
+ #include "third_party/blink/renderer/platform/wtf/shared_buffer.h"
+ #include "third_party/blink/renderer/platform/wtf/text/format.h"
+ #include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
+ #include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
+ #include "third_party/ots/src/include/ots-memory-stream.h"
+ #include "third_party/skia/include/core/SkStream.h"
+-#include "third_party/woff2/include/woff2/decode.h"
+-#include "third_party/woff2/include/woff2/output.h"
+
+ namespace blink {
+
+@@ -65,11 +57,6 @@ const size_t kMaxDecompressedSizeMb = 30
+ const size_t kMaxDecompressedSizeMb = 128;
+ #endif
+
+-constexpr size_t kMaxDecompressedSize = kMaxDecompressedSizeMb * 1024 * 1024;
+-
+-constexpr uint32_t kWoffTag = OTS_TAG('w', 'O', 'F', 'F');
+-constexpr uint32_t kWoff2Tag = OTS_TAG('w', 'O', 'F', '2');
+-
+ class BlinkOTSContext final : public ots::OTSContext {
+ DISALLOW_NEW();
+
+@@ -189,94 +176,17 @@ ots::TableAction BlinkOTSContext::GetTab
+ }
+ }
+
+-struct FontDecodeResult {
+- std::unique_ptr<IftPatcher> ift_patcher;
+-};
+-
+-// Decompresses and sanitizes `font_data` into an output stream using
+-// `ots_context`, and initializes `ift_patcher` if `font_data` is an IFT-enabled
+-// font. Returns whether decoding succeeded. On failure, the error string can be
+-// retrieved from `ots_context`.
+-bool DecodeFontWithIft(BlinkOTSContext& ots_context,
+- base::span<const uint8_t> font_data,
+- ots::ExpandingMemoryStream* output,
+- std::unique_ptr<IftPatcher>& ift_patcher) {
+- TRACE_EVENT("blink", "DecodeFont");
+-
+- uint32_t magic = 0;
+- if (font_data.size() >= 4) {
+- magic = base::U32FromBigEndian(font_data.first<4u>());
+- }
+-
+- switch (magic) {
+- case kWoff2Tag: {
+- size_t decompressed_size =
+- woff2::ComputeWOFF2FinalSize(font_data.data(), font_data.size());
+- if (decompressed_size == 0) {
+- ots_context.Message(0, "Size of decompressed WOFF 2.0 is set to 0");
+- return false;
+- }
+- if (decompressed_size < font_data.size()) {
+- ots_context.Message(
+- 0, "Size of decompressed WOFF 2.0 is less than compressed size");
+- return false;
+- }
+- if (decompressed_size > kMaxDecompressedSize) {
+- ots_context.Message(0,
+- "Size of decompressed WOFF 2.0 font exceeds %gMB",
+- kMaxDecompressedSize / (1024.0 * 1024.0));
+- return false;
+- }
+-
+- std::string buf(decompressed_size, 0);
+- woff2::WOFF2StringOut out(&buf);
+- if (!woff2::ConvertWOFF2ToTTF(font_data.data(), font_data.size(), &out)) {
+- ots_context.Message(0, "Failed to convert WOFF 2.0 font to SFNT");
+- return false;
+- }
+-
+- base::span<const uint8_t> decompressed_span =
+- base::as_byte_span(buf).first(out.Size());
+- if (!ots_context.Process(output, decompressed_span.data(),
+- decompressed_span.size())) {
+- return false;
+- }
+- ift_patcher = IftPatcher::Create(decompressed_span);
+- break;
+- }
+- case kWoffTag: {
+- // The IFT (Incremental Font Transfer) specification recommends using
+- // WOFF2. OTS handles WOFF decompression directly, so we do not extract
+- // unsanitized font data or create an IftPatcher for the WOFF format.
+- if (!ots_context.Process(output, font_data.data(), font_data.size())) {
+- return false;
+- }
+- break;
+- }
+- default: {
+- if (!ots_context.Process(output, font_data.data(), font_data.size())) {
+- return false;
+- }
+- ift_patcher = IftPatcher::Create(font_data);
+- break;
+- }
+- }
+-
+- return true;
+-}
+-
+ } // namespace
+
+-DecodedWebFont::DecodedWebFont() = default;
+-DecodedWebFont::DecodedWebFont(DecodedWebFont&&) noexcept = default;
+-DecodedWebFont& DecodedWebFont::operator=(DecodedWebFont&&) noexcept = default;
+-DecodedWebFont::~DecodedWebFont() = default;
+-
+-base::expected<DecodedWebFont, String> DecodeWebFont(SegmentedBuffer* buffer) {
++base::expected<DecodedWebFont, String> DecodedWebFont::Create(
++ SegmentedBuffer* buffer) {
+ if (!buffer) {
+ return base::unexpected("Empty Buffer");
+ }
+
++ // This is the largest web font size which we'll try to transcode.
++ static const size_t kMaxDecompressedSize =
++ kMaxDecompressedSizeMb * 1024 * 1024;
+ if (buffer->size() > kMaxDecompressedSize) {
+ return base::unexpected(
+ Format("Web font size more than {}MB", kMaxDecompressedSizeMb));
+@@ -291,11 +201,7 @@ base::expected<DecodedWebFont, String> D
+ SegmentedBuffer::DeprecatedFlatData flattened_buffer(buffer);
+
+ bool ok;
+- std::unique_ptr<IftPatcher> ift_patcher;
+- if (RuntimeEnabledFeatures::IncrementalFontTransferEnabled()) {
+- ok = DecodeFontWithIft(ots_context, base::as_byte_span(flattened_buffer),
+- output.get(), ift_patcher);
+- } else {
++ {
+ TRACE_EVENT("blink", "DecodeFont");
+ ok = ots_context.Process(
+ output.get(), reinterpret_cast<const uint8_t*>(flattened_buffer.data()),
+@@ -307,9 +213,9 @@ base::expected<DecodedWebFont, String> D
+ }
+
+ const void* decoded_data = output->get();
+- DecodedWebFont result;
+- result.ift_patcher = std::move(ift_patcher);
+- result.decoded_size = base::checked_cast<size_t>(output->Tell());
++ DecodedWebFont result{
++ .decoded_size = base::checked_cast<size_t>(output->Tell()),
++ };
+ sk_sp<SkData> sk_data = SkData::MakeWithProc(
+ decoded_data, result.decoded_size,
+ [](const void*, void* output) {
+--- a/third_party/blink/renderer/platform/fonts/web_font_decoder.h
++++ b/third_party/blink/renderer/platform/fonts/web_font_decoder.h
+@@ -31,8 +31,6 @@
+ #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_WEB_FONT_DECODER_H_
+ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_WEB_FONT_DECODER_H_
+
+-#include <memory>
+-
+ #include "base/types/expected.h"
+ #include "third_party/blink/renderer/platform/platform_export.h"
+ #include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
+@@ -42,7 +40,6 @@ class SkTypeface;
+
+ namespace blink {
+
+-class IftPatcher;
+ class SegmentedBuffer;
+
+ // Represents a font that has been successfully decoded and sanitized.
+@@ -56,32 +53,18 @@ struct PLATFORM_EXPORT DecodedWebFont {
+ // The size of the font after decoding and sanitizing.
+ size_t decoded_size = 0;
+
+- // Used to discover and apply patches to fonts. `nullptr` if the font is not
+- // IFT-encoded or if Incremental Font Transfer is disabled.
+- std::unique_ptr<IftPatcher> ift_patcher;
+-
+- // Defined out of line so that `IftPatcher` only needs to be forward declared
+- // here.
+- DecodedWebFont();
+- DecodedWebFont(DecodedWebFont&&) noexcept;
+- DecodedWebFont& operator=(DecodedWebFont&&) noexcept;
+- DecodedWebFont(const DecodedWebFont&) = delete;
+- DecodedWebFont& operator=(const DecodedWebFont&) = delete;
+- ~DecodedWebFont();
++ // Decodes, decompresses, and sanitizes the raw font data from the provided
++ // `buffer` (which typically contains WOFF, WOFF2, or TTF data).
++ //
++ // Returns:
++ // - On success: A `DecodedWebFont` containing the successfully created
++ // font.
++ // - On failure: A `String` containing a descriptive error message (e.g., if
++ // the buffer is empty, the decompressed size exceeds limits, or OTS
++ // validation fails).
++ static base::expected<DecodedWebFont, String> Create(SegmentedBuffer*);
+ };
+
+-// Decodes, decompresses, and sanitizes the raw font data from the provided
+-// `buffer` (which typically contains WOFF, WOFF2, or TTF data).
+-//
+-// Returns:
+-// - On success: A `DecodedWebFont` containing the successfully created
+-// font.
+-// - On failure: A `String` containing a descriptive error message (e.g., if
+-// the buffer is empty, the decompressed size exceeds limits, or OTS
+-// validation fails).
+-PLATFORM_EXPORT base::expected<DecodedWebFont, String> DecodeWebFont(
+- SegmentedBuffer* buffer);
+-
+ } // namespace blink
+
+ #endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_WEB_FONT_DECODER_H_
diff --git a/chromium-ftbfs-private-verification-tokens.patch b/chromium-ftbfs-private-verification-tokens.patch
new file mode 100644
index 0000000..9bcefcb
--- /dev/null
+++ b/chromium-ftbfs-private-verification-tokens.patch
@@ -0,0 +1,624 @@
+ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
+
+--- a/chrome/browser/BUILD.gn
++++ b/chrome/browser/BUILD.gn
+@@ -1016,7 +1016,6 @@ source_set("core") {
+ "//chrome/browser/preloading/search_preload:feature",
+ "//chrome/browser/privacy_sandbox:headers",
+ "//chrome/browser/private_ai",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/profiles:misc",
+ "//chrome/browser/profiles:profile_io_data",
+ "//chrome/browser/profiles:profiles_extra_parts",
+@@ -2248,7 +2247,6 @@ source_set("browser") {
+ "//chrome/browser/preloading/search_preload",
+ "//chrome/browser/privacy",
+ "//chrome/browser/privacy_sandbox:impl",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/profiles:misc",
+ "//chrome/browser/profiles:profile_util_impl",
+ "//chrome/browser/profiles:profiles_extra_parts_impl",
+--- a/chrome/browser/browsing_data/BUILD.gn
++++ b/chrome/browser/browsing_data/BUILD.gn
+@@ -125,7 +125,6 @@ source_set("impl") {
+ "//chrome/browser/preloading/prefetch/no_state_prefetch",
+ "//chrome/browser/preloading/prefetch/search_prefetch",
+ "//chrome/browser/privacy_sandbox:headers",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/profiles/keep_alive",
+ "//chrome/browser/reading_list",
+ "//chrome/browser/safe_browsing",
+@@ -269,7 +268,6 @@ source_set("unit_tests") {
+ "//chrome/browser/payments/browser_binding:browser_bound_key_deleter",
+ "//chrome/browser/payments/browser_binding:test_support",
+ "//chrome/browser/permissions",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/reading_list",
+ "//chrome/browser/safe_browsing:verdict_cache_manager_factory",
+ "//chrome/browser/segmentation_platform",
+@@ -298,7 +296,6 @@ source_set("unit_tests") {
+ "//components/privacy_sandbox:privacy_sandbox_settings_headers",
+ "//components/privacy_sandbox/privacy_sandbox_attestations",
+ "//components/privacy_sandbox/privacy_sandbox_attestations:test_support",
+- "//components/private_verification_tokens/common:private_verification_tokens_database",
+ "//components/reading_list/core:test_support",
+ "//components/safe_browsing/core/browser:suspicious_site_warning_allowlist",
+ "//components/safe_browsing/core/browser:verdict_cache_manager",
+--- a/chrome/browser/browsing_data/chrome_browsing_data_model_delegate.cc
++++ b/chrome/browser/browsing_data/chrome_browsing_data_model_delegate.cc
+@@ -127,15 +127,6 @@ void ChromeBrowsingDataModelDelegate::Ge
+
+ GetAllMediaDeviceSaltDataKeys(concurrent.CreateCallback(), {});
+
+- if (base::FeatureList::IsEnabled(
+- net::features::kEnablePrivateVerificationTokens)) {
+- if (auto* pvt_service =
+- PrivateVerificationTokensServiceFactory::GetForProfile(profile_)) {
+- pvt_service->GetTokenIssuers(
+- base::BindOnce(&PrivateVerificationTokenBrowsingDataToDelegateEntries)
+- .Then(concurrent.CreateCallback()));
+- }
+- }
+
+ // TODO(crbug.com/40205603): Implement data retrieval for remaining data
+ // types.
+@@ -180,20 +171,6 @@ void ChromeBrowsingDataModelDelegate::Re
+ }
+ #endif // !BUILDFLAG(IS_ANDROID)
+
+- if (base::FeatureList::IsEnabled(
+- net::features::kEnablePrivateVerificationTokens) &&
+- storage_types.Has(static_cast<BrowsingDataModel::StorageType>(
+- StorageType::kPrivateVerificationTokens))) {
+- if (const url::Origin* origin = std::get_if<url::Origin>(&data_key)) {
+- if (auto* pvt_service =
+- PrivateVerificationTokensServiceFactory::GetForProfile(
+- profile_)) {
+- pvt_service->DeleteTokens(base::Time(), base::Time::Max(),
+- concurrent.CreateClosure(),
+- std::vector<url::Origin>{*origin});
+- }
+- }
+- }
+
+ std::move(concurrent).Done(std::move(callback));
+ }
+--- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
++++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
+@@ -726,29 +726,6 @@ void ChromeBrowsingDataRemoverDelegate::
+ #endif // BUILDFLAG(IS_CHROMEOS)
+ }
+
+- //////////////////////////////////////////////////////////////////////////////
+- // DATA_TYPE_PRIVATE_VERIFICATION_TOKENS
+- if (remove_mask & constants::DATA_TYPE_PRIVATE_VERIFICATION_TOKENS) {
+- if (base::FeatureList::IsEnabled(
+- net::features::kEnablePrivateVerificationTokens)) {
+- if (auto* pvt_service =
+- PrivateVerificationTokensServiceFactory::GetForProfile(
+- profile_)) {
+- auto done_closure = CreateTaskCompletionClosure(
+- TracingDataType::kPrivateVerificationTokens);
+-
+- if (filter_builder->MatchesAllOriginsAndDomains()) {
+- pvt_service->DeleteTokens(delete_begin_, delete_end_,
+- std::move(done_closure),
+- /*issuers=*/std::nullopt);
+- } else {
+- pvt_service->DeleteTokensByFilter(
+- delete_begin_, delete_end_,
+- filter_builder->BuildStorageKeyFilter(), std::move(done_closure));
+- }
+- }
+- }
+- }
+
+ //////////////////////////////////////////////////////////////////////////////
+ // DATA_TYPE_CONTENT_SETTINGS
+--- a/chrome/browser/chrome_content_browser_client.cc
++++ b/chrome/browser/chrome_content_browser_client.cc
+@@ -6193,21 +6193,6 @@ ChromeContentBrowserClient::CreateURLLoa
+ result.push_back(std::move(signin_throttle));
+ }
+
+- if (base::FeatureList::IsEnabled(
+- net::features::kEnablePrivateVerificationTokens) &&
+- request.is_outermost_main_frame) {
+- if (auto* pvt_service =
+- PrivateVerificationTokensServiceFactory::GetForProfile(profile)) {
+- auto url_loader_factory = profile->GetDefaultStoragePartition()
+- ->GetURLLoaderFactoryForBrowserProcess();
+- if (auto pvt_throttle =
+- PrivateVerificationTokensURLLoaderThrottle::Create(
+- pvt_service, profile->GetWeakPtr(),
+- std::move(url_loader_factory))) {
+- result.push_back(std::move(pvt_throttle));
+- }
+- }
+- }
+
+ if (auto contextual_tasks_throttle =
+ contextual_tasks::ContextualTasksURLLoaderThrottle::MaybeCreate(
+--- a/chrome/browser/component_updater/BUILD.gn
++++ b/chrome/browser/component_updater/BUILD.gn
+@@ -151,7 +151,6 @@ source_set("impl") {
+ "//chrome/browser/net",
+ "//chrome/browser/page_load_metrics",
+ "//chrome/browser/permissions",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/profiles:profile",
+ "//chrome/browser/update_client",
+ "//chrome/common",
+@@ -167,7 +166,6 @@ source_set("impl") {
+ "//components/permissions",
+ "//components/privacy_sandbox:features",
+ "//components/privacy_sandbox/privacy_sandbox_attestations",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+ "//components/safe_browsing/core/common:features",
+ "//components/search",
+ "//components/security_interstitials/content:security_interstitial_page",
+--- a/chrome/browser/component_updater/private_verification_tokens_installer.cc
++++ b/chrome/browser/component_updater/private_verification_tokens_installer.cc
+@@ -25,32 +25,6 @@ namespace component_updater {
+
+ void RegisterPrivateVerificationTokensComponentIfEnabled(
+ ComponentUpdateService* cus) {
+- if (!base::FeatureList::IsEnabled(
+- net::features::kEnablePrivateVerificationTokens)) {
+- return;
+- }
+-
+- auto installer = base::MakeRefCounted<ComponentInstaller>(
+- std::make_unique<PrivateVerificationTokensInstallerPolicy>(
+- base::BindRepeating(
+- [](scoped_refptr<private_verification_tokens::
+- PrivateVerificationTokensIssuerConfig>
+- issuer_config) {
+- PrivateVerificationTokensServiceFactory::SetGlobalIssuerConfig(
+- issuer_config);
+- if (g_browser_process && g_browser_process->profile_manager()) {
+- for (Profile* profile : g_browser_process->profile_manager()
+- ->GetLoadedProfiles()) {
+- if (PrivateVerificationTokensService* service =
+- PrivateVerificationTokensServiceFactory::
+- GetForProfileIfExists(profile)) {
+- service->SetIssuerConfig(issuer_config);
+- }
+- }
+- }
+- })));
+-
+- installer->Register(cus, base::OnceClosure());
+ }
+
+ } // namespace component_updater
+--- a/chrome/browser/devtools/BUILD.gn
++++ b/chrome/browser/devtools/BUILD.gn
+@@ -433,7 +433,6 @@ static_library("devtools") {
+ "//chrome/app:command_ids",
+ "//chrome/browser/badging",
+ "//chrome/browser/custom_handlers",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/ui:browser_window_header",
+ "//chrome/browser/ui/media_router",
+ "//chrome/browser/ui/startup",
+@@ -446,7 +445,6 @@ static_library("devtools") {
+ "//components/origin_gating/core",
+ "//components/payments/content",
+ "//components/privacy_sandbox/privacy_sandbox_attestations",
+- "//components/private_verification_tokens/common:private_verification_tokens_database",
+ "//components/security_state/content",
+ "//components/subresource_filter/content/browser",
+ "//components/web_package",
+@@ -672,7 +670,6 @@ if (enable_devtools_frontend) {
+ "//chrome/browser/prefs:util",
+ "//chrome/browser/preloading:prefs",
+ "//chrome/browser/preloading:test_support",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/search_engines",
+ "//chrome/browser/sync/test/integration:sync_integration_test_support",
+ "//chrome/browser/ui/autofill",
+@@ -683,7 +680,6 @@ if (enable_devtools_frontend) {
+ "//components/infobars/content",
+ "//components/javascript_dialogs",
+ "//components/language/core/browser",
+- "//components/private_verification_tokens/common:private_verification_tokens_token",
+ "//components/ukm:test_support",
+ "//content/test:test_support",
+ "//testing/gtest",
+--- a/chrome/browser/devtools/protocol/storage_handler.cc
++++ b/chrome/browser/devtools/protocol/storage_handler.cc
+@@ -9,54 +9,22 @@
+ #include <utility>
+ #include <vector>
+
+-#include "base/base64.h"
+ #include "base/check.h"
+-#include "base/strings/string_number_conversions.h"
+ #include "chrome/browser/browser_process.h"
+ #include "chrome/browser/devtools/protocol/protocol.h"
+ #include "chrome/browser/devtools/protocol/storage.h"
+-#include "chrome/browser/private_verification_tokens/private_verification_tokens_service.h"
+-#include "chrome/browser/private_verification_tokens/private_verification_tokens_service_factory.h"
+-#include "chrome/browser/profiles/profile.h"
+ #include "chrome/browser/profiles/profile_manager.h"
+-#include "components/private_verification_tokens/common/private_verification_tokens_database.h"
+ #include "content/public/browser/btm_service.h"
+ #include "content/public/browser/web_contents.h"
+-#include "url/gurl.h"
+-#include "url/origin.h"
+-
+-namespace {
+-
+-PrivateVerificationTokensService* GetPrivateVerificationTokensService(
+- content::WebContents* web_contents) {
+- if (!web_contents) {
+- return nullptr;
+- }
+- Profile* profile =
+- Profile::FromBrowserContext(web_contents->GetBrowserContext());
+- if (!profile) {
+- return nullptr;
+- }
+- return PrivateVerificationTokensServiceFactory::GetForProfile(profile);
+-}
+-
+-} // namespace
+
+ StorageHandler::StorageHandler(content::WebContents* web_contents,
+ protocol::UberDispatcher* dispatcher)
+ : web_contents_(web_contents->GetWeakPtr()) {
+- frontend_ =
+- std::make_unique<protocol::Storage::Frontend>(dispatcher->channel());
+ protocol::Storage::Dispatcher::wire(dispatcher, this);
+ }
+
+ StorageHandler::~StorageHandler() = default;
+
+-protocol::Response StorageHandler::Disable() {
+- pvt_observation_.Reset();
+- return protocol::Response::FallThrough();
+-}
+-
+ // TODO: crbug.com/380896828 - move CDP support for BTM to //content.
+ void StorageHandler::RunBounceTrackingMitigations(
+ std::unique_ptr<RunBounceTrackingMitigationsCallback> callback) {
+@@ -82,152 +50,3 @@ void StorageHandler::GotDeletedSites(
+ std::make_unique<protocol::Array<protocol::String>>(sites);
+ callback->sendSuccess(std::move(deleted_sites));
+ }
+-
+-void StorageHandler::GetPrivateVerificationTokens(
+- std::unique_ptr<GetPrivateVerificationTokensCallback> callback) {
+- PrivateVerificationTokensService* pvt_service =
+- GetPrivateVerificationTokensService(web_contents_.get());
+- if (!pvt_service) {
+- callback->sendFailure(protocol::Response::ServerError(
+- "Private Verification Tokens service is not available"));
+- return;
+- }
+-
+- pvt_service->GetAllTokens(base::BindOnce(
+- [](std::unique_ptr<GetPrivateVerificationTokensCallback> callback,
+- std::vector<private_verification_tokens::TokenWithId> tokens) {
+- auto result = std::make_unique<
+- protocol::Array<protocol::Storage::PrivateVerificationToken>>();
+- for (const auto& item : tokens) {
+- result->push_back(
+- protocol::Storage::PrivateVerificationToken::Create()
+- .SetId(base::NumberToString(item.id))
+- .SetIssuerOrigin(item.token.issuer().Serialize())
+- .SetKeyId(static_cast<int>(item.token.key_id()))
+- .SetExpiration(
+- item.token.expiration().InSecondsFSinceUnixEpoch())
+- .SetCreationTime(
+- item.token.creation_time().InSecondsFSinceUnixEpoch())
+- .SetVersion(static_cast<int>(item.token.version()))
+- .SetToken(base::Base64Encode(item.token.token()))
+- .Build());
+- }
+- callback->sendSuccess(std::move(result));
+- },
+- std::move(callback)));
+-}
+-
+-protocol::Response StorageHandler::GetPrivateVerificationTokensIssuerConfigs(
+- std::unique_ptr<protocol::Array<
+- protocol::Storage::PrivateVerificationTokensIssuerConfig>>*
+- out_configs) {
+- PrivateVerificationTokensService* pvt_service =
+- GetPrivateVerificationTokensService(web_contents_.get());
+- if (!pvt_service) {
+- return protocol::Response::ServerError(
+- "Private Verification Tokens service is not available");
+- }
+-
+- auto configs = std::make_unique<protocol::Array<
+- protocol::Storage::PrivateVerificationTokensIssuerConfig>>();
+- scoped_refptr<
+- const private_verification_tokens::PrivateVerificationTokensIssuerConfig>
+- issuer_config = pvt_service->issuer_config();
+- if (issuer_config) {
+- for (const auto& [issuer_origin, config] : issuer_config->config()) {
+- auto redeemer_origins =
+- std::make_unique<protocol::Array<protocol::String>>();
+- for (const url::Origin& redeemer : config.redeemers) {
+- redeemer_origins->push_back(redeemer.Serialize());
+- }
+- configs->push_back(
+- protocol::Storage::PrivateVerificationTokensIssuerConfig::Create()
+- .SetIssuerOrigin(issuer_origin.Serialize())
+- .SetRedeemerOrigins(std::move(redeemer_origins))
+- .Build());
+- }
+- }
+-
+- *out_configs = std::move(configs);
+- return protocol::Response::Success();
+-}
+-
+-void StorageHandler::ClearPrivateVerificationTokens(
+- const std::string& in_issuerOrigin,
+- std::unique_ptr<ClearPrivateVerificationTokensCallback> callback) {
+- PrivateVerificationTokensService* pvt_service =
+- GetPrivateVerificationTokensService(web_contents_.get());
+- if (!pvt_service) {
+- callback->sendFailure(protocol::Response::ServerError(
+- "Private Verification Tokens service is not available"));
+- return;
+- }
+-
+- url::Origin issuer_origin = url::Origin::Create(GURL(in_issuerOrigin));
+- if (issuer_origin.opaque()) {
+- callback->sendFailure(
+- protocol::Response::InvalidParams("Invalid issuer origin"));
+- return;
+- }
+-
+- pvt_service->DeleteTokens(
+- base::Time::Min(), base::Time::Max(),
+- base::BindOnce(&ClearPrivateVerificationTokensCallback::sendSuccess,
+- std::move(callback)),
+- std::vector<url::Origin>{issuer_origin});
+-}
+-
+-void StorageHandler::DeletePrivateVerificationToken(
+- const std::string& in_tokenId,
+- std::unique_ptr<DeletePrivateVerificationTokenCallback> callback) {
+- PrivateVerificationTokensService* pvt_service =
+- GetPrivateVerificationTokensService(web_contents_.get());
+- if (!pvt_service) {
+- callback->sendFailure(protocol::Response::ServerError(
+- "Private Verification Tokens service is not available"));
+- return;
+- }
+-
+- int64_t token_id = 0;
+- if (!base::StringToInt64(in_tokenId, &token_id)) {
+- callback->sendFailure(
+- protocol::Response::InvalidParams("Invalid token ID"));
+- return;
+- }
+-
+- pvt_service->DeleteToken(
+- token_id,
+- base::BindOnce(&DeletePrivateVerificationTokenCallback::sendSuccess,
+- std::move(callback)));
+-}
+-
+-protocol::Response StorageHandler::SetPrivateVerificationTokensTracking(
+- bool enable) {
+- PrivateVerificationTokensService* pvt_service =
+- GetPrivateVerificationTokensService(web_contents_.get());
+- if (!pvt_service) {
+- return protocol::Response::ServerError(
+- "Private Verification Tokens service is not available");
+- }
+-
+- if (enable) {
+- if (!pvt_observation_.IsObserving()) {
+- pvt_observation_.Observe(pvt_service);
+- }
+- } else {
+- pvt_observation_.Reset();
+- }
+- return protocol::Response::Success();
+-}
+-
+-void StorageHandler::OnTokensStored() {
+- frontend_->PrivateVerificationTokensUpdated();
+-}
+-
+-void StorageHandler::OnTokensDeleted() {
+- frontend_->PrivateVerificationTokensUpdated();
+-}
+-
+-void StorageHandler::OnShutdown() {
+- pvt_observation_.Reset();
+-}
+--- a/chrome/browser/devtools/protocol/storage_handler.h
++++ b/chrome/browser/devtools/protocol/storage_handler.h
+@@ -5,22 +5,15 @@
+ #ifndef CHROME_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_
+ #define CHROME_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_
+
+-#include <memory>
+-#include <string>
+-#include <vector>
+-
+ #include "base/memory/weak_ptr.h"
+-#include "base/scoped_observation.h"
+ #include "chrome/browser/devtools/protocol/protocol.h"
+ #include "chrome/browser/devtools/protocol/storage.h"
+-#include "chrome/browser/private_verification_tokens/private_verification_tokens_service.h"
+
+ namespace content {
+ class WebContents;
+ } // namespace content
+
+-class StorageHandler : public protocol::Storage::Backend,
+- public PrivateVerificationTokensService::Observer {
++class StorageHandler : public protocol::Storage::Backend {
+ public:
+ StorageHandler(content::WebContents* web_contents,
+ protocol::UberDispatcher* dispatcher);
+@@ -31,41 +24,14 @@ class StorageHandler : public protocol::
+ ~StorageHandler() override;
+
+ private:
+- protocol::Response Disable() override;
+-
+ void RunBounceTrackingMitigations(
+ std::unique_ptr<RunBounceTrackingMitigationsCallback> callback) override;
+
+- void GetPrivateVerificationTokens(
+- std::unique_ptr<GetPrivateVerificationTokensCallback> callback) override;
+- protocol::Response GetPrivateVerificationTokensIssuerConfigs(
+- std::unique_ptr<protocol::Array<
+- protocol::Storage::PrivateVerificationTokensIssuerConfig>>*
+- out_configs) override;
+- void ClearPrivateVerificationTokens(
+- const std::string& in_issuerOrigin,
+- std::unique_ptr<ClearPrivateVerificationTokensCallback> callback)
+- override;
+- void DeletePrivateVerificationToken(
+- const std::string& in_tokenId,
+- std::unique_ptr<DeletePrivateVerificationTokenCallback> callback)
+- override;
+- protocol::Response SetPrivateVerificationTokensTracking(bool enable) override;
+-
+- // PrivateVerificationTokensService::Observer:
+- void OnTokensStored() override;
+- void OnTokensDeleted() override;
+- void OnShutdown() override;
+-
+ static void GotDeletedSites(
+ std::unique_ptr<RunBounceTrackingMitigationsCallback> callback,
+ const std::vector<std::string>& sites);
+
+ base::WeakPtr<content::WebContents> web_contents_;
+- std::unique_ptr<protocol::Storage::Frontend> frontend_;
+- base::ScopedObservation<PrivateVerificationTokensService,
+- PrivateVerificationTokensService::Observer>
+- pvt_observation_{this};
+ };
+
+ #endif // CHROME_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_
+--- a/chrome/browser/private_verification_tokens/BUILD.gn
++++ b/chrome/browser/private_verification_tokens/BUILD.gn
+@@ -8,9 +8,7 @@ static_library("private_verification_tok
+ "//chrome/browser:*",
+ "//chrome/browser/browsing_data:*",
+ "//chrome/browser/component_updater:*",
+- "//chrome/browser/devtools:*",
+ "//chrome/browser/profiles:profiles_extra_parts_impl",
+- "//chrome/test:*",
+ ]
+
+ sources = [
+@@ -28,12 +26,6 @@ static_library("private_verification_tok
+ "//chrome/browser/profiles:profile",
+ "//components/content_settings/core/browser",
+ "//components/keyed_service/core",
+- "//components/private_verification_tokens/common:privacy_pass_athm_batch_request",
+- "//components/private_verification_tokens/common:private_verification_tokens_fetcher",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+- "//components/private_verification_tokens/common:private_verification_tokens_metrics",
+- "//components/private_verification_tokens/common:private_verification_tokens_parameters",
+- "//components/private_verification_tokens/common:private_verification_tokens_store",
+ "//content/public/browser",
+ "//net",
+ "//services/network/public/cpp",
+@@ -53,10 +45,6 @@ source_set("browser_tests") {
+ "//chrome/test:test_support",
+ "//chrome/test/base:chrome_test_utils",
+ "//components/content_settings/core/common",
+- "//components/private_verification_tokens/common:private_verification_tokens_database",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+- "//components/private_verification_tokens/common:test_support",
+- "//components/private_verification_tokens/common/athm_ffi:athm_ffi_bindings",
+ "//net:test_support",
+ "//services/network:test_support",
+ "//url",
+@@ -77,13 +65,6 @@ source_set("unit_tests") {
+ "//chrome/test:test_support",
+ "//components/content_settings/core/browser",
+ "//components/content_settings/core/common",
+- "//components/private_verification_tokens/common:privacy_pass_athm_batch_request",
+- "//components/private_verification_tokens/common:private_verification_tokens_database",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+- "//components/private_verification_tokens/common:private_verification_tokens_metrics",
+- "//components/private_verification_tokens/common:private_verification_tokens_parameters",
+- "//components/private_verification_tokens/common:test_support",
+- "//components/private_verification_tokens/common/athm_ffi:athm_ffi_bindings",
+ "//content/test:test_support",
+ "//net",
+ "//services/network:test_support",
+--- a/chrome/browser/profiles/BUILD.gn
++++ b/chrome/browser/profiles/BUILD.gn
+@@ -811,7 +811,6 @@ source_set("profiles_extra_parts_impl")
+ "//chrome/browser/privacy_sandbox:headers",
+ "//chrome/browser/private_ai",
+ "//chrome/browser/private_insights",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/push_messaging",
+ "//chrome/browser/reading_list",
+ "//chrome/browser/reduce_accept_language",
+--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
++++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+@@ -1360,7 +1360,6 @@ void ChromeBrowserMainExtraPartsProfiles
+ PrivacyMetricsServiceFactory::GetInstance();
+ PrivacySandboxServiceFactory::GetInstance();
+ PrivacySandboxSettingsFactory::GetInstance();
+- PrivateVerificationTokensServiceFactory::GetInstance();
+ private_ai::PrivateAiServiceFactory::GetInstance();
+ ProfileNetworkContextServiceFactory::GetInstance();
+ ProfilePasswordStoreFactory::GetInstance();
+--- a/chrome/test/BUILD.gn
++++ b/chrome/test/BUILD.gn
+@@ -1869,8 +1869,6 @@ if (!is_android) {
+ "//chrome/browser/privacy_sandbox:headers",
+ "//chrome/browser/privacy_sandbox:test_support",
+ "//chrome/browser/private_ai",
+- "//chrome/browser/private_verification_tokens",
+- "//chrome/browser/private_verification_tokens:browser_tests",
+ "//chrome/browser/profile_resetter",
+ "//chrome/browser/profile_resetter:browser_tests",
+ "//chrome/browser/profiles",
+@@ -5043,7 +5041,6 @@ test("unit_tests") {
+ "//chrome/browser/preloading/prerender:unit_tests",
+ "//chrome/browser/privacy_sandbox:unit_tests",
+ "//chrome/browser/private_ai:unit_tests",
+- "//chrome/browser/private_verification_tokens:unit_tests",
+ "//chrome/browser/profiles",
+ "//chrome/browser/profiles:misc",
+ "//chrome/browser/profiles:profile_downloader",
+--- a/components/BUILD.gn
++++ b/components/BUILD.gn
+@@ -313,7 +313,6 @@ test("components_unittests") {
+ "//components/power_metrics:unit_tests",
+ "//components/prefs:unit_tests",
+ "//components/privacy_sandbox:unit_tests",
+- "//components/private_verification_tokens:unit_tests",
+ "//components/profile_metrics:unit_tests",
+ "//components/proto_extras:unit_tests",
+ "//components/proxy_config:unit_tests",
+--- a/components/component_updater/installer_policies/BUILD.gn
++++ b/components/component_updater/installer_policies/BUILD.gn
+@@ -38,7 +38,6 @@ static_library("installer_policies_no_co
+ "//components/lookalikes/core:proto",
+ "//components/lookalikes/core:safety_tips",
+ "//components/prefs",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+ "//components/update_client",
+ "//mojo/public/cpp/base:protobuf_support",
+ "//services/network/public/cpp",
+@@ -106,8 +105,6 @@ source_set("unit_tests") {
+ "//components/history_embeddings/core",
+ "//components/optimization_guide/core",
+ "//components/optimization_guide/proto:optimization_guide_proto",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+- "//components/private_verification_tokens/common:test_support",
+ "//mojo/public/cpp/base:protobuf_support",
+ "//services/network/public/cpp",
+ "//testing/gmock",
diff --git a/chromium.spec b/chromium.spec
index 5da3e00..8607e4d 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -282,7 +282,7 @@
%endif
Name: chromium
-Version: 155.0.8059.84
+Version: 156.0.8078.47
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -367,9 +367,11 @@ Patch136: chromium-133-workaround-system-ffmpeg-whitelist.patch
Patch137: chromium-147-system-ffmpeg.patch
# Workaround for missing AVDynamicHDRSmpte2094App5 in system ffmpeg
Patch138: chromium-150-ffmpeg-AVDynamicHDRSmpte2094App5.patch
+# Workaround for missing AV_CODEC_ID_ITUT_T35|AV_STREAM_GROUP_PARAMS_TREF
+Patch139: chromium-156-system-ffmpeg-api.patch
# Fix FTBFS with python-3.9 on el9
-Patch139: chromium-153-el9-python-3.9-build-error.patch
+Patch140: chromium-153-el9-python-3.9-build-error.patch
# file conflict with old kernel on el8/el9
Patch141: chromium-118-dma_buf_export_sync_file-conflict.patch
@@ -415,13 +417,13 @@ Patch311: chromium-123-fstack-protector-strong.patch
# ERROR at //build/rust/crubit/BUILD.gn:12:5:
# Unable to load third_party/rust-toolchain/lib/third_party/crubit/support/rs_std/BUILD.gn
# "$crubit_src_dir/support/rs_std:rs_std_cpp",
-# Patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3966
-Patch312: chromium-154-ftbfs-crubit.patch
+# Patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
+Patch312: chromium-ftbfs-crubit.patch
# Fix FTBFS:
# ERROR Unresolved dependencies
-# Patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3966
-Patch313: chromium-154-ftbfs-private-verification-tokens.patch
+# Patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
+Patch313: chromium-ftbfs-private-verification-tokens.patch
# old rust version causes build error on el8:
# error[E0599]: no method named `is_none_or` found for enum `Option` in the current scope
@@ -1155,11 +1157,12 @@ Qt6 UI for chromium.
%patch -P136 -p1 -b .workaround-system-ffmpeg-whitelist
%patch -P137 -p1 -b .system-ffmpeg
%patch -P138 -p1 -b .workaround-system-ffmpeg-AVDynamicHDRSmpte2094App5
+%patch -P139 -p1 -b .workaround-system-ffmpeg-api
%endif
%if 0%{?rhel} == 8 || 0%{?rhel} == 9
+%patch -P140 -p1 -b .el9-python-3.9-build-error.patch
%patch -P141 -p1 -b .dma_buf_export_sync_file-conflict
-%patch -P139 -p1 -b .el9-python-3.9-build-error.patch
%endif
%if (0%{?rhel} && 0%{?rhel} < 10) || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 2)
@@ -1988,6 +1991,362 @@ fi
%endif
%changelog
+* Wed Oct 21 2026 Than Ngo <than@redhat.com> - 156.0.8078.47-1
+- Update to 156.0.8078.47, include 353 security fixes
+ * CVE-2026-112992: Memory corruption in Canvas
+ * CVE-2026-112993: Use after free in Input
+ * CVE-2026-112994: Memory corruption in Browser
+ * CVE-2026-112995: Use after free in Animation
+ * CVE-2026-112996: Memory corruption in Loader
+ * CVE-2026-112997: Memory corruption in CSS
+ * CVE-2026-112998: Memory corruption in Views
+ * CVE-2026-112999: Use after free in API
+ * CVE-2026-113000: Memory corruption in Paint
+ * CVE-2026-113001: Use after free in Workers
+ * CVE-2026-113002: Memory corruption in Transactions Platform
+ * CVE-2026-113003: Memory corruption in HID
+ * CVE-2026-113004: Memory corruption in Sync
+ * CVE-2026-113005: Memory corruption in Bluetooth
+ * CVE-2026-113006: Out of bounds read in Navigation
+ * CVE-2026-113007: Memory corruption in Permissions
+ * CVE-2026-113008: Memory corruption in Transactions Platform
+ * CVE-2026-113009: Use after free in WindowControlsOverlay
+ * CVE-2026-113010: Out of bounds read in Extensions
+ * CVE-2026-113011: Use after free in CredentialProvider
+ * CVE-2026-113012: Improper input validation in GPU
+ * CVE-2026-113013: Memory corruption in DevTools
+ * CVE-2026-113014: Use after free in PerformanceAPIs
+ * CVE-2026-113015: Use after free in Workers
+ * CVE-2026-113016: Improper input validation in Extensions
+ * CVE-2026-113017: Use after free in Views
+ * CVE-2026-113018: Memory corruption in IME
+ * CVE-2026-113019: Use after free in Turbolev
+ * CVE-2026-113020: Improper input validation in Date
+ * CVE-2026-113021: Use after free in WebAppInstalls
+ * CVE-2026-113022: Memory corruption in PDFium
+ * CVE-2026-113023: Improper input validation in Extensions
+ * CVE-2026-113024: Use after free in WebAppInstalls
+ * CVE-2026-113025: Use after free in Input
+ * CVE-2026-113026: Memory corruption in PDF
+ * CVE-2026-113027: Memory corruption in WebFonts
+ * CVE-2026-113028: Use after free in Media
+ * CVE-2026-113029: Improper access control in ANGLE
+ * CVE-2026-113030: Improper access control in V8
+ * CVE-2026-113031: Memory corruption in Media
+ * CVE-2026-113032: Memory corruption in Omnibox
+ * CVE-2026-113033: Use after free in Streaming
+ * CVE-2026-113034: Memory corruption in FileSystem
+ * CVE-2026-113035: Out of bounds read in API
+ * CVE-2026-113036: Memory corruption in HTML
+ * CVE-2026-113037: Use after free in WebSockets
+ * CVE-2026-113038: Memory corruption in DevTools
+ * CVE-2026-113039: Use after free in Bookmarks
+ * CVE-2026-113040: Improper input validation in Proxy
+ * CVE-2026-113041: Use after free in Actor
+ * CVE-2026-113042: Use after free in Extensions
+ * CVE-2026-113043: Use after free in iOSWeb
+ * CVE-2026-113044: Use after free in V8
+ * CVE-2026-113045: Out of bounds read in Offline
+ * CVE-2026-113046: Improper input validation in Passwords
+ * CVE-2026-113047: Memory corruption in BrowserTag
+ * CVE-2026-113048: Memory corruption in DevTools
+ * CVE-2026-113049: Memory corruption in Core
+ * CVE-2026-113050: Out of bounds read in HID
+ * CVE-2026-113051: Memory corruption in CSS
+ * CVE-2026-113052: Memory corruption in V8
+ * CVE-2026-113053: Use after free in Cookies
+ * CVE-2026-113054: Out of bounds read in SiteIsolation
+ * CVE-2026-113055: Type confusion in FullScreen
+ * CVE-2026-113056: Memory corruption in PerformanceAPIs
+ * CVE-2026-113057: Improper access control in ComputePressure
+ * CVE-2026-113058: Use after free in WebUI
+ * CVE-2026-113059: Memory corruption in Sensor
+ * CVE-2026-113060: Improper input validation in Bluetooth
+ * CVE-2026-113061: Memory corruption in Chromoting
+ * CVE-2026-113062: Improper input validation in API
+ * CVE-2026-113063: Improper input validation in Chromoting
+ * CVE-2026-113064: Memory corruption in OptimizationGuide
+ * CVE-2026-113065: Use after free in Media
+ * CVE-2026-113066: Memory corruption in Fonts
+ * CVE-2026-113067: Use after free in Chromoting
+ * CVE-2026-113068: Use after free in Input
+ * CVE-2026-113069: Memory corruption in Compositing
+ * CVE-2026-113070: Out of bounds read in GetUserMedia
+ * CVE-2026-113071: Use after free in Notifications
+ * CVE-2026-113072: Memory corruption in CSS
+ * CVE-2026-113073: Use after free in Browser
+ * CVE-2026-113074: Use after free in Media
+ * CVE-2026-113075: Use after free in DevTools
+ * CVE-2026-113076: Use after free in Toolbar
+ * CVE-2026-113077: Memory corruption in Core
+ * CVE-2026-113078: Improper input validation in Compositing
+ * CVE-2026-113079: Use after free in SiteIsolation
+ * CVE-2026-113080: Use after free in WebAppInstalls
+ * CVE-2026-113081: Use after free in Compositing
+ * CVE-2026-113082: Memory corruption in ANGLE
+ * CVE-2026-113083: Memory corruption in Actor
+ * CVE-2026-113084: Improper input validation in Permissions
+ * CVE-2026-113085: Use after free in Media
+ * CVE-2026-113086: Improper input validation in Input
+ * CVE-2026-113087: Use after free in Actor
+ * CVE-2026-113088: Memory corruption in Mobile
+ * CVE-2026-113089: Improper input validation in PrintPreview
+ * CVE-2026-113090: Memory corruption in Interstitials
+ * CVE-2026-113091: Use after free in PerformanceAPIs
+ * CVE-2026-113092: Use after free in Passwords
+ * CVE-2026-113093: Memory corruption in DisplayLocking
+ * CVE-2026-113094: Memory corruption in API
+ * CVE-2026-113095: Out of bounds read in Focus
+ * CVE-2026-113096: Memory corruption in Text
+ * CVE-2026-113097: Use after free in FileSystem
+ * CVE-2026-113098: Memory corruption in CacheStorage
+ * CVE-2026-113099: Improper input validation in Omnibox
+ * CVE-2026-113100: Memory corruption in Audio
+ * CVE-2026-113101: Use after free in SiteIsolation
+ * CVE-2026-113102: Out of bounds read in FileSystem
+ * CVE-2026-113103: Use after free in WebProtect
+ * CVE-2026-113104: Memory corruption in Frames
+ * CVE-2026-113105: Use after free in Extensions
+ * CVE-2026-113106: Memory corruption in Skia
+ * CVE-2026-113107: Use after free in Media
+ * CVE-2026-113108: Use after free in Script
+ * CVE-2026-113109: Memory corruption in API
+ * CVE-2026-113110: Memory corruption in ShadowDOM
+ * CVE-2026-113111: Use after free in Compositing
+ * CVE-2026-113112: Use after free in Extensions
+ * CVE-2026-113113: Use after free in Extensions
+ * CVE-2026-113114: Use after free in SignIn
+ * CVE-2026-113115: Use after free in Transactions Platform
+ * CVE-2026-113116: Use after free in DevTools
+ * CVE-2026-113117: Improper input validation in ANGLE
+ * CVE-2026-113118: Memory corruption in Extensions
+ * CVE-2026-113119: Use after free in Network
+ * CVE-2026-113120: Improper input validation in Media
+ * CVE-2026-113121: Memory corruption in ContextMenu
+ * CVE-2026-113122: Memory corruption in Loader
+ * CVE-2026-113123: Use after free in GPU
+ * CVE-2026-113124: Memory corruption in DataTransfer
+ * CVE-2026-113125: Memory corruption in DevTools
+ * CVE-2026-113126: Memory corruption in PolicyContainer
+ * CVE-2026-113127: Memory corruption in Browser
+ * CVE-2026-113128: Missing authorization in Animation
+ * CVE-2026-113129: Improper access control in Extensions
+ * CVE-2026-113130: Use after free in Actor
+ * CVE-2026-113131: Memory corruption in Bluetooth
+ * CVE-2026-113132: Memory corruption in DevTools
+ * CVE-2026-113133: Memory corruption in PlatformIntegration
+ * CVE-2026-113134: Memory corruption in ANGLE
+ * CVE-2026-113135: Memory corruption in PictureInPicture
+ * CVE-2026-113136: Memory corruption in DevTools
+ * CVE-2026-113137: Memory corruption in Extensions
+ * CVE-2026-113138: Memory corruption in WebAppInstalls
+ * CVE-2026-113139: Memory corruption in Autofill
+ * CVE-2026-113140: Use after free in ANGLE
+ * CVE-2026-113141: Use after free in Transactions Platform
+ * CVE-2026-113142: Memory corruption in Extensions
+ * CVE-2026-113143: Memory corruption in ANGLE
+ * CVE-2026-113144: Memory corruption in Speech
+ * CVE-2026-113145: Memory corruption in Messages
+ * CVE-2026-113146: Memory corruption in PerformanceAPIs
+ * CVE-2026-113147: Improper input validation in WebShare
+ * CVE-2026-113148: Memory corruption in WebUI
+ * CVE-2026-113149: Memory corruption in FullScreen
+ * CVE-2026-113150: Memory corruption in Bindings
+ * CVE-2026-113151: Out of bounds read in Actor
+ * CVE-2026-113152: Memory corruption in SignIn
+ * CVE-2026-113153: Memory corruption in SiteIsolation
+ * CVE-2026-113154: Memory corruption in Canvas
+ * CVE-2026-113155: Use after free in Glic
+ * CVE-2026-113156: Use after free in Messages
+ * CVE-2026-113157: Information leak in ANGLE
+ * CVE-2026-113158: Use after free in Streaming
+ * CVE-2026-113159: Improper access control in DevTools
+ * CVE-2026-113160: Use after free in Turbolev
+ * CVE-2026-113161: Use after free in WebRTC
+ * CVE-2026-113162: Improper input validation in Actor
+ * CVE-2026-113163: Use after free in WebGL
+ * CVE-2026-113164: Memory corruption in Voice
+ * CVE-2026-113165: Use after free in Core
+ * CVE-2026-113166: Memory corruption in History
+ * CVE-2026-113167: Memory corruption in Network
+ * CVE-2026-113168: Use after free in Permissions
+ * CVE-2026-113169: Memory corruption in WebAppInstalls
+ * CVE-2026-113170: Use after free in Autofill
+ * CVE-2026-113171: Memory corruption in Prompts
+ * CVE-2026-113172: Memory corruption in ServiceWorker
+ * CVE-2026-113173: Improper input validation in UI
+ * CVE-2026-113174: Use after free in Extensions
+ * CVE-2026-113175: Improper input validation in FileSystem
+ * CVE-2026-113176: Memory corruption in Omnibox
+ * CVE-2026-113177: Use after free in FileSystem
+ * CVE-2026-113178: Memory corruption in Views
+ * CVE-2026-113179: Use after free in Paint
+ * CVE-2026-113180: Memory corruption in ContentCapture
+ * CVE-2026-113181: Use after free in Navigation
+ * CVE-2026-113182: Memory corruption in Passwords
+ * CVE-2026-113183: Memory corruption in FedCM
+ * CVE-2026-113184: Memory corruption in Scheduling
+ * CVE-2026-113185: Memory corruption in Extensions
+ * CVE-2026-113186: Memory corruption in DevTools
+ * CVE-2026-113187: Use after free in DOM
+ * CVE-2026-113188: Memory corruption in GPU
+ * CVE-2026-113189: Use after free in Core
+ * CVE-2026-113190: Use after free in ServiceWorker
+ * CVE-2026-113191: Use after free in Internals
+ * CVE-2026-113192: Memory corruption in V8
+ * CVE-2026-113193: Memory corruption in V8
+ * CVE-2026-113194: Memory corruption in Core
+ * CVE-2026-113195: Improper input validation in Downloads
+ * CVE-2026-113196: Improper access control in Mobile
+ * CVE-2026-113197: Use after free in Forms
+ * CVE-2026-113198: Use after free in Extensions
+ * CVE-2026-113199: Out of bounds read in Payments
+ * CVE-2026-113200: Use after free in ANGLE
+ * CVE-2026-113201: Memory corruption in Google Lens
+ * CVE-2026-113202: Use after free in BrowserTag
+ * CVE-2026-113203: Use after free in CSS
+ * CVE-2026-113204: Use after free in TrustedWebActivities
+ * CVE-2026-113205: Use after free in Variations
+ * CVE-2026-113206: Memory corruption in Omnibox
+ * CVE-2026-113207: Use after free in SiteIsolation
+ * CVE-2026-113208: Use after free in ContextualSearch
+ * CVE-2026-113209: Memory corruption in Navigation
+ * CVE-2026-113210: Use after free in ANGLE
+ * CVE-2026-113211: Memory corruption in ServiceWorker
+ * CVE-2026-113212: Memory corruption in PDF
+ * CVE-2026-113213: Memory corruption in DevTools
+ * CVE-2026-113214: Improper input validation in FullScreen
+ * CVE-2026-113215: Use after free in Extensions
+ * CVE-2026-113216: Use after free in Navigation
+ * CVE-2026-113217: Use after free in WebAppInstalls
+ * CVE-2026-113218: Use after free in DataTransfer
+ * CVE-2026-113219: Memory corruption in Contacts
+ * CVE-2026-113220: Memory corruption in Extensions
+ * CVE-2026-113221: Use after free in Google Lens
+ * CVE-2026-113222: Use after free in V8
+ * CVE-2026-113223: Memory corruption in DevTools
+ * CVE-2026-113224: Memory corruption in WebAppInstalls
+ * CVE-2026-113225: Memory corruption in Browser
+ * CVE-2026-113226: Memory corruption in Model
+ * CVE-2026-113227: Use after free in Editing
+ * CVE-2026-113228: Use after free in Network
+ * CVE-2026-113229: Use after free in Loader
+ * CVE-2026-113230: Improper input validation in Browser
+ * CVE-2026-113231: Improper input validation in Extensions
+ * CVE-2026-113232: Memory corruption in Search
+ * CVE-2026-113233: Out of bounds read in Core
+ * CVE-2026-113234: Memory corruption in ANGLE
+ * CVE-2026-113235: Improper input validation in Passwords
+ * CVE-2026-113236: Use after free in Navigation
+ * CVE-2026-113237: Memory corruption in Chromoting
+ * CVE-2026-113238: Memory corruption in CustomTabs
+ * CVE-2026-113239: Range error in SiteIsolation
+ * CVE-2026-113240: Use after free in Chromecast
+ * CVE-2026-113241: Memory corruption in Toolbar
+ * CVE-2026-113242: Memory corruption in ANGLE
+ * CVE-2026-113243: Memory corruption in DOM
+ * CVE-2026-113244: Improper input validation in UI
+ * CVE-2026-113245: Memory corruption in DevTools
+ * CVE-2026-113246: Memory corruption in iOSWebView
+ * CVE-2026-113247: Memory corruption in DevTools
+ * CVE-2026-113248: Memory corruption in FileSystem
+ * CVE-2026-113249: Improper input validation in Mobile
+ * CVE-2026-113250: Use after free in ANGLE
+ * CVE-2026-113251: Use after free in PDF
+ * CVE-2026-113252: Improper input validation in ANGLE
+ * CVE-2026-113253: Use after free in Canvas
+ * CVE-2026-113254: Memory corruption in DevTools
+ * CVE-2026-113255: Use after free in CustomTabs
+ * CVE-2026-113256: Use after free in Permissions
+ * CVE-2026-113257: Memory corruption in Media
+ * CVE-2026-113258: Memory corruption in Chromoting
+ * CVE-2026-113259: Use after free in Frames
+ * CVE-2026-113260: Memory corruption in Core
+ * CVE-2026-113261: Use after free in WebAppInstalls
+ * CVE-2026-113262: Use after free in Extensions
+ * CVE-2026-113263: Use after free in Core
+ * CVE-2026-113264: Improper input validation in Extensions
+ * CVE-2026-113265: Memory corruption in BFCache
+ * CVE-2026-113266: Memory corruption in ANGLE
+ * CVE-2026-113267: Memory corruption in Video
+ * CVE-2026-113268: Memory corruption in Navigation
+ * CVE-2026-113269: Memory corruption in BrowserTag
+ * CVE-2026-113270: Use after free in Internals
+ * CVE-2026-113271: Use after free in Accessibility
+ * CVE-2026-113272: Memory corruption in Extensions
+ * CVE-2026-113273: Memory corruption in ANGLE
+ * CVE-2026-113274: Use after free in ReadingMode
+ * CVE-2026-113275: Use after free in API
+ * CVE-2026-113276: Memory corruption in Passwords
+ * CVE-2026-113277: Out of bounds read in CustomTabs
+ * CVE-2026-113278: Use after free in Extensions
+ * CVE-2026-113279: Memory corruption in Accessibility
+ * CVE-2026-113280: Memory corruption in Paint
+ * CVE-2026-113281: Memory corruption in SiteIsolation
+ * CVE-2026-113282: Use after free in Views
+ * CVE-2026-113283: Memory corruption in CredentialProvider
+ * CVE-2026-113284: Memory corruption in XML
+ * CVE-2026-113285: Memory corruption in ANGLE
+ * CVE-2026-113286: Memory corruption in Google Lens
+ * CVE-2026-113287: Use after free in Prompts
+ * CVE-2026-113288: Memory corruption in Core
+ * CVE-2026-113289: Improper input validation in PerformanceAPIs
+ * CVE-2026-113290: Use after free in Input
+ * CVE-2026-113291: Memory corruption in FullScreen
+ * CVE-2026-113292: Improper input validation in Omnibox
+ * CVE-2026-113293: Use after free in ANGLE
+ * CVE-2026-113294: Improper input validation in Loader
+ * CVE-2026-113295: Out of bounds read in ANGLE
+ * CVE-2026-113296: Memory corruption in Actor
+ * CVE-2026-113297: Improper access control in Ozone
+ * CVE-2026-113298: Use after free in Transactions Platform
+ * CVE-2026-113299: Memory corruption in WebProtect
+ * CVE-2026-113300: Out of bounds write in Forms
+ * CVE-2026-113301: Memory corruption in WebAppInstalls
+ * CVE-2026-113302: Use after free in Extensions
+ * CVE-2026-113303: Memory corruption in WebRTC
+ * CVE-2026-113304: Memory corruption in GPU
+ * CVE-2026-113305: Use after free in Privacy
+ * CVE-2026-113306: Improper input validation in Network
+ * CVE-2026-113307: Memory corruption in Extensions
+ * CVE-2026-113308: Use after free in Core
+ * CVE-2026-113309: Out of bounds read in Media
+ * CVE-2026-113310: Out of bounds read in Bluetooth
+ * CVE-2026-113311: Use after free in ServiceWorker
+ * CVE-2026-113312: Memory corruption in Autofill
+ * CVE-2026-113313: Memory corruption in DevTools
+ * CVE-2026-113314: Use after free in Media
+ * CVE-2026-113315: Memory corruption in ANGLE
+ * CVE-2026-113316: Improper input validation in Views
+ * CVE-2026-113317: Memory corruption in Accessibility
+ * CVE-2026-113318: Memory corruption in ServiceWorker
+ * CVE-2026-113319: Use after free in Accessibility
+ * CVE-2026-113320: Memory corruption in Navigation
+ * CVE-2026-113321: Use after free in Extensions
+ * CVE-2026-113322: Memory corruption in Dawn
+ * CVE-2026-113323: Use after free in Chrome for iOS
+ * CVE-2026-113324: Use after free in GPU
+ * CVE-2026-113325: Memory corruption in SignIn
+ * CVE-2026-113326: Memory corruption in Core
+ * CVE-2026-113327: Use after free in Chromecast
+ * CVE-2026-113328: Improper input validation in Privacy
+ * CVE-2026-113329: Out of bounds read in Installer
+ * CVE-2026-113330: Memory corruption in CustomTabs
+ * CVE-2026-113331: Memory corruption in Controls
+ * CVE-2026-113332: Memory corruption in GPU
+ * CVE-2026-113333: Memory corruption in Extensions
+ * CVE-2026-113334: Improper input validation in ANGLE
+ * CVE-2026-113335: Memory corruption in Extensions
+ * CVE-2026-113336: Memory corruption in Compositing
+ * CVE-2026-113337: Memory corruption in Scroll
+ * CVE-2026-113338: Use after free in Turbolev
+ * CVE-2026-113339: Use after free in SVG
+ * CVE-2026-113340: Memory corruption in ANGLE
+ * CVE-2026-113341: Memory corruption in Skia
+ * CVE-2026-113342: Memory corruption in Network
+ * CVE-2026-113343: Memory corruption in Sandbox
+ * CVE-2026-113344: Use after free in Performance
+
* Fri Oct 16 2026 Than Ngo <than@redhat.com> - 155.0.8059.84-1
- Update to 155.0.8059.84, includes 10 security fixes
* CVE-2026-110913: Memory corruption in DOM
diff --git a/dawn-fix-ppc64le-detection.patch b/dawn-fix-ppc64le-detection.patch
index e5696eb..69e4fb2 100644
--- a/dawn-fix-ppc64le-detection.patch
+++ b/dawn-fix-ppc64le-detection.patch
@@ -1,7 +1,7 @@
-Index: chromium-150.0.7871.46/third_party/dawn/src/utils/platform.h
+Index: chromium-156.0.8078.35/third_party/dawn/src/utils/platform.h
===================================================================
---- chromium-150.0.7871.46.orig/third_party/dawn/src/utils/platform.h
-+++ chromium-150.0.7871.46/third_party/dawn/src/utils/platform.h
+--- chromium-156.0.8078.35.orig/third_party/dawn/src/utils/platform.h
++++ chromium-156.0.8078.35/third_party/dawn/src/utils/platform.h
@@ -163,10 +163,12 @@
#elif defined(__s390x__)
#define DAWN_PLATFORM_IS_S390X 1
diff --git a/disable-ai.patch b/disable-ai.patch
index c2a2376..4acb93a 100644
--- a/disable-ai.patch
+++ b/disable-ai.patch
@@ -1,26 +1,9 @@
# Disable Glic ("Gemini Live in Chrome"), ScreenAI, and associated AI-based
# features.
---- a/chrome/browser/BUILD.gn
-+++ b/chrome/browser/BUILD.gn
-@@ -2574,7 +2574,6 @@ source_set("browser") {
- "//chrome/browser/profile_resetter:impl",
- "//chrome/browser/record_replay",
- "//chrome/browser/record_replay:impl",
-- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
- "//chrome/browser/sharing_hub",
- "//chrome/browser/sharing_hub:impl",
- "//chrome/browser/smart_card",
-@@ -2623,7 +2622,6 @@ source_set("browser") {
- "//chrome/browser/ui/waap:window_metrics_manager",
- "//chrome/browser/ui/web_applications:impl",
- "//chrome/browser/ui/webui/app_service_internals",
-- "//chrome/browser/ui/webui/autofill_ml_internals",
- "//chrome/browser/ui/webui/color_pipeline_internals",
- "//chrome/browser/ui/webui/commerce",
- "//chrome/browser/ui/webui/commerce:impl",
---- a/chrome/browser/accessibility/BUILD.gn
-+++ b/chrome/browser/accessibility/BUILD.gn
+diff -up chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/accessibility/BUILD.gn 2026-10-20 17:09:47.117654483 +0200
@@ -59,7 +59,6 @@ source_set("accessibility") {
public_deps += [
"//chrome/browser/accessibility/live_caption",
@@ -45,20 +28,20 @@
- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
"//chrome/browser/ui",
"//chrome/browser/ui/browser_window",
- "//components/live_caption:live_translate",
-@@ -242,10 +238,6 @@ if (!is_android) {
- deps += [ "//chrome/browser/accessibility/live_caption:test_support" ]
+ "//chrome/browser/ui/views/frame:browser_view_header",
+@@ -246,9 +242,7 @@ if (!is_android) {
}
-- deps += [
+ deps += [
- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
+ "//chrome/browser/ui/views/frame:browser_view_header",
- "//services/screen_ai/public/cpp:utilities",
-- ]
+ ]
if (enable_screen_ai_browsertests) {
- data_deps += [ "//third_party/screen-ai:screen_ai" ]
---- a/chrome/browser/accessibility/live_caption/BUILD.gn
-+++ b/chrome/browser/accessibility/live_caption/BUILD.gn
+diff -up chromium-156.0.8078.35/chrome/browser/accessibility/live_caption/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/accessibility/live_caption/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/accessibility/live_caption/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/accessibility/live_caption/BUILD.gn 2026-10-20 17:09:47.118038780 +0200
@@ -44,7 +44,6 @@ source_set("impl") {
"//chrome/browser/accessibility",
"//chrome/browser/extensions",
@@ -67,8 +50,9 @@
"//chrome/browser/ui",
"//chrome/browser/ui/browser_window",
"//components/live_caption",
---- a/chrome/browser/accessibility/tree_fixing/BUILD.gn
-+++ b/chrome/browser/accessibility/tree_fixing/BUILD.gn
+diff -up chromium-156.0.8078.35/chrome/browser/accessibility/tree_fixing/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/accessibility/tree_fixing/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/accessibility/tree_fixing/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/accessibility/tree_fixing/BUILD.gn 2026-10-20 17:09:47.118319555 +0200
@@ -63,11 +63,9 @@ source_set("internal") {
deps = [
"//base",
@@ -81,9 +65,10 @@
- "//services/screen_ai/public/mojom",
]
}
---- a/chrome/browser/actor/actor_keyed_service.cc
-+++ b/chrome/browser/actor/actor_keyed_service.cc
-@@ -856,13 +856,6 @@ bool ActorKeyedService::IsActiveOnTab(co
+diff -up chromium-156.0.8078.35/chrome/browser/actor/actor_keyed_service.cc.disable-ai chromium-156.0.8078.35/chrome/browser/actor/actor_keyed_service.cc
+--- chromium-156.0.8078.35/chrome/browser/actor/actor_keyed_service.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/actor/actor_keyed_service.cc 2026-10-20 17:09:47.118847319 +0200
+@@ -870,13 +870,6 @@ bool ActorKeyedService::IsActiveOnTab(co
ActorTask* ActorKeyedService::GetTaskFromTab(
const tabs::TabInterface& tab) const {
@@ -97,8 +82,9 @@
return nullptr;
}
---- a/chrome/browser/browser_process.h
-+++ b/chrome/browser/browser_process.h
+diff -up chromium-156.0.8078.35/chrome/browser/browser_process.h.disable-ai chromium-156.0.8078.35/chrome/browser/browser_process.h
+--- chromium-156.0.8078.35/chrome/browser/browser_process.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/browser_process.h 2026-10-20 17:09:47.119445405 +0200
@@ -331,8 +331,6 @@ class BrowserProcess {
virtual void set_usb_system_tray_icon_for_test(
std::unique_ptr<UsbSystemTrayIcon> icon) = 0;
@@ -108,8 +94,9 @@
#endif
// Obtain the browser instance of OSCryptAsync, which should be used for data
---- a/chrome/browser/browser_process_impl.cc
-+++ b/chrome/browser/browser_process_impl.cc
+diff -up chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc.disable-ai chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc
+--- chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/browser_process_impl.cc 2026-10-20 17:09:47.120093661 +0200
@@ -85,7 +85,6 @@
#include "chrome/browser/serial/serial_policy_allowed_ports.h"
#include "chrome/browser/shell_integration.h"
@@ -131,7 +118,7 @@
#include "chrome/browser/usb/usb_status_icon.h"
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h"
#endif
-@@ -1381,12 +1378,6 @@ GlobalFeatures* BrowserProcessImpl::GetF
+@@ -1368,12 +1365,6 @@ GlobalFeatures* BrowserProcessImpl::GetF
return features_.get();
}
@@ -144,7 +131,7 @@
DownloadRequestLimiter* BrowserProcessImpl::download_request_limiter() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
-@@ -1728,11 +1719,6 @@ void BrowserProcessImpl::PreMainMessageL
+@@ -1715,11 +1706,6 @@ void BrowserProcessImpl::PreMainMessageL
soda_installer_impl_ = std::make_unique<speech::SodaInstallerImplChromeOS>();
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -156,8 +143,9 @@
base::FilePath user_data_dir;
bool result = base::PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
---- a/chrome/browser/browser_process_impl.h
-+++ b/chrome/browser/browser_process_impl.h
+diff -up chromium-156.0.8078.35/chrome/browser/browser_process_impl.h.disable-ai chromium-156.0.8078.35/chrome/browser/browser_process_impl.h
+--- chromium-156.0.8078.35/chrome/browser/browser_process_impl.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/browser_process_impl.h 2026-10-20 17:09:47.120584088 +0200
@@ -58,9 +58,6 @@ class SiteIsolationPrefsObserver;
class SystemNotificationHelper;
class StartupData;
@@ -178,7 +166,7 @@
namespace supervised_user {
class DeviceParentalControls;
-@@ -247,8 +241,6 @@ class BrowserProcessImpl : public Browse
+@@ -241,8 +235,6 @@ class BrowserProcessImpl : public Browse
UsbSystemTrayIcon* usb_system_tray_icon() override;
void set_usb_system_tray_icon_for_test(
std::unique_ptr<UsbSystemTrayIcon> icon) override;
@@ -187,7 +175,7 @@
#endif
os_crypt_async::OSCryptAsync* os_crypt_async() override;
-@@ -467,12 +459,6 @@ class BrowserProcessImpl : public Browse
+@@ -461,12 +453,6 @@ class BrowserProcessImpl : public Browse
// to ensure that SodaInstallerImpl gets destructed first.
std::unique_ptr<speech::SodaInstaller> soda_installer_impl_;
@@ -200,9 +188,29 @@
#endif
std::unique_ptr<BrowserProcessPlatformPart> platform_part_;
---- a/chrome/browser/chrome_browser_interface_binders.cc
-+++ b/chrome/browser/chrome_browser_interface_binders.cc
-@@ -90,8 +90,6 @@
+diff -up chromium-156.0.8078.35/chrome/browser/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/BUILD.gn.disable-ai 2026-10-20 17:09:46.910549833 +0200
++++ chromium-156.0.8078.35/chrome/browser/BUILD.gn 2026-10-20 17:09:47.115553053 +0200
+@@ -2605,7 +2605,6 @@ source_set("browser") {
+ "//chrome/browser/profile_resetter:impl",
+ "//chrome/browser/record_replay",
+ "//chrome/browser/record_replay:impl",
+- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
+ "//chrome/browser/sharing_hub",
+ "//chrome/browser/sharing_hub:impl",
+ "//chrome/browser/smart_card",
+@@ -2654,7 +2653,6 @@ source_set("browser") {
+ "//chrome/browser/ui/waap:window_metrics_manager",
+ "//chrome/browser/ui/web_applications:impl",
+ "//chrome/browser/ui/webui/app_service_internals",
+- "//chrome/browser/ui/webui/autofill_ml_internals",
+ "//chrome/browser/ui/webui/color_pipeline_internals",
+ "//chrome/browser/ui/webui/commerce",
+ "//chrome/browser/ui/webui/commerce:impl",
+diff -up chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders.cc.disable-ai chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders.cc
+--- chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders.cc 2026-10-20 17:09:47.120968490 +0200
+@@ -91,8 +91,6 @@
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
BUILDFLAG(IS_CHROMEOS)
@@ -211,7 +219,7 @@
#include "chrome/browser/web_applications/sub_apps/sub_apps_service_impl.h"
#endif
-@@ -382,27 +380,6 @@ void BindMediaFoundationPreferences(
+@@ -387,27 +385,6 @@ void BindMediaFoundationPreferences(
}
#endif // BUILDFLAG(IS_WIN)
@@ -239,7 +247,7 @@
void BindModelBroker(
content::RenderFrameHost* frame_host,
-@@ -576,10 +553,6 @@ void PopulateChromeFrameBinders(
+@@ -579,10 +556,6 @@ void PopulateChromeFrameBinders(
&web_app::SubAppsServiceImpl::CreateIfAllowed);
}
@@ -250,9 +258,10 @@
#endif
#if BUILDFLAG(IS_WIN)
---- a/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc
-+++ b/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc
-@@ -527,9 +527,6 @@ void PopulateChromeWebUIFrameBindersPart
+diff -up chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc.disable-ai chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc
+--- chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc 2026-10-20 17:09:47.121399478 +0200
+@@ -456,9 +456,6 @@ void PopulateChromeWebUIFrameBindersPart
::mojom::app_service_internals::AppServiceInternalsPageHandler,
AppServiceInternalsUI>(map);
@@ -262,9 +271,10 @@
RegisterWebUIControllerInterfaceBinder<
access_code_cast::mojom::PageHandlerFactory,
---- a/chrome/browser/chrome_content_browser_client.cc
-+++ b/chrome/browser/chrome_content_browser_client.cc
-@@ -5591,9 +5591,6 @@ ChromeContentBrowserClient::CreateCommit
+diff -up chromium-156.0.8078.35/chrome/browser/chrome_content_browser_client.cc.disable-ai chromium-156.0.8078.35/chrome/browser/chrome_content_browser_client.cc
+--- chromium-156.0.8078.35/chrome/browser/chrome_content_browser_client.cc.disable-ai 2026-10-20 17:09:46.915549911 +0200
++++ chromium-156.0.8078.35/chrome/browser/chrome_content_browser_client.cc 2026-10-20 17:09:47.122250321 +0200
+@@ -5686,9 +5686,6 @@ ChromeContentBrowserClient::CreateCommit
&conditions);
#endif
@@ -274,9 +284,10 @@
return conditions;
}
---- a/chrome/browser/component_updater/BUILD.gn
-+++ b/chrome/browser/component_updater/BUILD.gn
-@@ -228,13 +228,6 @@ source_set("impl") {
+diff -up chromium-156.0.8078.35/chrome/browser/component_updater/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/component_updater/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/component_updater/BUILD.gn.disable-ai 2026-10-20 17:09:46.918035707 +0200
++++ chromium-156.0.8078.35/chrome/browser/component_updater/BUILD.gn 2026-10-20 17:09:47.123077844 +0200
+@@ -225,13 +225,6 @@ source_set("impl") {
]
}
@@ -290,9 +301,10 @@
if (use_minikin_hyphenation) {
sources += [ "hyphenation_component_installer.cc" ]
---- a/chrome/browser/component_updater/registration.cc
-+++ b/chrome/browser/component_updater/registration.cc
-@@ -65,8 +65,6 @@
+diff -up chromium-156.0.8078.35/chrome/browser/component_updater/registration.cc.disable-ai chromium-156.0.8078.35/chrome/browser/component_updater/registration.cc
+--- chromium-156.0.8078.35/chrome/browser/component_updater/registration.cc.disable-ai 2026-10-20 17:09:46.794353663 +0200
++++ chromium-156.0.8078.35/chrome/browser/component_updater/registration.cc 2026-10-20 17:09:47.123234894 +0200
+@@ -64,8 +64,6 @@
#if BUILDFLAG(IS_ANDROID)
#include "chrome/browser/component_updater/real_time_url_checks_allowlist_component_installer.h"
@@ -301,7 +313,7 @@
#endif // BUILDFLAG(IS_ANDROID)
#if !BUILDFLAG(IS_ANDROID)
-@@ -207,9 +205,6 @@ void RegisterComponentsForUpdate() {
+@@ -202,9 +200,6 @@ void RegisterComponentsForUpdate() {
RegisterRealTimeUrlChecksAllowlistComponent(cus);
#endif // BUIDLFLAG(IS_ANDROID)
@@ -311,9 +323,10 @@
RegisterCommerceHeuristicsComponent(cus);
---- a/chrome/browser/glic/glic_selection_observer.cc
-+++ b/chrome/browser/glic/glic_selection_observer.cc
-@@ -1256,20 +1256,6 @@ void GlicSelectionObserver::OnAskGeminiW
+diff -up chromium-156.0.8078.35/chrome/browser/glic/glic_selection_observer.cc.disable-ai chromium-156.0.8078.35/chrome/browser/glic/glic_selection_observer.cc
+--- chromium-156.0.8078.35/chrome/browser/glic/glic_selection_observer.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/glic/glic_selection_observer.cc 2026-10-20 17:09:47.123658022 +0200
+@@ -1269,20 +1269,6 @@ void GlicSelectionObserver::OnAskGeminiW
}
std::string skill_prompt;
@@ -334,7 +347,7 @@
if (skill_prompt.empty()) {
Profile* profile =
-@@ -1290,28 +1276,6 @@ void GlicSelectionObserver::OnAskGeminiW
+@@ -1303,28 +1289,6 @@ void GlicSelectionObserver::OnAskGeminiW
std::vector<GlicSelectionWidgetDelegate::SkillOption>
GlicSelectionObserver::GetContextualSkills() {
std::vector<GlicSelectionWidgetDelegate::SkillOption> result;
@@ -363,8 +376,9 @@
return result;
}
---- a/chrome/browser/glic/host/glic_skills_manager_impl.cc
-+++ b/chrome/browser/glic/host/glic_skills_manager_impl.cc
+diff -up chromium-156.0.8078.35/chrome/browser/glic/host/glic_skills_manager_impl.cc.disable-ai chromium-156.0.8078.35/chrome/browser/glic/host/glic_skills_manager_impl.cc
+--- chromium-156.0.8078.35/chrome/browser/glic/host/glic_skills_manager_impl.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/glic/host/glic_skills_manager_impl.cc 2026-10-20 17:09:47.124113166 +0200
@@ -504,39 +504,6 @@ bool GlicSkillsClientSession::Require1PS
void GlicSkillsClientSession::UpdateSkillPreviews(
@@ -405,8 +419,9 @@
}
void GlicSkillsClientSession::NotifyContextualSkillsChanged(
---- a/chrome/browser/navigation_predictor/navigation_predictor.cc
-+++ b/chrome/browser/navigation_predictor/navigation_predictor.cc
+diff -up chromium-156.0.8078.35/chrome/browser/navigation_predictor/navigation_predictor.cc.disable-ai chromium-156.0.8078.35/chrome/browser/navigation_predictor/navigation_predictor.cc
+--- chromium-156.0.8078.35/chrome/browser/navigation_predictor/navigation_predictor.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/navigation_predictor/navigation_predictor.cc 2026-10-20 17:09:47.124547431 +0200
@@ -18,8 +18,6 @@
#include "base/time/default_tick_clock.h"
#include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service.h"
@@ -508,9 +523,10 @@
}
void NavigationPredictor::SetModelScoreCallbackForTesting(
---- a/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc
-+++ b/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc
-@@ -120,63 +120,6 @@ PageContentAnnotationsServiceFactory::~P
+diff -up chromium-156.0.8078.35/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc.disable-ai chromium-156.0.8078.35/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc
+--- chromium-156.0.8078.35/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc 2026-10-20 17:09:47.124907010 +0200
+@@ -120,62 +120,6 @@ PageContentAnnotationsServiceFactory::~P
std::unique_ptr<KeyedService>
PageContentAnnotationsServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const {
@@ -565,8 +581,7 @@
- service->SetPageCategoryClassifierBridge(
- std::make_unique<
- page_content_annotations::PageCategoryClassifierBridgeImpl>(
-- *page_embeddings_service, *category_classifier,
-- optimization_guide_keyed_service->GetOptimizationGuideLogger()));
+- *page_embeddings_service, *category_classifier));
- }
-
- return service;
@@ -574,8 +589,9 @@
return nullptr;
}
---- a/chrome/browser/password_manager/password_change_delegate_impl.cc
-+++ b/chrome/browser/password_manager/password_change_delegate_impl.cc
+diff -up chromium-156.0.8078.35/chrome/browser/password_manager/password_change_delegate_impl.cc.disable-ai chromium-156.0.8078.35/chrome/browser/password_manager/password_change_delegate_impl.cc
+--- chromium-156.0.8078.35/chrome/browser/password_manager/password_change_delegate_impl.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/password_manager/password_change_delegate_impl.cc 2026-10-20 17:09:47.125266785 +0200
@@ -342,12 +342,6 @@ void PasswordChangeDelegateImpl::StartPa
&PasswordChangeDelegateImpl::OnLoginStateCheckedWithoutPIResult,
weak_ptr_factory_.GetWeakPtr()));
@@ -589,20 +605,23 @@
}
void PasswordChangeDelegateImpl::OnLoginStateCheckedWithoutPIResult(
---- a/chrome/browser/pdf/BUILD.gn
-+++ b/chrome/browser/pdf/BUILD.gn
-@@ -247,9 +247,6 @@ if (!is_android) {
+diff -up chromium-156.0.8078.35/chrome/browser/pdf/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/pdf/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/pdf/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/pdf/BUILD.gn 2026-10-20 17:09:47.125608663 +0200
+@@ -251,10 +251,7 @@ if (!is_android) {
deps += [
"//chrome/browser/download:test_support",
"//chrome/browser/permissions",
- "//chrome/browser/screen_ai:screen_ai_install_state",
- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
+ "//chrome/browser/ui:browser_manager_service",
- "//services/screen_ai/public/cpp:utilities",
"//ui/accessibility:test_support",
]
---- a/chrome/browser/pdf/pdf_extension_util.cc
-+++ b/chrome/browser/pdf/pdf_extension_util.cc
+diff -up chromium-156.0.8078.35/chrome/browser/pdf/pdf_extension_util.cc.disable-ai chromium-156.0.8078.35/chrome/browser/pdf/pdf_extension_util.cc
+--- chromium-156.0.8078.35/chrome/browser/pdf/pdf_extension_util.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/pdf/pdf_extension_util.cc 2026-10-20 17:09:47.125931368 +0200
@@ -142,7 +142,6 @@ base::DictValue GetPdfViewerStrings() {
{"rotationStateLabel90", IDS_PDF_ROTATION_STATE_LABEL_90},
{"rotationStateLabel180", IDS_PDF_ROTATION_STATE_LABEL_180},
@@ -611,9 +630,10 @@
{"sidebarLabel", IDS_PDF_SIDEBAR_LABEL},
{"thumbnailPageAriaLabel", IDS_PDF_THUMBNAIL_PAGE_ARIA_LABEL},
{"tooltipAttachments", IDS_PDF_TOOLTIP_ATTACHMENTS},
---- a/chrome/browser/permissions/BUILD.gn
-+++ b/chrome/browser/permissions/BUILD.gn
-@@ -43,12 +43,6 @@ source_set("permissions") {
+diff -up chromium-156.0.8078.35/chrome/browser/permissions/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/permissions/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/permissions/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/permissions/BUILD.gn 2026-10-20 17:09:47.126341654 +0200
+@@ -45,12 +45,6 @@ source_set("permissions") {
"prediction_service/language_detection_observer.h",
"prediction_service/passage_embedder_delegate.cc",
"prediction_service/passage_embedder_delegate.h",
@@ -626,8 +646,9 @@
"prediction_service/prediction_service_factory.cc",
"prediction_service/prediction_service_factory.h",
"prediction_service/prediction_service_request.cc",
---- a/chrome/browser/permissions/chrome_permissions_client.cc
-+++ b/chrome/browser/permissions/chrome_permissions_client.cc
+diff -up chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_client.cc.disable-ai chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_client.cc
+--- chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_client.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/permissions/chrome_permissions_client.cc 2026-10-20 17:09:47.126790464 +0200
@@ -32,7 +32,6 @@
#include "chrome/browser/permissions/permission_actions_history_factory.h"
#include "chrome/browser/permissions/permission_decision_auto_blocker_factory.h"
@@ -636,7 +657,7 @@
#include "chrome/browser/permissions/pref_based_quiet_permission_ui_selector.h"
#include "chrome/browser/permissions/quiet_notification_permission_ui_config.h"
#include "chrome/browser/permissions/system/system_permission_settings.h"
-@@ -553,8 +552,6 @@ ChromePermissionsClient::CreatePermissio
+@@ -554,8 +553,6 @@ ChromePermissionsClient::CreatePermissio
#endif
selectors.emplace_back(std::make_unique<PrefBasedQuietPermissionUiSelector>(
Profile::FromBrowserContext(browser_context)));
@@ -645,7 +666,7 @@
return selectors;
}
-@@ -576,8 +573,6 @@ void ChromePermissionsClient::OnPromptRe
+@@ -577,8 +574,6 @@ void ChromePermissionsClient::OnPromptRe
Profile* profile =
Profile::FromBrowserContext(web_contents->GetBrowserContext());
@@ -654,8 +675,9 @@
if (request_type == permissions::RequestType::kNotifications) {
if (action == permissions::PermissionAction::GRANTED &&
---- a/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc
-+++ b/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc
+diff -up chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc.disable-ai chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc
+--- chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/passage_embedder_delegate.cc 2026-10-20 17:09:47.127337631 +0200
@@ -26,18 +26,6 @@ PassageEmbedderDelegate::PassageEmbedder
: profile_(profile) {}
@@ -675,9 +697,10 @@
PermissionUmaUtil::RecordPassageEmbedderMetadataValid(false);
return nullptr;
}
---- a/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc
-+++ b/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc
-@@ -812,7 +812,7 @@ void PermissionsAiUiSelector::ExecuteOnD
+diff -up chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc.disable-ai chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc
+--- chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/permissions/prediction_service/permissions_ai_ui_selector.cc 2026-10-20 17:09:47.127753162 +0200
+@@ -810,7 +810,7 @@ void PermissionsAiUiSelector::ExecuteOnD
ModelExecutionData model_data) {
VLOG(1) << "[PermissionsAI] ExecuteOnDeviceAivXModel";
PredictionModelHandlerProvider* prediction_model_handler_provider =
@@ -686,19 +709,10 @@
if (prediction_model_handler_provider) {
permissions::RequestType request_type =
model_data.request_metadata.request_type;
---- a/chrome/browser/prefs/BUILD.gn
-+++ b/chrome/browser/prefs/BUILD.gn
-@@ -388,7 +388,6 @@ source_set("impl") {
- "//chrome/browser/desktop_to_mobile_promos:utils",
- "//chrome/browser/device_identity",
- "//chrome/browser/new_tab_page",
-- "//chrome/browser/screen_ai:prefs",
- "//chrome/browser/search_engine_choice",
- "//chrome/browser/search_engines",
- "//chrome/browser/sharing_hub",
---- a/chrome/browser/prefs/browser_prefs.cc
-+++ b/chrome/browser/prefs/browser_prefs.cc
-@@ -1680,9 +1680,6 @@ void RegisterLocalState(PrefRegistrySimp
+diff -up chromium-156.0.8078.35/chrome/browser/prefs/browser_prefs.cc.disable-ai chromium-156.0.8078.35/chrome/browser/prefs/browser_prefs.cc
+--- chromium-156.0.8078.35/chrome/browser/prefs/browser_prefs.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/prefs/browser_prefs.cc 2026-10-20 17:09:47.129034282 +0200
+@@ -1788,9 +1788,6 @@ void RegisterLocalState(PrefRegistrySimp
DeviceOAuth2TokenStoreDesktop::RegisterPrefs(registry);
#endif
@@ -708,9 +722,21 @@
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_ANDROID)
PlatformAuthPolicyObserver::RegisterPrefs(registry);
---- a/chrome/browser/profiles/BUILD.gn
-+++ b/chrome/browser/profiles/BUILD.gn
-@@ -911,7 +911,6 @@ source_set("profiles_extra_parts_impl")
+diff -up chromium-156.0.8078.35/chrome/browser/prefs/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/prefs/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/prefs/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/prefs/BUILD.gn 2026-10-20 17:09:47.128291911 +0200
+@@ -389,7 +389,6 @@ source_set("impl") {
+ "//chrome/browser/desktop_to_mobile_promos:utils",
+ "//chrome/browser/device_identity",
+ "//chrome/browser/new_tab_page",
+- "//chrome/browser/screen_ai:prefs",
+ "//chrome/browser/search_engine_choice",
+ "//chrome/browser/search_engines",
+ "//chrome/browser/sharing_hub",
+diff -up chromium-156.0.8078.35/chrome/browser/profiles/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/profiles/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/profiles/BUILD.gn.disable-ai 2026-10-20 17:09:46.920803931 +0200
++++ chromium-156.0.8078.35/chrome/browser/profiles/BUILD.gn 2026-10-20 17:09:47.129488889 +0200
+@@ -915,7 +915,6 @@ source_set("profiles_extra_parts_impl")
} else {
deps += [
"//chrome/browser/accessibility/phrase_segmentation",
@@ -718,7 +744,7 @@
"//chrome/browser/apps/app_service",
"//chrome/browser/autofill",
"//chrome/browser/badging",
-@@ -926,7 +925,6 @@ source_set("profiles_extra_parts_impl")
+@@ -930,7 +929,6 @@ source_set("profiles_extra_parts_impl")
"//chrome/browser/profile_resetter",
"//chrome/browser/record_replay",
"//chrome/browser/record_replay:impl",
@@ -726,9 +752,10 @@
"//chrome/browser/search",
"//chrome/browser/search_engine_choice",
"//chrome/browser/sharing_hub",
---- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
-+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
-@@ -135,7 +135,6 @@
+diff -up chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.disable-ai chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+--- chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.disable-ai 2026-10-20 17:09:46.921544684 +0200
++++ chromium-156.0.8078.35/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc 2026-10-20 17:09:47.132022027 +0200
+@@ -134,7 +134,6 @@
#include "chrome/browser/metrics/profile_metrics_service_factory.h"
#include "chrome/browser/metrics/variations/google_groups_manager_factory.h"
#include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h"
@@ -744,7 +771,7 @@
#include "chrome/browser/search/instant_service_factory.h"
#include "chrome/browser/search_engine_choice/search_engine_choice_dialog_service_factory.h"
#include "chrome/browser/speech/speech_recognition_client_browser_interface_factory.h"
-@@ -1190,7 +1188,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1185,7 +1183,6 @@ void ChromeBrowserMainExtraPartsProfiles
#if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI)
net::ServerCertificateDatabaseServiceFactory::GetInstance();
#endif
@@ -752,7 +779,7 @@
#if BUILDFLAG(ENABLE_DICE_SUPPORT)
HistorySyncOptinServiceFactory::GetInstance();
ProfileManagementDisclaimerServiceFactory::GetInstance();
-@@ -1253,9 +1250,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1248,9 +1245,6 @@ void ChromeBrowserMainExtraPartsProfiles
// TODO(b/502297163): Implement for Android.
OneTimePermissionsTrackerFactory::GetInstance();
#endif
@@ -761,8 +788,8 @@
- }
OptimizationGuideGlobalStateHolderKeyedServiceFactory::GetInstance();
OptimizationGuideKeyedServiceFactory::GetInstance();
- OriginKeyedPermissionActionServiceFactory::GetInstance();
-@@ -1354,7 +1348,6 @@ void ChromeBrowserMainExtraPartsProfiles
+ origin_gating::OriginGatingServiceFactory::GetInstance();
+@@ -1348,7 +1342,6 @@ void ChromeBrowserMainExtraPartsProfiles
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
policy::UserPolicyOidcSigninServiceFactory::GetInstance();
#endif
@@ -770,7 +797,7 @@
PredictionServiceFactory::GetInstance();
predictors::AutocompleteActionPredictorFactory::GetInstance();
predictors::LoadingPredictorFactory::GetInstance();
-@@ -1438,10 +1431,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1431,10 +1424,6 @@ void ChromeBrowserMainExtraPartsProfiles
SafetyHubMenuNotificationServiceFactory::GetInstance();
#if !BUILDFLAG(IS_ANDROID)
SafetyHubHatsServiceFactory::GetInstance();
@@ -781,7 +808,7 @@
#endif
#if BUILDFLAG(IS_CHROMEOS)
if (ash::features::IsScannerEnabled()) {
-@@ -1565,7 +1554,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1558,7 +1547,6 @@ void ChromeBrowserMainExtraPartsProfiles
TopSitesFactory::GetInstance();
translate::TranslateRankerFactory::GetInstance();
#if !BUILDFLAG(IS_ANDROID)
@@ -789,9 +816,10 @@
TriggeredProfileResetterFactory::GetInstance();
#endif
ttc::TtcKeyedServiceFactory::GetInstance();
---- a/chrome/browser/profiles/off_the_record_profile_impl.cc
-+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
-@@ -225,11 +225,6 @@ void OffTheRecordProfileImpl::Init() {
+diff -up chromium-156.0.8078.35/chrome/browser/profiles/off_the_record_profile_impl.cc.disable-ai chromium-156.0.8078.35/chrome/browser/profiles/off_the_record_profile_impl.cc
+--- chromium-156.0.8078.35/chrome/browser/profiles/off_the_record_profile_impl.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/profiles/off_the_record_profile_impl.cc 2026-10-20 17:09:47.132825618 +0200
+@@ -229,11 +229,6 @@ void OffTheRecordProfileImpl::Init() {
// AccessibilityLabelsService has a default prefs behavior in incognito.
AccessibilityLabelsService::InitOffTheRecordPrefs(this);
@@ -803,8 +831,9 @@
// The ad service might not be available for some irregular profiles, like the
// System Profile.
---- a/chrome/browser/profiles/profile_impl.cc
-+++ b/chrome/browser/profiles/profile_impl.cc
+diff -up chromium-156.0.8078.35/chrome/browser/profiles/profile_impl.cc.disable-ai chromium-156.0.8078.35/chrome/browser/profiles/profile_impl.cc
+--- chromium-156.0.8078.35/chrome/browser/profiles/profile_impl.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/profiles/profile_impl.cc 2026-10-20 17:09:47.133708564 +0200
@@ -923,11 +923,6 @@ void ProfileImpl::DoFinalInit(CreateMode
// The password settings service needs to start listening to settings
// changes from Google Mobile Services, as early as possible.
@@ -817,8 +846,9 @@
#endif // BUILDFLAG(IS_ANDROID)
// The announcement notification service might not be available for some
---- a/chrome/browser/profiles/profile_manager.cc
-+++ b/chrome/browser/profiles/profile_manager.cc
+diff -up chromium-156.0.8078.35/chrome/browser/profiles/profile_manager.cc.disable-ai chromium-156.0.8078.35/chrome/browser/profiles/profile_manager.cc
+--- chromium-156.0.8078.35/chrome/browser/profiles/profile_manager.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/profiles/profile_manager.cc 2026-10-20 17:09:47.134733395 +0200
@@ -51,7 +51,6 @@
#include "chrome/browser/buildflags.h"
#include "chrome/browser/lifetime/application_lifetime.h"
@@ -827,7 +857,7 @@
#include "chrome/browser/prefs/incognito_mode_prefs.h"
#include "chrome/browser/profiles/delete_profile_helper.h"
#include "chrome/browser/profiles/keep_alive/profile_keep_alive_types.h"
-@@ -1610,9 +1609,6 @@ void ProfileManager::DoFinalInitForServi
+@@ -1603,9 +1602,6 @@ void ProfileManager::DoFinalInitForServi
// Ensure NavigationPredictorKeyedService is started.
NavigationPredictorKeyedServiceFactory::GetForProfile(profile);
@@ -837,8 +867,9 @@
IdentityManagerFactory::GetForProfile(profile)->OnNetworkInitialized();
AccountReconcilorFactory::GetForProfile(profile);
#if BUILDFLAG(IS_ANDROID)
---- a/chrome/browser/resources/pdf/pdf_viewer.html
-+++ b/chrome/browser/resources/pdf/pdf_viewer.html
+diff -up chromium-156.0.8078.35/chrome/browser/resources/pdf/pdf_viewer.html.disable-ai chromium-156.0.8078.35/chrome/browser/resources/pdf/pdf_viewer.html
+--- chromium-156.0.8078.35/chrome/browser/resources/pdf/pdf_viewer.html.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/resources/pdf/pdf_viewer.html 2026-10-20 17:09:47.136247873 +0200
@@ -102,10 +102,6 @@ import {AnnotationMode} from './constant
</cr-page-selector>
` : ''}
@@ -850,8 +881,9 @@
</div>
${this.showErrorDialog ? html`<viewer-error-dialog id="error-dialog">
---- a/chrome/browser/skills/BUILD.gn
-+++ b/chrome/browser/skills/BUILD.gn
+diff -up chromium-156.0.8078.35/chrome/browser/skills/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/skills/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/skills/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/skills/BUILD.gn 2026-10-20 17:09:47.136620563 +0200
@@ -62,13 +62,9 @@ source_set("public") {
source_set("ui") {
sources = [
@@ -866,8 +898,9 @@
"skills_ui_window_controller.cc",
]
}
---- a/chrome/browser/speech/chrome_speech_recognition_service.cc
-+++ b/chrome/browser/speech/chrome_speech_recognition_service.cc
+diff -up chromium-156.0.8078.35/chrome/browser/speech/chrome_speech_recognition_service.cc.disable-ai chromium-156.0.8078.35/chrome/browser/speech/chrome_speech_recognition_service.cc
+--- chromium-156.0.8078.35/chrome/browser/speech/chrome_speech_recognition_service.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/speech/chrome_speech_recognition_service.cc 2026-10-20 17:09:47.137036664 +0200
@@ -59,18 +59,6 @@ ChromeSpeechRecognitionService::ChromeSp
soda_installer_observer_.Observe(soda_installer);
}
@@ -930,8 +963,9 @@
BindSodaRecognizer(std::move(receiver), std::move(client), std::move(options),
std::move(callback));
---- a/chrome/browser/speech/speech_recognition_client_browser_interface.cc
-+++ b/chrome/browser/speech/speech_recognition_client_browser_interface.cc
+diff -up chromium-156.0.8078.35/chrome/browser/speech/speech_recognition_client_browser_interface.cc.disable-ai chromium-156.0.8078.35/chrome/browser/speech/speech_recognition_client_browser_interface.cc
+--- chromium-156.0.8078.35/chrome/browser/speech/speech_recognition_client_browser_interface.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/speech/speech_recognition_client_browser_interface.cc 2026-10-20 17:09:47.137351352 +0200
@@ -67,15 +67,6 @@ SpeechRecognitionClientBrowserInterface:
if (speech::SodaInstaller::GetInstance()) {
soda_installer_observation_.Observe(speech::SodaInstaller::GetInstance());
@@ -1000,9 +1034,10 @@
} else {
if (speech::SodaInstaller::GetInstance()) {
is_installed = speech::SodaInstaller::GetInstance()->IsSodaInstalled(
---- a/chrome/browser/ui/BUILD.gn
-+++ b/chrome/browser/ui/BUILD.gn
-@@ -1666,7 +1666,6 @@ static_library("ui") {
+diff -up chromium-156.0.8078.35/chrome/browser/ui/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/ui/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/ui/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/BUILD.gn 2026-10-20 17:09:47.138284584 +0200
+@@ -2438,7 +2438,6 @@ static_library("ui") {
"//chrome/browser/lens/region_search",
"//chrome/browser/reading_list",
"//chrome/browser/safe_browsing",
@@ -1010,7 +1045,7 @@
"//chrome/browser/smart_card",
"//chrome/browser/support_tool",
"//chrome/browser/tab_group_sync:utils",
-@@ -3122,7 +3121,6 @@ static_library("ui") {
+@@ -3934,7 +3933,6 @@ static_library("ui") {
"//chrome/browser/ui/views/zoom",
"//chrome/browser/ui/webauthn:impl",
"//chrome/browser/ui/webui/app_service_internals",
@@ -1018,8 +1053,9 @@
"//chrome/browser/ui/webui/side_panel/customize_chrome",
"//chrome/browser/ui/window_metadata",
"//chrome/browser/ui/window_name_prompt",
---- a/chrome/browser/ui/pdf/BUILD.gn
-+++ b/chrome/browser/ui/pdf/BUILD.gn
+diff -up chromium-156.0.8078.35/chrome/browser/ui/pdf/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/ui/pdf/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/ui/pdf/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/pdf/BUILD.gn 2026-10-20 17:09:47.138822519 +0200
@@ -6,7 +6,6 @@ import("//pdf/features.gni")
import("//services/screen_ai/buildflags/features.gni")
@@ -1036,9 +1072,10 @@
"//chrome/browser/ui/tab_contents",
"//chrome/browser/ui/user_education",
"//chrome/common",
---- a/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc
-+++ b/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc
-@@ -189,22 +189,3 @@ void ChromePDFDocumentHelperClient::SetP
+diff -up chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc
+--- chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc 2026-10-20 17:09:47.139120273 +0200
+@@ -229,22 +229,3 @@ void ChromePDFDocumentHelperClient::SetP
}
}
@@ -1061,8 +1098,9 @@
- tab_subscriptions_.push_back(tab->RegisterWillDeactivate(
- base::BindRepeating(&MaybeHideSearchifyFeaturePromo)));
-}
---- a/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h
-+++ b/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h
+diff -up chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h.disable-ai chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h
+--- chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.h 2026-10-20 17:09:47.139286624 +0200
@@ -32,7 +32,6 @@ class ChromePDFDocumentHelperClient : pu
void OnSaveURL() override;
void SetPluginCanSave(content::RenderFrameHost& render_frame_host,
@@ -1071,11 +1109,12 @@
void OnPdfTextExtracted(content::GlobalRenderFrameHostId render_frame_host_id,
const std::u16string& text);
---- a/chrome/browser/ui/tabs/public/tab_features.h
-+++ b/chrome/browser/ui/tabs/public/tab_features.h
-@@ -173,12 +173,6 @@ namespace webapps {
- class AppBannerManagerDesktop;
- } // namespace webapps
+diff -up chromium-156.0.8078.35/chrome/browser/ui/tabs/public/tab_features.h.disable-ai chromium-156.0.8078.35/chrome/browser/ui/tabs/public/tab_features.h
+--- chromium-156.0.8078.35/chrome/browser/ui/tabs/public/tab_features.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/tabs/public/tab_features.h 2026-10-20 17:09:47.139705738 +0200
+@@ -220,12 +220,6 @@ namespace web_app {
+ class WindowManagementContentSettingObserver;
+ } // namespace web_app
-#if !BUILDFLAG(IS_ANDROID)
-namespace skills {
@@ -1086,7 +1125,7 @@
namespace sync_sessions {
class SyncSessionsRouterTabHelper;
} // namespace sync_sessions
-@@ -691,10 +685,6 @@ class TabFeatures {
+@@ -779,10 +773,6 @@ class TabFeatures {
std::unique_ptr<contextual_tasks::ContextualTasksTabVisitTracker>
contextual_tasks_tab_visit_tracker_;
@@ -1094,12 +1133,13 @@
- std::unique_ptr<skills::SkillsUpdateObserver> skills_update_observer_;
-#endif // !BUILDFLAG(IS_ANDROID)
-
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
- BUILDFLAG(IS_CHROMEOS)
- std::unique_ptr<enterprise_reporting::SaasUsageNavigationObserver>
---- a/chrome/browser/ui/tabs/tab_features.cc
-+++ b/chrome/browser/ui/tabs/tab_features.cc
-@@ -441,11 +441,6 @@ void TabFeatures::Init(TabInterface& tab
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+ std::unique_ptr<metrics::DesktopSessionDurationObserver>
+ desktop_session_duration_observer_;
+diff -up chromium-156.0.8078.35/chrome/browser/ui/tabs/tab_features.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/tabs/tab_features.cc
+--- chromium-156.0.8078.35/chrome/browser/ui/tabs/tab_features.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/tabs/tab_features.cc 2026-10-20 17:09:47.140387632 +0200
+@@ -506,11 +506,6 @@ void TabFeatures::Init(TabInterface& tab
GetUserDataFactory().CreateInstance<actor::ui::ActorUiTabController>(
tab, tab, actor::ActorKeyedService::Get(profile));
}
@@ -1111,7 +1151,7 @@
} // IsInNormalWindow() end.
if (base::FeatureList::IsEnabled(features::kGlicActor)) {
-@@ -719,10 +714,6 @@ void TabFeatures::Init(TabInterface& tab
+@@ -814,10 +809,6 @@ void TabFeatures::Init(TabInterface& tab
}
#endif
@@ -1122,9 +1162,10 @@
if (base::FeatureList::IsEnabled(features::kIndigo)) {
indigo_page_action_controller_ =
std::make_unique<indigo::IndigoPageActionController>(
---- a/chrome/browser/ui/views/user_education/browser_user_education_service.cc
-+++ b/chrome/browser/ui/views/user_education/browser_user_education_service.cc
-@@ -1081,40 +1081,6 @@ void MaybeRegisterChromeFeaturePromos(
+diff -up chromium-156.0.8078.35/chrome/browser/ui/views/user_education/browser_user_education_service.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/views/user_education/browser_user_education_service.cc
+--- chromium-156.0.8078.35/chrome/browser/ui/views/user_education/browser_user_education_service.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/views/user_education/browser_user_education_service.cc 2026-10-20 17:09:47.141124695 +0200
+@@ -1082,40 +1082,6 @@ void MaybeRegisterChromeFeaturePromos(
"Triggered when the PDF Viewer opens.")));
#endif // BUILDFLAG(ENABLE_PDF_INK2)
@@ -1165,8 +1206,9 @@
// kIPHLensOverlayFeature:
registry.RegisterFeature(std::move(
---- a/chrome/browser/ui/webui/BUILD.gn
-+++ b/chrome/browser/ui/webui/BUILD.gn
+diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/ui/webui/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/webui/BUILD.gn 2026-10-20 17:09:47.141678392 +0200
@@ -114,7 +114,6 @@ source_set("configs") {
"//chrome/browser/actor/ui:actor_overlay_web_view",
"//chrome/browser/ui/webui/access_code_cast",
@@ -1174,10 +1216,11 @@
- "//chrome/browser/ui/webui/autofill_ml_internals",
"//chrome/browser/ui/webui/color_pipeline_internals",
"//chrome/browser/ui/webui/critical_actions",
- "//chrome/browser/ui/webui/history",
---- a/chrome/browser/ui/webui/chrome_web_ui_configs.cc
-+++ b/chrome/browser/ui/webui/chrome_web_ui_configs.cc
-@@ -353,7 +353,6 @@ void RegisterChromeWebUIConfigs() {
+ "//chrome/browser/ui/webui/infobar_internals",
+diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/chrome_web_ui_configs.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/chrome_web_ui_configs.cc
+--- chromium-156.0.8078.35/chrome/browser/ui/webui/chrome_web_ui_configs.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/webui/chrome_web_ui_configs.cc 2026-10-20 17:09:47.142058709 +0200
+@@ -354,7 +354,6 @@ void RegisterChromeWebUIConfigs() {
map.AddWebUIConfig(std::make_unique<media_router::AccessCodeCastUIConfig>());
map.AddWebUIConfig(std::make_unique<actor::ui::ActorOverlayUIConfig>());
map.AddWebUIConfig(std::make_unique<AppServiceInternalsUIConfig>());
@@ -1185,26 +1228,9 @@
map.AddWebUIConfig(std::make_unique<BookmarksSidePanelUIConfig>());
map.AddWebUIConfig(std::make_unique<BookmarksUIConfig>());
map.AddWebUIConfig(std::make_unique<ColorPipelineInternalsUIConfig>());
---- a/chrome/browser/ui/webui/settings/BUILD.gn
-+++ b/chrome/browser/ui/webui/settings/BUILD.gn
-@@ -62,7 +62,6 @@ source_set("settings") {
- "//chrome/browser/permissions/system",
- "//chrome/browser/profile_resetter",
- "//chrome/browser/profiles:profile",
-- "//chrome/browser/screen_ai:screen_ai_install_state",
- "//chrome/browser/themes",
- "//chrome/browser/ui/safety_hub",
- "//chrome/browser/ui/search_engines",
-@@ -669,7 +668,6 @@ if (!is_android) {
- ]
- deps += [
- "//chrome/browser/profiles",
-- "//chrome/browser/screen_ai:screen_ai_install_state",
- "//ui/accessibility",
- ]
- }
---- a/chrome/browser/ui/webui/settings/accessibility_main_handler.cc
-+++ b/chrome/browser/ui/webui/settings/accessibility_main_handler.cc
+diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.cc
+--- chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.cc 2026-10-20 17:09:47.142771034 +0200
@@ -35,11 +35,6 @@ void AccessibilityMainHandler::RegisterM
base::BindRepeating(
&AccessibilityMainHandler::HandleCheckAccessibilityImageLabels,
@@ -1269,8 +1295,9 @@
}
void AccessibilityMainHandler::HandleGetScreenReaderState(
---- a/chrome/browser/ui/webui/settings/accessibility_main_handler.h
-+++ b/chrome/browser/ui/webui/settings/accessibility_main_handler.h
+diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.h.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.h
+--- chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/webui/settings/accessibility_main_handler.h 2026-10-20 17:09:47.142925997 +0200
@@ -19,8 +19,7 @@ namespace settings {
// Settings handler for the main accessibility settings page,
// chrome://settings/accessibility.
@@ -1302,8 +1329,28 @@
};
} // namespace settings
---- a/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn
-+++ b/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn
+diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/settings/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/settings/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/ui/webui/settings/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/webui/settings/BUILD.gn 2026-10-20 17:09:47.142455715 +0200
+@@ -62,7 +62,6 @@ source_set("settings") {
+ "//chrome/browser/permissions/system",
+ "//chrome/browser/profile_resetter",
+ "//chrome/browser/profiles:profile",
+- "//chrome/browser/screen_ai:screen_ai_install_state",
+ "//chrome/browser/themes",
+ "//chrome/browser/ui/safety_hub",
+ "//chrome/browser/ui/search_engines",
+@@ -680,7 +679,6 @@ if (!is_android) {
+ ]
+ deps += [
+ "//chrome/browser/profiles",
+- "//chrome/browser/screen_ai:screen_ai_install_state",
+ "//ui/accessibility",
+ ]
+ }
+diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn
+--- chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/BUILD.gn 2026-10-20 17:09:47.143104559 +0200
@@ -36,7 +36,6 @@ source_set("read_anything") {
"//chrome/browser/profiles:profile",
"//chrome/browser/resources/side_panel/read_anything:resources",
@@ -1312,9 +1359,10 @@
"//chrome/browser/speech",
"//chrome/browser/translate",
"//chrome/browser/ui:accelerator_table",
---- a/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc
-+++ b/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc
-@@ -23,8 +23,6 @@
+diff -up chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc.disable-ai chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc
+--- chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc 2026-10-20 17:09:47.143582610 +0200
+@@ -19,8 +19,6 @@
#include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
#include "chrome/browser/language/language_model_manager_factory.h"
#include "chrome/browser/profiles/profile.h"
@@ -1323,7 +1371,7 @@
#include "chrome/browser/speech/extension_api/tts_engine_extension_api.h"
#include "chrome/browser/translate/chrome_translate_client.h"
#include "chrome/browser/ui/read_anything/read_anything_controller.h"
-@@ -405,14 +403,6 @@ ReadAnythingUntrustedPageHandler::ReadAn
+@@ -478,14 +476,6 @@ ReadAnythingUntrustedPageHandler::ReadAn
prefs_lang = language::ExtractBaseLanguage(prefs_lang);
SetDefaultLanguageCode(prefs_lang);
@@ -1338,9 +1386,10 @@
if (features::IsReadAnythingWithReadabilityEnabled() &&
!features::IsReadAnythingReadAloudPhraseHighlightingEnabled()) {
---- a/chrome/renderer/BUILD.gn
-+++ b/chrome/renderer/BUILD.gn
-@@ -344,8 +344,6 @@ static_library("renderer") {
+diff -up chromium-156.0.8078.35/chrome/renderer/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/renderer/BUILD.gn
+--- chromium-156.0.8078.35/chrome/renderer/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/renderer/BUILD.gn 2026-10-20 17:09:47.144053919 +0200
+@@ -346,8 +346,6 @@ static_library("renderer") {
deps += [ "//chrome/common/wallet:mojo_bindings" ]
} else {
sources += [
@@ -1349,7 +1398,7 @@
"accessibility/phrase_segmentation/base_phrase_segmenter.cc",
"accessibility/phrase_segmentation/base_phrase_segmenter.h",
"accessibility/phrase_segmentation/dependency_parser_model.cc",
-@@ -362,21 +360,6 @@ static_library("renderer") {
+@@ -364,23 +362,6 @@ static_library("renderer") {
"accessibility/phrase_segmentation/tokenized_sentence.h",
"accessibility/phrase_segmentation/tokenizer.cc",
"accessibility/phrase_segmentation/tokenizer.h",
@@ -1366,12 +1415,14 @@
- "accessibility/read_anything/read_anything_distiller_factory.h",
- "accessibility/read_anything/read_anything_node_utils.cc",
- "accessibility/read_anything/read_anything_node_utils.h",
-- "accessibility/read_anything/screen2x_distiller.cc",
-- "accessibility/read_anything/screen2x_distiller.h",
+- "accessibility/read_anything/read_anything_readability_distiller.cc",
+- "accessibility/read_anything/read_anything_readability_distiller.h",
+- "accessibility/read_anything/read_anything_screen2x_distiller.cc",
+- "accessibility/read_anything/read_anything_screen2x_distiller.h",
"media/chrome_speech_recognition_client.cc",
"media/chrome_speech_recognition_client.h",
"password_manager/remote_actor_credential_sharing_extension.cc",
-@@ -394,7 +377,6 @@ static_library("renderer") {
+@@ -398,7 +379,6 @@ static_library("renderer") {
"//components/record_replay/content/renderer",
"//components/trusted_vault",
"//services/screen_ai/buildflags",
@@ -1379,8 +1430,9 @@
"//services/strings",
"//third_party/re2",
"//third_party/tensorflow-text",
---- a/chrome/renderer/chrome_render_frame_observer.cc
-+++ b/chrome/renderer/chrome_render_frame_observer.cc
+diff -up chromium-156.0.8078.35/chrome/renderer/chrome_render_frame_observer.cc.disable-ai chromium-156.0.8078.35/chrome/renderer/chrome_render_frame_observer.cc
+--- chromium-156.0.8078.35/chrome/renderer/chrome_render_frame_observer.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/renderer/chrome_render_frame_observer.cc 2026-10-20 17:09:47.144502641 +0200
@@ -88,7 +88,6 @@
#include "url/url_constants.h"
@@ -1404,9 +1456,10 @@
#endif // !BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(ENABLE_GUEST_VIEW) && !BUILDFLAG(ENABLE_EXTENSIONS_CORE)
guest_view::SlimWebViewBindings::MaybeInstall(*render_frame());
---- a/chrome/test/BUILD.gn
-+++ b/chrome/test/BUILD.gn
-@@ -1907,9 +1907,6 @@ if (!is_android) {
+diff -up chromium-156.0.8078.35/chrome/test/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/test/BUILD.gn
+--- chromium-156.0.8078.35/chrome/test/BUILD.gn.disable-ai 2026-10-20 17:09:46.922795453 +0200
++++ chromium-156.0.8078.35/chrome/test/BUILD.gn 2026-10-20 17:09:47.145277166 +0200
+@@ -1891,9 +1891,6 @@ if (!is_android) {
"//chrome/browser/safe_browsing:blocking_page_platform_test_support",
"//chrome/browser/safe_browsing:browser_tests",
"//chrome/browser/safe_browsing:verdict_cache_manager_factory",
@@ -1425,7 +1478,7 @@
"//services/service_manager/public/cpp",
"//services/strings",
"//services/test/echo/public/mojom",
-@@ -6275,7 +6270,6 @@ test("unit_tests") {
+@@ -6309,7 +6304,6 @@ test("unit_tests") {
# TODO(crbug.com/417513088): Maybe merge with the non-android `deps`
# declaration above?
deps += [
@@ -1433,7 +1486,7 @@
"//chrome:packed_resources",
"//chrome/browser/apps/app_service",
"//chrome/browser/apps/app_service:app_registry_cache_waiter",
-@@ -6315,7 +6309,6 @@ test("unit_tests") {
+@@ -6348,7 +6342,6 @@ test("unit_tests") {
"//chrome/browser/profile_resetter:fake_profile_resetter",
"//chrome/browser/profile_resetter:unit_tests",
"//chrome/browser/resources/new_tab_page_instant:resources_grit",
@@ -1441,9 +1494,10 @@
"//chrome/browser/search/background",
"//chrome/browser/search_engine_choice:unit_tests",
"//chrome/browser/sensor:unit_tests",
---- a/chrome/utility/BUILD.gn
-+++ b/chrome/utility/BUILD.gn
-@@ -151,7 +151,6 @@ static_library("utility") {
+diff -up chromium-156.0.8078.35/chrome/utility/BUILD.gn.disable-ai chromium-156.0.8078.35/chrome/utility/BUILD.gn
+--- chromium-156.0.8078.35/chrome/utility/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/utility/BUILD.gn 2026-10-20 17:09:47.146600184 +0200
+@@ -153,7 +153,6 @@ static_library("utility") {
"//components/user_data_importer/content",
"//components/user_data_importer/utility:bookmarks",
"//services/proxy_resolver:lib",
@@ -1451,9 +1505,10 @@
]
}
---- a/chrome/utility/services.cc
-+++ b/chrome/utility/services.cc
-@@ -69,8 +69,6 @@
+diff -up chromium-156.0.8078.35/chrome/utility/services.cc.disable-ai chromium-156.0.8078.35/chrome/utility/services.cc
+--- chromium-156.0.8078.35/chrome/utility/services.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/chrome/utility/services.cc 2026-10-20 17:09:47.146947839 +0200
+@@ -70,8 +70,6 @@
#include "components/mirroring/service/mirroring_service.h"
#include "services/proxy_resolver/proxy_resolver_factory_impl.h" // nogncheck
#include "services/proxy_resolver/public/mojom/proxy_resolver.mojom.h"
@@ -1462,7 +1517,7 @@
#endif // !BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(ENABLE_MEDIA_REMOTING_REDIRECTION)
-@@ -295,10 +293,6 @@ auto RunReadingModeMetricsService(
+@@ -301,10 +299,6 @@ auto RunReadingModeMetricsService(
std::move(receiver));
}
@@ -1473,7 +1528,7 @@
#endif
#if (BUILDFLAG(SAFE_BROWSING_DOWNLOAD_PROTECTION) && \
-@@ -497,7 +491,6 @@ void RegisterMainThreadServices(mojo::Se
+@@ -512,7 +506,6 @@ void RegisterMainThreadServices(mojo::Se
services.Add(RunProfileImporter);
services.Add(RunMirroringService);
services.Add(RunReadingModeMetricsService);
@@ -1481,18 +1536,9 @@
#endif // !BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(ENABLE_MEDIA_REMOTING_REDIRECTION)
---- a/components/BUILD.gn
-+++ b/components/BUILD.gn
-@@ -638,7 +638,6 @@ test("components_unittests") {
- "//components/one_time_tokens/core/browser:unit_tests",
- "//components/page_info:unit_tests",
- "//components/password_manager/core/browser/actor_login:unit_tests",
-- "//components/permissions/prediction_service:unit_tests",
- "//components/privacy_sandbox/privacy_sandbox_attestations:unit_tests",
- "//components/safety_check:unit_tests",
- "//components/security_interstitials/content:unit_tests",
---- a/components/autofill/core/browser/foundations/autofill_manager.cc
-+++ b/components/autofill/core/browser/foundations/autofill_manager.cc
+diff -up chromium-156.0.8078.35/components/autofill/core/browser/foundations/autofill_manager.cc.disable-ai chromium-156.0.8078.35/components/autofill/core/browser/foundations/autofill_manager.cc
+--- chromium-156.0.8078.35/components/autofill/core/browser/foundations/autofill_manager.cc.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/components/autofill/core/browser/foundations/autofill_manager.cc 2026-10-20 17:09:47.147598715 +0200
@@ -164,8 +164,6 @@ struct AutofillManager::AsyncContext {
std::vector<FormData> forms;
@@ -1502,7 +1548,7 @@
GeoIpCountryCode country_code;
LanguageCode current_page_language;
std::unique_ptr<BufferingLogManager> log_manager;
-@@ -878,10 +876,8 @@ void AutofillManager::RunMlModels(
+@@ -888,10 +886,8 @@ void AutofillManager::RunMlModels(
}));
switch (source) {
case HeuristicSource::kAutofillMachineLearning:
@@ -1513,7 +1559,7 @@
break;
case HeuristicSource::kRegexes:
NOTREACHED();
-@@ -1058,12 +1054,6 @@ void AutofillManager::UpdateFormCache(
+@@ -1068,12 +1064,6 @@ void AutofillManager::UpdateFormCache(
auto apply_predictions = [](FormStructure& form_structure,
const AsyncContext& context, size_t i) {
@@ -1526,7 +1572,7 @@
if (!context.regex_predictions.empty()) {
context.regex_predictions[i].ApplyTo(form_structure.fields());
}
-@@ -1157,26 +1147,6 @@ void AutofillManager::LogCurrentFieldTyp
+@@ -1167,26 +1157,6 @@ void AutofillManager::LogCurrentFieldTyp
void AutofillManager::SubscribeToMlModelChanges(
FieldClassificationModelHandler& handler) {
@@ -1553,9 +1599,21 @@
}
} // namespace autofill
---- a/components/page_content_annotations/content/BUILD.gn
-+++ b/components/page_content_annotations/content/BUILD.gn
-@@ -74,8 +74,6 @@ source_set("page_embeddings") {
+diff -up chromium-156.0.8078.35/components/BUILD.gn.disable-ai chromium-156.0.8078.35/components/BUILD.gn
+--- chromium-156.0.8078.35/components/BUILD.gn.disable-ai 2026-10-20 17:09:46.924231964 +0200
++++ chromium-156.0.8078.35/components/BUILD.gn 2026-10-20 17:09:47.147217409 +0200
+@@ -639,7 +639,6 @@ test("components_unittests") {
+ "//components/one_time_tokens/core/browser:unit_tests",
+ "//components/page_info:unit_tests",
+ "//components/password_manager/core/browser/actor_login:unit_tests",
+- "//components/permissions/prediction_service:unit_tests",
+ "//components/privacy_sandbox/privacy_sandbox_attestations:unit_tests",
+ "//components/safety_check:unit_tests",
+ "//components/security_interstitials/content:unit_tests",
+diff -up chromium-156.0.8078.35/components/page_content_annotations/content/BUILD.gn.disable-ai chromium-156.0.8078.35/components/page_content_annotations/content/BUILD.gn
+--- chromium-156.0.8078.35/components/page_content_annotations/content/BUILD.gn.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/components/page_content_annotations/content/BUILD.gn 2026-10-20 17:09:47.148056768 +0200
+@@ -75,8 +75,6 @@ source_set("page_embeddings") {
sources = [
"embeddings_candidate_generator.cc",
"embeddings_candidate_generator.h",
@@ -1564,8 +1622,9 @@
"page_embeddings_service.cc",
"page_embeddings_service.h",
]
---- a/components/pdf/renderer/pdf_view_web_plugin_client.h
-+++ b/components/pdf/renderer/pdf_view_web_plugin_client.h
+diff -up chromium-156.0.8078.35/components/pdf/renderer/pdf_view_web_plugin_client.h.disable-ai chromium-156.0.8078.35/components/pdf/renderer/pdf_view_web_plugin_client.h
+--- chromium-156.0.8078.35/components/pdf/renderer/pdf_view_web_plugin_client.h.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/components/pdf/renderer/pdf_view_web_plugin_client.h 2026-10-20 17:09:47.148412437 +0200
@@ -12,7 +12,6 @@
#include "base/memory/weak_ptr.h"
#include "mojo/public/cpp/bindings/remote.h"
@@ -1583,8 +1642,9 @@
base::WeakPtrFactory<PdfViewWebPluginClient> weak_factory_{this};
};
---- a/services/screen_ai/buildflags/features.gni
-+++ b/services/screen_ai/buildflags/features.gni
+diff -up chromium-156.0.8078.35/services/screen_ai/buildflags/features.gni.disable-ai chromium-156.0.8078.35/services/screen_ai/buildflags/features.gni
+--- chromium-156.0.8078.35/services/screen_ai/buildflags/features.gni.disable-ai 2026-10-14 00:13:09.000000000 +0200
++++ chromium-156.0.8078.35/services/screen_ai/buildflags/features.gni 2026-10-20 17:09:47.148697659 +0200
@@ -6,15 +6,13 @@ import("//build/config/sanitizers/saniti
declare_args() {
diff --git a/fix-breakpad-compile.patch b/fix-breakpad-compile.patch
index abb4e57..62e826c 100644
--- a/fix-breakpad-compile.patch
+++ b/fix-breakpad-compile.patch
@@ -1,8 +1,8 @@
-Index: chromium-150.0.7871.46/third_party/breakpad/BUILD.gn
+Index: chromium-156.0.8078.35/third_party/breakpad/BUILD.gn
===================================================================
---- chromium-150.0.7871.46.orig/third_party/breakpad/BUILD.gn
-+++ chromium-150.0.7871.46/third_party/breakpad/BUILD.gn
-@@ -803,7 +803,6 @@ if (is_linux || is_chromeos || is_androi
+--- chromium-156.0.8078.35.orig/third_party/breakpad/BUILD.gn
++++ chromium-156.0.8078.35/third_party/breakpad/BUILD.gn
+@@ -812,7 +812,6 @@ if (is_linux || is_chromeos || is_androi
"breakpad/src/client/minidump_file_writer.h",
"breakpad/src/common/convert_UTF.cc",
"breakpad/src/common/convert_UTF.h",
@@ -10,7 +10,7 @@ Index: chromium-150.0.7871.46/third_party/breakpad/BUILD.gn
"breakpad/src/common/linux/elf_core_dump.cc",
"breakpad/src/common/linux/elf_core_dump.h",
"breakpad/src/common/linux/elfutils.cc",
-@@ -835,6 +834,8 @@ if (is_linux || is_chromeos || is_androi
+@@ -844,6 +843,8 @@ if (is_linux || is_chromeos || is_androi
configs += [ "//build/config/compiler:no_chromium_code" ]
public_configs = [ ":client_config" ]
@@ -19,7 +19,7 @@ Index: chromium-150.0.7871.46/third_party/breakpad/BUILD.gn
if (current_cpu == "arm" && is_chromeos) {
# Avoid running out of registers in
# linux_syscall_support.h:sys_clone()'s inline assembly.
-@@ -892,7 +893,6 @@ if (is_linux || is_chromeos || is_androi
+@@ -901,7 +902,6 @@ if (is_linux || is_chromeos || is_androi
"breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc",
"breakpad/src/client/linux/minidump_writer/minidump_writer_unittest_utils.cc",
"breakpad/src/client/linux/minidump_writer/proc_cpuinfo_reader_unittest.cc",
diff --git a/fix-different-data-layouts.patch b/fix-different-data-layouts.patch
index 29aff84..9dcad72 100644
--- a/fix-different-data-layouts.patch
+++ b/fix-different-data-layouts.patch
@@ -24,11 +24,11 @@ inconsistency in data layouts when targeting this particular platform.
The error reported by the linker is not technically an error, however, only
a warning goosed up by a --fatal-warnings flag.
-Index: chromium-148.0.7778.96/build/config/compiler/BUILD.gn
+Index: chromium-156.0.8078.35/build/config/compiler/BUILD.gn
===================================================================
---- chromium-148.0.7778.96.orig/build/config/compiler/BUILD.gn
-+++ chromium-148.0.7778.96/build/config/compiler/BUILD.gn
-@@ -1073,7 +1073,7 @@ config("linker") {
+--- chromium-156.0.8078.35.orig/build/config/compiler/BUILD.gn
++++ chromium-156.0.8078.35/build/config/compiler/BUILD.gn
+@@ -1075,7 +1075,7 @@ config("linker") {
# errors. We only apply fatal warnings when using lld.
ldflags += [ "-Wl,-fatal_warnings" ]
}
diff --git a/fix-page-allocator-overflow.patch b/fix-page-allocator-overflow.patch
index eb4b65f..9ddbe73 100644
--- a/fix-page-allocator-overflow.patch
+++ b/fix-page-allocator-overflow.patch
@@ -1,8 +1,8 @@
-Index: chromium-145.0.7632.45/base/allocator/dispatcher/tls.h
+Index: chromium-156.0.8078.35/base/allocator/dispatcher/tls.h
===================================================================
---- chromium-145.0.7632.45.orig/base/allocator/dispatcher/tls.h
-+++ chromium-145.0.7632.45/base/allocator/dispatcher/tls.h
-@@ -83,6 +83,8 @@ struct BASE_EXPORT MMapAllocator {
+--- chromium-156.0.8078.35.orig/base/allocator/dispatcher/tls.h
++++ chromium-156.0.8078.35/base/allocator/dispatcher/tls.h
+@@ -84,6 +84,8 @@ struct BASE_EXPORT MMapAllocator {
constexpr static size_t AllocationChunkSize = 16384;
#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)
constexpr static size_t AllocationChunkSize = 16384;
@@ -11,11 +11,11 @@ Index: chromium-145.0.7632.45/base/allocator/dispatcher/tls.h
#else
constexpr static size_t AllocationChunkSize = 4096;
#endif
-Index: chromium-145.0.7632.45/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
+Index: chromium-156.0.8078.35/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
===================================================================
---- chromium-145.0.7632.45.orig/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
-+++ chromium-145.0.7632.45/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
-@@ -394,7 +394,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDir
+--- chromium-156.0.8078.35.orig/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
++++ chromium-156.0.8078.35/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
+@@ -235,7 +235,7 @@ constexpr size_t kMinDirectMappedDownsiz
// TODO(casey.smalley@arm.com): under 64k pages we can end up in a situation
// where a normal slot span will be large enough to contain multiple items,
// but the address will go over the final partition page after being aligned.
diff --git a/fix-rust-linking.patch b/fix-rust-linking.patch
index 333d7ca..ce76334 100644
--- a/fix-rust-linking.patch
+++ b/fix-rust-linking.patch
@@ -1,8 +1,8 @@
-Index: chromium-154.0.8037.44/build/toolchain/gcc_toolchain.gni
+Index: chromium-156.0.8078.35/build/toolchain/gcc_toolchain.gni
===================================================================
---- chromium-154.0.8037.44.orig/build/toolchain/gcc_toolchain.gni
-+++ chromium-154.0.8037.44/build/toolchain/gcc_toolchain.gni
-@@ -462,13 +462,25 @@ template("single_gcc_toolchain") {
+--- chromium-156.0.8078.35.orig/build/toolchain/gcc_toolchain.gni
++++ chromium-156.0.8078.35/build/toolchain/gcc_toolchain.gni
+@@ -463,13 +463,25 @@ template("single_gcc_toolchain") {
} else {
main_so_file = sofile_with_symbols
}
@@ -30,7 +30,7 @@ Index: chromium-154.0.8037.44/build/toolchain/gcc_toolchain.gni
# Generate a map file to be used for binary size analysis.
# Map file adds ~10% to the link time on a z620.
-@@ -580,13 +592,25 @@ template("single_gcc_toolchain") {
+@@ -581,13 +593,25 @@ template("single_gcc_toolchain") {
} else {
main_so_file = sofile_with_symbols
}
diff --git a/fix-rustc.patch b/fix-rustc.patch
index 379ace0..b5e12ab 100644
--- a/fix-rustc.patch
+++ b/fix-rustc.patch
@@ -1,10 +1,10 @@
author: Andres Salomon <dilinger@debian.org>
description: allow ppc64le to build by using proper rustc target
-Index: chromium-149.0.7827.53/build/config/rust.gni
+Index: chromium-156.0.8078.35/build/config/rust.gni
===================================================================
---- chromium-149.0.7827.53.orig/build/config/rust.gni
-+++ chromium-149.0.7827.53/build/config/rust.gni
-@@ -214,6 +214,9 @@ rust_abi_target = ""
+--- chromium-156.0.8078.35.orig/build/config/rust.gni
++++ chromium-156.0.8078.35/build/config/rust.gni
+@@ -203,6 +203,9 @@ rust_abi_target = ""
if (is_linux || is_chromeos) {
if (current_cpu == "arm64") {
rust_abi_target = "aarch64-unknown-linux-gnu"
diff --git a/fix-study-crash.patch b/fix-study-crash.patch
index eb3e349..c1c120b 100644
--- a/fix-study-crash.patch
+++ b/fix-study-crash.patch
@@ -1,6 +1,8 @@
---- a/components/variations/proto/study.proto
-+++ b/components/variations/proto/study.proto
-@@ -294,6 +294,9 @@ message Study {
+Index: chromium-156.0.8078.35/components/variations/proto/study.proto
+===================================================================
+--- chromium-156.0.8078.35.orig/components/variations/proto/study.proto
++++ chromium-156.0.8078.35/components/variations/proto/study.proto
+@@ -300,6 +300,9 @@ message Study {
// A Mac-only value, indicating an x86-64 binary running on an arm64 host
// via "Rosetta 2" binary translation.
TRANSLATED_X86_64 = 4;
@@ -10,9 +12,11 @@
}
// Possible states of the policy restriction filter.
---- a/components/variations/service/variations_field_trial_creator.cc
-+++ b/components/variations/service/variations_field_trial_creator.cc
-@@ -107,6 +107,9 @@ Study::CpuArchitecture GetCurrentCpuArch
+Index: chromium-156.0.8078.35/components/variations/service/variations_field_trial_creator.cc
+===================================================================
+--- chromium-156.0.8078.35.orig/components/variations/service/variations_field_trial_creator.cc
++++ chromium-156.0.8078.35/components/variations/service/variations_field_trial_creator.cc
+@@ -108,6 +108,9 @@ Study::CpuArchitecture GetCurrentCpuArch
if (process_arch == "x86") {
return Study::X86_32;
}
diff --git a/skia-vsx-instructions.patch b/skia-vsx-instructions.patch
index 1c19c16..e24cafe 100644
--- a/skia-vsx-instructions.patch
+++ b/skia-vsx-instructions.patch
@@ -1,8 +1,8 @@
-Index: chromium-152.0.7977.64/skia/BUILD.gn
+Index: chromium-156.0.8078.35/skia/BUILD.gn
===================================================================
---- chromium-152.0.7977.64.orig/skia/BUILD.gn
-+++ chromium-152.0.7977.64/skia/BUILD.gn
-@@ -966,6 +966,17 @@ if (current_cpu == "loong64") {
+--- chromium-156.0.8078.35.orig/skia/BUILD.gn
++++ chromium-156.0.8078.35/skia/BUILD.gn
+@@ -1082,6 +1082,17 @@ if (current_cpu == "loong64") {
}
}
@@ -20,7 +20,7 @@ Index: chromium-152.0.7977.64/skia/BUILD.gn
skia_source_set("skia_opts") {
cflags = []
defines = []
-@@ -992,7 +1003,7 @@ skia_source_set("skia_opts") {
+@@ -1108,7 +1119,7 @@ skia_source_set("skia_opts") {
} else if (current_cpu == "mips64el") {
cflags += [ "-fomit-frame-pointer" ]
} else if (current_cpu == "ppc64") {
@@ -29,11 +29,11 @@ Index: chromium-152.0.7977.64/skia/BUILD.gn
} else if (current_cpu == "s390x") {
# Conditional and empty body needed to avoid assert() below.
} else if (current_cpu == "riscv64") {
-Index: chromium-152.0.7977.64/third_party/skia/BUILD.gn
+Index: chromium-156.0.8078.35/third_party/skia/BUILD.gn
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/BUILD.gn
-+++ chromium-152.0.7977.64/third_party/skia/BUILD.gn
-@@ -166,6 +166,7 @@ template("opts") {
+--- chromium-156.0.8078.35.orig/third_party/skia/BUILD.gn
++++ chromium-156.0.8078.35/third_party/skia/BUILD.gn
+@@ -172,6 +172,7 @@ template("opts") {
}
is_x86 = current_cpu == "x64" || current_cpu == "x86"
@@ -41,7 +41,7 @@ Index: chromium-152.0.7977.64/third_party/skia/BUILD.gn
is_loong64 = current_cpu == "loong64"
opts("ml3") {
-@@ -201,6 +202,12 @@ opts("lasx") {
+@@ -207,6 +208,12 @@ opts("lasx") {
cflags = [ "-mlasx" ]
}
@@ -54,7 +54,7 @@ Index: chromium-152.0.7977.64/third_party/skia/BUILD.gn
# Any feature of Skia that requires third-party code should be optional and use this template.
template("optional") {
if (invoker.enabled) {
-@@ -2019,6 +2026,7 @@ skia_component("skia") {
+@@ -2105,6 +2112,7 @@ skia_component("skia") {
":typeface_fontations",
":typeface_freetype",
":vello",
@@ -62,20 +62,20 @@ Index: chromium-152.0.7977.64/third_party/skia/BUILD.gn
":webp_decode",
":wuffs",
":xml",
-Index: chromium-152.0.7977.64/third_party/skia/gn/opts.gni
+Index: chromium-156.0.8078.35/third_party/skia/gn/opts.gni
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/gn/opts.gni
-+++ chromium-152.0.7977.64/third_party/skia/gn/opts.gni
+--- chromium-156.0.8078.35.orig/third_party/skia/gn/opts.gni
++++ chromium-156.0.8078.35/third_party/skia/gn/opts.gni
@@ -8,4 +8,5 @@ _src = get_path_info("../src", "abspath"
ml3 = [ "$_src/opts/SkOpts_ml3.cpp" ]
ml4 = [ "$_src/opts/SkOpts_ml4.cpp" ]
+vsx = [ "$_src/opts/SkOpts_vsx.cpp" ]
lasx = [ "$_src/opts/SkOpts_lasx.cpp" ]
-Index: chromium-152.0.7977.64/third_party/skia/gn/shared_sources.gni
+Index: chromium-156.0.8078.35/third_party/skia/gn/shared_sources.gni
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/gn/shared_sources.gni
-+++ chromium-152.0.7977.64/third_party/skia/gn/shared_sources.gni
+--- chromium-156.0.8078.35.orig/third_party/skia/gn/shared_sources.gni
++++ chromium-156.0.8078.35/third_party/skia/gn/shared_sources.gni
@@ -24,6 +24,7 @@ import("xps.gni")
skia_opts = {
ml3_sources = ml3
@@ -84,10 +84,10 @@ Index: chromium-152.0.7977.64/third_party/skia/gn/shared_sources.gni
lasx_sources = lasx
# TODO(kjlubick) clean up hsw and skx after migrating clients
-Index: chromium-152.0.7977.64/third_party/skia/gn/skia/BUILD.gn
+Index: chromium-156.0.8078.35/third_party/skia/gn/skia/BUILD.gn
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/gn/skia/BUILD.gn
-+++ chromium-152.0.7977.64/third_party/skia/gn/skia/BUILD.gn
+--- chromium-156.0.8078.35.orig/third_party/skia/gn/skia/BUILD.gn
++++ chromium-156.0.8078.35/third_party/skia/gn/skia/BUILD.gn
@@ -146,6 +146,8 @@ config("default") {
"-mfpmath=sse",
]
@@ -97,10 +97,10 @@ Index: chromium-152.0.7977.64/third_party/skia/gn/skia/BUILD.gn
} else if (current_cpu == "loong64") {
cflags += [
"-mlsx",
-Index: chromium-152.0.7977.64/third_party/skia/include/core/SkTypes.h
+Index: chromium-156.0.8078.35/third_party/skia/include/core/SkTypes.h
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/include/core/SkTypes.h
-+++ chromium-152.0.7977.64/third_party/skia/include/core/SkTypes.h
+--- chromium-156.0.8078.35.orig/third_party/skia/include/core/SkTypes.h
++++ chromium-156.0.8078.35/third_party/skia/include/core/SkTypes.h
@@ -190,4 +190,43 @@ static constexpr uint32_t SK_InvalidGenI
*/
static constexpr uint32_t SK_InvalidUniqueID = 0;
@@ -145,10 +145,10 @@ Index: chromium-152.0.7977.64/third_party/skia/include/core/SkTypes.h
+#endif
+
#endif
-Index: chromium-152.0.7977.64/third_party/skia/include/private/SkFeatures.h
+Index: chromium-156.0.8078.35/third_party/skia/include/private/SkFeatures.h
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/include/private/SkFeatures.h
-+++ chromium-152.0.7977.64/third_party/skia/include/private/SkFeatures.h
+--- chromium-156.0.8078.35.orig/third_party/skia/include/private/SkFeatures.h
++++ chromium-156.0.8078.35/third_party/skia/include/private/SkFeatures.h
@@ -67,6 +67,8 @@
#if defined(__i386) || defined(_M_IX86) || defined(__x86_64__) || defined(_M_X64)
@@ -158,10 +158,10 @@ Index: chromium-152.0.7977.64/third_party/skia/include/private/SkFeatures.h
#endif
#if defined(__loongarch__) || defined (__loongarch64)
-Index: chromium-152.0.7977.64/third_party/skia/src/core/SkBitmapProcState_opts.cpp
+Index: chromium-156.0.8078.35/third_party/skia/src/core/SkBitmapProcState_opts.cpp
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/core/SkBitmapProcState_opts.cpp
-+++ chromium-152.0.7977.64/third_party/skia/src/core/SkBitmapProcState_opts.cpp
+--- chromium-156.0.8078.35.orig/third_party/skia/src/core/SkBitmapProcState_opts.cpp
++++ chromium-156.0.8078.35/third_party/skia/src/core/SkBitmapProcState_opts.cpp
@@ -27,7 +27,7 @@ namespace SkOpts {
static bool init() {
#if defined(SK_ENABLE_OPTIMIZE_SIZE)
@@ -171,10 +171,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/core/SkBitmapProcState_opts.c
#if SK_CPU_X64_LEVEL < SK_CPU_X64_LEVEL_SSSE3
if (SkCpu::Supports(SkX64::SSSE3)) { Init_BitmapProcState_ssse3(); }
#endif
-Index: chromium-152.0.7977.64/third_party/skia/src/core/SkBitmapProcState_opts_ssse3.cpp
+Index: chromium-156.0.8078.35/third_party/skia/src/core/SkBitmapProcState_opts_ssse3.cpp
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/core/SkBitmapProcState_opts_ssse3.cpp
-+++ chromium-152.0.7977.64/third_party/skia/src/core/SkBitmapProcState_opts_ssse3.cpp
+--- chromium-156.0.8078.35.orig/third_party/skia/src/core/SkBitmapProcState_opts_ssse3.cpp
++++ chromium-156.0.8078.35/third_party/skia/src/core/SkBitmapProcState_opts_ssse3.cpp
@@ -8,7 +8,7 @@
#include "include/private/SkFeatures.h"
#include "src/core/SkOptsTargets.h"
@@ -184,10 +184,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/core/SkBitmapProcState_opts_s
// The order of these includes is important:
// 1) Select the target CPU architecture by defining SK_OPTS_TARGET and including SkOpts_SetTarget
-Index: chromium-152.0.7977.64/third_party/skia/src/core/SkBlitMask_opts.cpp
+Index: chromium-156.0.8078.35/third_party/skia/src/core/SkBlitMask_opts.cpp
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/core/SkBlitMask_opts.cpp
-+++ chromium-152.0.7977.64/third_party/skia/src/core/SkBlitMask_opts.cpp
+--- chromium-156.0.8078.35.orig/third_party/skia/src/core/SkBlitMask_opts.cpp
++++ chromium-156.0.8078.35/third_party/skia/src/core/SkBlitMask_opts.cpp
@@ -25,7 +25,7 @@ namespace SkOpts {
static bool init() {
#if defined(SK_ENABLE_OPTIMIZE_SIZE)
@@ -197,10 +197,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/core/SkBlitMask_opts.cpp
#if SK_CPU_X64_LEVEL < SK_CPU_X64_LEVEL_SSSE3
if (SkCpu::Supports(SkX64::SSSE3)) { Init_BlitMask_ssse3(); }
#endif
-Index: chromium-152.0.7977.64/third_party/skia/src/core/SkBlitMask_opts_ssse3.cpp
+Index: chromium-156.0.8078.35/third_party/skia/src/core/SkBlitMask_opts_ssse3.cpp
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/core/SkBlitMask_opts_ssse3.cpp
-+++ chromium-152.0.7977.64/third_party/skia/src/core/SkBlitMask_opts_ssse3.cpp
+--- chromium-156.0.8078.35.orig/third_party/skia/src/core/SkBlitMask_opts_ssse3.cpp
++++ chromium-156.0.8078.35/third_party/skia/src/core/SkBlitMask_opts_ssse3.cpp
@@ -9,7 +9,7 @@
#include "src/core/SkBlitMask.h"
#include "src/core/SkOptsTargets.h"
@@ -210,10 +210,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/core/SkBlitMask_opts_ssse3.cp
// The order of these includes is important:
// 1) Select the target CPU architecture by defining SK_OPTS_TARGET and including SkOpts_SetTarget
-Index: chromium-152.0.7977.64/third_party/skia/src/core/SkBlitter_ARGB32.cpp
+Index: chromium-156.0.8078.35/third_party/skia/src/core/SkBlitter_ARGB32.cpp
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/core/SkBlitter_ARGB32.cpp
-+++ chromium-152.0.7977.64/third_party/skia/src/core/SkBlitter_ARGB32.cpp
+--- chromium-156.0.8078.35.orig/third_party/skia/src/core/SkBlitter_ARGB32.cpp
++++ chromium-156.0.8078.35/third_party/skia/src/core/SkBlitter_ARGB32.cpp
@@ -129,6 +129,16 @@ static inline SkPMColor blend_lcd16_opaq
#if SK_CPU_X64_LEVEL >= SK_CPU_X64_LEVEL_SSE2
#include <emmintrin.h>
@@ -231,10 +231,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/core/SkBlitter_ARGB32.cpp
// The following (left) shifts cause the top 5 bits of the mask components to
// line up with the corresponding components in an SkPMColor.
// Note that the mask's RGB16 order may differ from the SkPMColor order.
-Index: chromium-152.0.7977.64/third_party/skia/src/core/SkCpu.h
+Index: chromium-156.0.8078.35/third_party/skia/src/core/SkCpu.h
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/core/SkCpu.h
-+++ chromium-152.0.7977.64/third_party/skia/src/core/SkCpu.h
+--- chromium-156.0.8078.35.orig/third_party/skia/src/core/SkCpu.h
++++ chromium-156.0.8078.35/third_party/skia/src/core/SkCpu.h
@@ -60,7 +60,7 @@ inline bool SkCpu::Supports(uint32_t mas
// If we mask in compile-time known lower limits, the compiler can
@@ -259,10 +259,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/core/SkCpu.h
#elif SK_CPU_LOONGARCH
#if SK_CPU_LSX_LEVEL >= SK_CPU_LSX_LEVEL_LSX
features |= SkLoongArch::SX;
-Index: chromium-152.0.7977.64/third_party/skia/src/core/SkOpts.cpp
+Index: chromium-156.0.8078.35/third_party/skia/src/core/SkOpts.cpp
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/core/SkOpts.cpp
-+++ chromium-152.0.7977.64/third_party/skia/src/core/SkOpts.cpp
+--- chromium-156.0.8078.35.orig/third_party/skia/src/core/SkOpts.cpp
++++ chromium-156.0.8078.35/third_party/skia/src/core/SkOpts.cpp
@@ -46,6 +46,7 @@ namespace SkOpts {
// Each Init_foo() is defined in src/opts/SkOpts_foo.cpp.
void Init_ml3();
@@ -281,10 +281,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/core/SkOpts.cpp
#endif
return true;
}
-Index: chromium-152.0.7977.64/third_party/skia/src/core/SkSpinlock.cpp
+Index: chromium-156.0.8078.35/third_party/skia/src/core/SkSpinlock.cpp
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/core/SkSpinlock.cpp
-+++ chromium-152.0.7977.64/third_party/skia/src/core/SkSpinlock.cpp
+--- chromium-156.0.8078.35.orig/third_party/skia/src/core/SkSpinlock.cpp
++++ chromium-156.0.8078.35/third_party/skia/src/core/SkSpinlock.cpp
@@ -33,7 +33,8 @@
#endif
@@ -295,10 +295,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/core/SkSpinlock.cpp
#include <emmintrin.h>
static void do_pause() { _mm_pause(); }
#else
-Index: chromium-152.0.7977.64/third_party/skia/src/core/SkSwizzler_opts_ssse3.cpp
+Index: chromium-156.0.8078.35/third_party/skia/src/core/SkSwizzler_opts_ssse3.cpp
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/core/SkSwizzler_opts_ssse3.cpp
-+++ chromium-152.0.7977.64/third_party/skia/src/core/SkSwizzler_opts_ssse3.cpp
+--- chromium-156.0.8078.35.orig/third_party/skia/src/core/SkSwizzler_opts_ssse3.cpp
++++ chromium-156.0.8078.35/third_party/skia/src/core/SkSwizzler_opts_ssse3.cpp
@@ -10,7 +10,7 @@
#include "src/core/SkOptsTargets.h"
#include "src/core/SkSwizzlePriv.h"
@@ -308,10 +308,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/core/SkSwizzler_opts_ssse3.cp
!defined(SK_ENABLE_OPTIMIZE_SIZE) && \
SK_CPU_X64_LEVEL < SK_CPU_X64_LEVEL_SSSE3
-Index: chromium-152.0.7977.64/third_party/skia/src/core/SkVx.h
+Index: chromium-156.0.8078.35/third_party/skia/src/core/SkVx.h
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/core/SkVx.h
-+++ chromium-152.0.7977.64/third_party/skia/src/core/SkVx.h
+--- chromium-156.0.8078.35.orig/third_party/skia/src/core/SkVx.h
++++ chromium-156.0.8078.35/third_party/skia/src/core/SkVx.h
@@ -39,7 +39,12 @@
#endif
@@ -326,11 +326,11 @@ Index: chromium-152.0.7977.64/third_party/skia/src/core/SkVx.h
#include <immintrin.h>
#elif SK_CPU_X64_LEVEL >= SK_CPU_X64_LEVEL_SSE41
#include <smmintrin.h>
-Index: chromium-152.0.7977.64/third_party/skia/src/opts/BUILD.bazel
+Index: chromium-156.0.8078.35/third_party/skia/src/opts/BUILD.bazel
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/opts/BUILD.bazel
-+++ chromium-152.0.7977.64/third_party/skia/src/opts/BUILD.bazel
-@@ -85,6 +85,41 @@ skia_cc_library(
+--- chromium-156.0.8078.35.orig/third_party/skia/src/opts/BUILD.bazel
++++ chromium-156.0.8078.35/third_party/skia/src/opts/BUILD.bazel
+@@ -87,6 +87,41 @@ skia_cc_library(
}),
)
@@ -372,10 +372,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/opts/BUILD.bazel
skia_filegroup(
name = "textual_hdrs",
srcs = [
-Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkBitmapProcState_opts.h
+Index: chromium-156.0.8078.35/third_party/skia/src/opts/SkBitmapProcState_opts.h
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/opts/SkBitmapProcState_opts.h
-+++ chromium-152.0.7977.64/third_party/skia/src/opts/SkBitmapProcState_opts.h
+--- chromium-156.0.8078.35.orig/third_party/skia/src/opts/SkBitmapProcState_opts.h
++++ chromium-156.0.8078.35/third_party/skia/src/opts/SkBitmapProcState_opts.h
@@ -21,7 +21,13 @@
// The rest are scattershot at the moment but I want to get them
// all migrated to be normal code inside SkBitmapProcState.cpp.
@@ -391,10 +391,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkBitmapProcState_opts.h
#include <immintrin.h>
#elif defined(SK_ARM_HAS_NEON)
#include <arm_neon.h>
-Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkBlitRow_opts.h
+Index: chromium-156.0.8078.35/third_party/skia/src/opts/SkBlitRow_opts.h
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/opts/SkBlitRow_opts.h
-+++ chromium-152.0.7977.64/third_party/skia/src/opts/SkBlitRow_opts.h
+--- chromium-156.0.8078.35.orig/third_party/skia/src/opts/SkBlitRow_opts.h
++++ chromium-156.0.8078.35/third_party/skia/src/opts/SkBlitRow_opts.h
@@ -69,7 +69,7 @@
#endif
@@ -404,10 +404,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkBlitRow_opts.h
static inline __m128i SkPMSrcOver_SSE2(const __m128i& src, const __m128i& dst) {
__m128i scale = _mm_sub_epi32(_mm_set1_epi32(256),
-Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkOpts_vsx.cpp
+Index: chromium-156.0.8078.35/third_party/skia/src/opts/SkOpts_vsx.cpp
===================================================================
--- /dev/null
-+++ chromium-152.0.7977.64/third_party/skia/src/opts/SkOpts_vsx.cpp
++++ chromium-156.0.8078.35/third_party/skia/src/opts/SkOpts_vsx.cpp
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2018 Google LLC
@@ -443,10 +443,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkOpts_vsx.cpp
+} // namespace SkOpts
+
+#endif // SK_ENABLE_OPTIMIZE_SIZE
-Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkRasterPipeline_opts.h
+Index: chromium-156.0.8078.35/third_party/skia/src/opts/SkRasterPipeline_opts.h
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/opts/SkRasterPipeline_opts.h
-+++ chromium-152.0.7977.64/third_party/skia/src/opts/SkRasterPipeline_opts.h
+--- chromium-156.0.8078.35.orig/third_party/skia/src/opts/SkRasterPipeline_opts.h
++++ chromium-156.0.8078.35/third_party/skia/src/opts/SkRasterPipeline_opts.h
@@ -1,5 +1,6 @@
/*
* Copyright 2018 Google LLC
@@ -832,10 +832,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkRasterPipeline_opts.h
};
r = lerpY(topR, bottomR);
-Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkSwizzler_opts.inc
+Index: chromium-156.0.8078.35/third_party/skia/src/opts/SkSwizzler_opts.inc
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/opts/SkSwizzler_opts.inc
-+++ chromium-152.0.7977.64/third_party/skia/src/opts/SkSwizzler_opts.inc
+--- chromium-156.0.8078.35.orig/third_party/skia/src/opts/SkSwizzler_opts.inc
++++ chromium-156.0.8078.35/third_party/skia/src/opts/SkSwizzler_opts.inc
@@ -14,7 +14,10 @@
#include <cmath>
#include <utility>
@@ -882,10 +882,10 @@ Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkSwizzler_opts.inc
#elif SK_CPU_X64_LEVEL >= SK_CPU_X64_LEVEL_SSE1 && (defined(__clang__) || !defined(_MSC_VER))
// -- SSE -- Harden against timing attacks -- MSVC is not supported.
using F4 = __m128;
-Index: chromium-152.0.7977.64/third_party/skia/src/opts/SkOpts_SetTarget.h
+Index: chromium-156.0.8078.35/third_party/skia/src/opts/SkOpts_SetTarget.h
===================================================================
---- chromium-152.0.7977.64.orig/third_party/skia/src/opts/SkOpts_SetTarget.h
-+++ chromium-152.0.7977.64/third_party/skia/src/opts/SkOpts_SetTarget.h
+--- chromium-156.0.8078.35.orig/third_party/skia/src/opts/SkOpts_SetTarget.h
++++ chromium-156.0.8078.35/third_party/skia/src/opts/SkOpts_SetTarget.h
@@ -19,6 +19,9 @@
#if defined(SK_ARM_HAS_NEON)
diff --git a/sources b/sources
index 7a9e079..4c8d18a 100644
--- a/sources
+++ b/sources
@@ -3,4 +3,4 @@ SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae4
SHA512 (linux-arm64-0.28.2.tgz) = a56e000b43f78adf1cedda3d315338a79d45cc7cdd33f4d9adeaeeae045c1c9d964dad55435088ab5f319dc7e9049c38a23922659aca5b6c8805604ff768fa52
SHA512 (linux-ppc64-0.28.2.tgz) = 0805e5f83b5df5452e25df2928a77087a30b9b7314322a8c3e6859ded4d25cfa9fc90def0e5e91e6165d67f918a232b8a1f5ed75f4afd6d16af17cd6c7785e35
SHA512 (linux-x64-0.28.2.tgz) = e314d9af5154992a105b85c85a68addedcd0ad44d933e3773f45d5f3144e298179d177c8ef178ef74fb56d9bcdc3122e7d0f610d0551247e588603d517c03f1d
-SHA512 (chromium-155.0.8059.84-clean.tar.xz) = dda4d6536338a1cd28ded92087a27cecafd68001c1b97a9add3498b1f0a592c0e63aafa56ae9fe0a3ea6e8d813aa7a0817ed62f2730200013dbf6e90cbfe0a6d
+SHA512 (chromium-156.0.8078.47-clean.tar.xz) = 9b0391c151c170659ca1c8da5a04813470abad9dc41821680c808eb54239328df005dddc7036d35c9177a9b2bd9f523ffaee8caf1f2b89074ed4b7208f313778
diff --git a/chromium.spec b/chromium.spec
index 69bb93c..8607e4d 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2872,6 +2872,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-16 7:52 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-16 7:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : f450ddf0ede9d57b155f0f9efc3ae5e260cfc010
Author : Than Ngo <than@redhat.com>
Date : 2026-10-16T09:52:35+02:00
Stats : +18/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/f450ddf0ede9d57b155f0f9efc3ae5e260cfc010?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium.spec b/chromium.spec
index 5ba9321..5da3e00 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -282,7 +282,7 @@
%endif
Name: chromium
-Version: 155.0.8059.79
+Version: 155.0.8059.84
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -1988,6 +1988,19 @@ fi
%endif
%changelog
+* Fri Oct 16 2026 Than Ngo <than@redhat.com> - 155.0.8059.84-1
+- Update to 155.0.8059.84, includes 10 security fixes
+ * CVE-2026-110913: Memory corruption in DOM
+ * CVE-2026-110914: Memory corruption in Workers
+ * CVE-2026-110915: Use after free in Compositing
+ * CVE-2026-110916: Improper input validation in Desktop
+ * CVE-2026-110917: Memory corruption in SVG
+ * CVE-2026-110918: Memory corruption in Core
+ * CVE-2026-110919: Use after free in V8
+ * CVE-2026-110920: Memory corruption in V8
+ * CVE-2026-110921: Use after free in V8
+ * CVE-2026-110922: Use after free in Prerender
+
* Wed Oct 14 2026 Than Ngo <than@redhat.com> - 155.0.8059.79-1
- Update to 155.0.8059.39, includes 37 security fixes
* CVE-2026-110136: Use after free in PDF
diff --git a/sources b/sources
index 1a6dd78..7a9e079 100644
--- a/sources
+++ b/sources
@@ -3,4 +3,4 @@ SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae4
SHA512 (linux-arm64-0.28.2.tgz) = a56e000b43f78adf1cedda3d315338a79d45cc7cdd33f4d9adeaeeae045c1c9d964dad55435088ab5f319dc7e9049c38a23922659aca5b6c8805604ff768fa52
SHA512 (linux-ppc64-0.28.2.tgz) = 0805e5f83b5df5452e25df2928a77087a30b9b7314322a8c3e6859ded4d25cfa9fc90def0e5e91e6165d67f918a232b8a1f5ed75f4afd6d16af17cd6c7785e35
SHA512 (linux-x64-0.28.2.tgz) = e314d9af5154992a105b85c85a68addedcd0ad44d933e3773f45d5f3144e298179d177c8ef178ef74fb56d9bcdc3122e7d0f610d0551247e588603d517c03f1d
-SHA512 (chromium-155.0.8059.79-clean.tar.xz) = 06f5f39564d5f14a0122a26b0c1a1c07bb3500f1b6465db7beea6750dfefde6cd06179d9f0e45ba546f8fcb7d08f25adbd59aa299fec2052c86f8dd9751d3d47
+SHA512 (chromium-155.0.8059.84-clean.tar.xz) = dda4d6536338a1cd28ded92087a27cecafd68001c1b97a9add3498b1f0a592c0e63aafa56ae9fe0a3ea6e8d813aa7a0817ed62f2730200013dbf6e90cbfe0a6d
diff --git a/chromium.spec b/chromium.spec
index 0409e5d..5da3e00 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2513,6 +2513,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-14 15:15 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-14 15:15 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 0fcc16d93f2d15e28a3026cd7ad54889a323a81a
Author : Than Ngo <than@redhat.com>
Date : 2026-10-14T17:15:22+02:00
Stats : +91/-5 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/0fcc16d93f2d15e28a3026cd7ad54889a323a81a?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/.gitignore b/.gitignore
index 3dcec53..d4c5676 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,3 +47,6 @@
/rollup-linux-powerpc64le-gnu-4.22.4.tgz
/node-v22.22.0-stripped.tar.gz
/typescript-linux-ppc64.tgz
+/linux-arm64-0.28.2.tgz
+/linux-ppc64-0.28.2.tgz
+/linux-x64-0.28.2.tgz
diff --git a/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch b/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
index f24025f..168db73 100644
--- a/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
+++ b/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
@@ -973,7 +973,7 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf/syscall.cc
// Number that's not currently used by any Linux kernel ABIs.
const int kInvalidSyscallNumber = 0x351d3;
#else
-@@ -309,10 +309,54 @@ asm(// We need to be able to tell the ke
+@@ -309,10 +309,57 @@ asm(// We need to be able to tell the ke
"2:ret\n"
".cfi_endproc\n"
".size SyscallAsm, .-SyscallAsm\n"
@@ -984,9 +984,12 @@ Index: chromium-151.0.7922.47/sandbox/linux/seccomp-bpf/syscall.cc
+ "SyscallAsm:\n"
+ ".cfi_startproc\n"
+
-+ // Check if r3 is negative
++ // Check if r3 is negative. If so, do not attempt to make a
++ // system call. Instead, compute the return address that is visible
++ // to the kernel after we execute "syscall". This address can be
++ // used as a marker that BPF code inspects.
+ "cmpdi 3, 0\n"
-+ "bgt 2f\n"
++ "bge 2f\n"
+
+ // Load address of 3f into r3 and return
+ "mflr 10\n"
diff --git a/chromium.spec b/chromium.spec
index 40bd4da..5ba9321 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -59,6 +59,14 @@
%global build_headless 0
%endif
+# Temporarily disable system_esbuild by default for the epel build
+# re-enable it once esbuild has been updated
+%global system_esbuild 1
+%global esbuild_version 0.28.2
+%if 0%{?rhel}
+%global system_esbuild 0
+%endif
+
# set nodejs_version
%global nodejs_version v22.22.0
@@ -274,7 +282,7 @@
%endif
Name: chromium
-Version: 155.0.8059.39
+Version: 155.0.8059.79
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -579,8 +587,17 @@ Source13: nodejs-sources.sh
BuildRequires: openssl-devel
%endif
+# License - Apache-2.0, https://github.com/microsoft/TypeScript?tab=Apache-2.0-1-ov-file
# TypeScript for ppc64le
Source14: https://github.com/microsoft/TypeScript/releases/download/v7.0.2/typescript-linux-ppc64.tgz
+
+# License - MIT License, https://github.com/evanw/esbuild/blob/main/LICENSE.md
+%if ! %{system_esbuild}
+Source15: https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-%{esbuild_version}.tgz
+Source16: https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-%{esbuild_version}.tgz
+Source17: https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-%{esbuild_version}.tgz
+%endif
+
BuildRequires: golang
BuildRequires: clang
BuildRequires: clang-tools-extra
@@ -904,8 +921,10 @@ BuildRequires: simdutf-devel
%endif
# esbuild is needed
+%if %{system_esbuild}
BuildRequires: golang-github-evanw-esbuild
BuildRequires: nodejs-esbuild
+%endif
# There is a hardcoded check for nss 3.26 in the chromium code (crypto/nss_util.cc)
Requires: nss%{_isa} >= 3.26
@@ -1288,8 +1307,23 @@ mkdir -p third_party/node/linux/node-linux-x64/bin
# Add correct path for esbuild binary
mkdir -p third_party/devtools-frontend/src/third_party/esbuild
+%if %{system_esbuild}
ln -s $(which esbuild) third_party/devtools-frontend/src/third_party/esbuild/esbuild
cp -a /usr/lib/node_modules/*esbuild* third_party/devtools-frontend/src/node_modules/
+%else
+%ifarch x86_64
+tar xf %{SOURCE15} -C third_party/devtools-frontend/src/third_party/
+%endif
+%ifarch ppc64le
+tar xf %{SOURCE16} -C third_party/devtools-frontend/src/third_party/
+%endif
+%ifarch aarch64
+tar xf %{SOURCE17} -C third_party/devtools-frontend/src/third_party/
+%endif
+pushd third_party/devtools-frontend/src/third_party/esbuild
+ln -s ../package/bin/esbuild .
+popd
+%endif
# Remove bundle gn and replace it with a system gn or bootstrap gn as it is x86_64 and causes
# FTBFS on other arch like aarch64/ppc64le
@@ -1954,6 +1988,46 @@ fi
%endif
%changelog
+* Wed Oct 14 2026 Than Ngo <than@redhat.com> - 155.0.8059.79-1
+- Update to 155.0.8059.39, includes 37 security fixes
+ * CVE-2026-110136: Use after free in PDF
+ * CVE-2026-110137: Use after free in WebRTC
+ * CVE-2026-110138: Use after free in ShapeDetection
+ * CVE-2026-110139: Use after free in Media
+ * CVE-2026-110140: Type confusion in V8
+ * CVE-2026-110141: Observable discrepancy in Media
+ * CVE-2026-110142: Use after free in FileSystem
+ * CVE-2026-110143: Use of uninitialized variable in ThirdParty lmza_sdk
+ * CVE-2026-110144: Incorrect authorization in Mojo
+ * CVE-2026-110145: Use after free in Passwords
+ * CVE-2026-110146: Information leak in Passwords
+ * CVE-2026-110147: Use after free in PDF
+ * CVE-2026-110148: Use after free in SVG
+ * CVE-2026-110149: Use after free in Browser
+ * CVE-2026-110150: Privilege elevation in Installer
+ * CVE-2026-110151: Use after free in Media
+ * CVE-2026-110152: Buffer overflow in ANGLE
+ * CVE-2026-110153: Use after free in Media
+ * CVE-2026-110154: Use after free in Canvas
+ * CVE-2026-110155: Buffer overflow in PDFium
+ * CVE-2026-110156: Incorrect reference resolution in Extensions
+ * CVE-2026-110157: Use after free in SVG
+ * CVE-2026-110158: Use after free in Passwords
+ * CVE-2026-110159: Incorrect authorization in Updater
+ * CVE-2026-110160: Missing authorization in ReadingMode
+ * CVE-2026-110161: Use after free in Network
+ * CVE-2026-110162: Use after free in Desktop
+ * CVE-2026-110163: Use after free in DOM
+ * CVE-2026-110164: Use after free in DOM
+ * CVE-2026-110165: Use after free in Core
+ * CVE-2026-110166: Buffer overflow in Animation
+ * CVE-2026-110167: Use after free in Media
+ * CVE-2026-110168: Use after free in V8
+ * CVE-2026-110169: Use after free in V8
+ * CVE-2026-110170: Use after free in Bindings
+ * CVE-2026-110171: Use after free in Media
+ * CVE-2026-110172: Use after free in Media
+
* Sun Oct 11 2026 Than Ngo <than@redhat.com> - 155.0.8059.39-1
- Update to 155.0.8059.39, includes 247 security fixes
* CVE-2026-102322: Incorrect Authorization in SiteIsolation
diff --git a/sources b/sources
index e066e83..1a6dd78 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,6 @@
SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae45081916878b023ca221d3008d5f00f5a1178274bc09640bc6e20251d2555c31310ded8d9dbf0d56e742288
-SHA512 (chromium-155.0.8059.39-clean.tar.xz) = 0c7b33f692b6665c642e0a9bc8e78769cc6f7e0be69593804591d47caf119498fc21f37441f1cfa82b719ffd92357c37b222bcc8e16a0c71ef7d516cb31fbf90
+SHA512 (linux-arm64-0.28.2.tgz) = a56e000b43f78adf1cedda3d315338a79d45cc7cdd33f4d9adeaeeae045c1c9d964dad55435088ab5f319dc7e9049c38a23922659aca5b6c8805604ff768fa52
+SHA512 (linux-ppc64-0.28.2.tgz) = 0805e5f83b5df5452e25df2928a77087a30b9b7314322a8c3e6859ded4d25cfa9fc90def0e5e91e6165d67f918a232b8a1f5ed75f4afd6d16af17cd6c7785e35
+SHA512 (linux-x64-0.28.2.tgz) = e314d9af5154992a105b85c85a68addedcd0ad44d933e3773f45d5f3144e298179d177c8ef178ef74fb56d9bcdc3122e7d0f610d0551247e588603d517c03f1d
+SHA512 (chromium-155.0.8059.79-clean.tar.xz) = 06f5f39564d5f14a0122a26b0c1a1c07bb3500f1b6465db7beea6750dfefde6cd06179d9f0e45ba546f8fcb7d08f25adbd59aa299fec2052c86f8dd9751d3d47
diff --git a/chromium.spec b/chromium.spec
index 7fcc860..5ba9321 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2500,6 +2500,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-11 8:08 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-11 8:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 0f042b3d046a4099e68543461df33ef2dbd7447c
Author : Than Ngo <than@redhat.com>
Date : 2026-10-11T10:08:22+02:00
Stats : +121/-118 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/0f042b3d046a4099e68543461df33ef2dbd7447c?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium-154-rust-1.88-enable-unstable_features.patch b/chromium-154-rust-1.88-enable-unstable_features.patch
deleted file mode 100644
index 100b643..0000000
--- a/chromium-154-rust-1.88-enable-unstable_features.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-error[E0658]: the target feature `avx512f` is currently unstable
- --> ../../third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/x86_64/avx512.rs:123:26
- |
-123 | #[target_feature(enable = "avx512f")]
- | ^^^^^^^^^^^^^^^^^^
- |
- = note: see issue #44839 <https://github.com/rust-lang/rust/issues/44839> for more information
- = help: add `#![feature(avx512_target_feature)]` to the crate attributes to enable
- = note: this compiler was built on 2025-06-23; consider upgrading it if it is out of date
-
-Fix FTBFS on el9
-
-diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs
---- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs 2026-02-15 20:10:02.848196172 +0100
-@@ -4,6 +4,8 @@
- // license that can be found in the LICENSE file.
-
- #![allow(clippy::too_many_arguments)]
-+#![feature(avx512_target_feature)]
-+#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
-
- use std::{
- fmt::Debug,
-diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs
---- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs 2026-02-15 20:09:43.548731085 +0100
-@@ -3,6 +3,9 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-+#![feature(avx512_target_feature)]
-+#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
-+
- mod idct2d;
- mod reinterpreting_dct2d;
- pub mod transform;
-diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs
---- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs 2026-02-15 20:11:01.678559809 +0100
-@@ -3,6 +3,10 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-+#![feature(avx512_target_feature)]
-+#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
-+#![feature(non_null_from_ref)]
-+
- #![deny(unsafe_code)]
- pub mod api;
- pub mod bit_reader;
-diff -up 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn
---- 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn 2026-02-15 20:15:51.823722639 +0100
-@@ -36,6 +36,10 @@ cargo_crate("lib") {
-
- allow_unsafe = true
-
-+ rustflags = [
-+ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
-+ ]
-+
- features = [
- "all-simd",
- "avx",
-@@ -69,6 +73,7 @@ cargo_crate("lib") {
- # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
- # `gnrt_config.toml`).
- _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
-+ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
- _configs_to_add += [ "//build/config/compiler:optimize" ]
-
- # Applying config changes.
-diff -up 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn
---- 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn 2026-02-15 20:17:33.887730035 +0100
-@@ -45,6 +45,10 @@ cargo_crate("lib") {
-
- allow_unsafe = true
-
-+ rustflags = [
-+ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
-+ ]
-+
- deps = [ "//third_party/rust/jxl_simd/v0_6:lib" ]
-
- # Only for usage from third-party crates. Add the crate to
-@@ -72,6 +76,7 @@ cargo_crate("lib") {
- # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
- # `gnrt_config.toml`).
- _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
-+ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
- _configs_to_add += [ "//build/config/compiler:optimize" ]
-
- # Applying config changes.
-diff -up 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn
---- 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn 2026-02-15 20:16:47.026490882 +0100
-@@ -169,6 +169,10 @@ cargo_crate("lib") {
-
- allow_unsafe = true
-
-+ rustflags = [
-+ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature,non_null_from_ref",
-+ ]
-+
- deps = [
- "//third_party/rust/array_init/v2:lib",
- "//third_party/rust/byteorder/v1:lib",
-@@ -201,6 +205,7 @@ cargo_crate("lib") {
- # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
- # `gnrt_config.toml`).
- _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
-+ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
- _configs_to_add += [ "//build/config/compiler:optimize" ]
-
- # Applying config changes.
diff --git a/chromium-155-rust-1.88-enable-unstable_features.patch b/chromium-155-rust-1.88-enable-unstable_features.patch
new file mode 100644
index 0000000..a165b91
--- /dev/null
+++ b/chromium-155-rust-1.88-enable-unstable_features.patch
@@ -0,0 +1,117 @@
+error[E0658]: the target feature `avx512f` is currently unstable
+ --> ../../third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_7/src/x86_64/avx512.rs:123:26
+ |
+123 | #[target_feature(enable = "avx512f")]
+ | ^^^^^^^^^^^^^^^^^^
+ |
+ = note: see issue #44839 <https://github.com/rust-lang/rust/issues/44839> for more information
+ = help: add `#![feature(avx512_target_feature)]` to the crate attributes to enable
+ = note: this compiler was built on 2025-06-23; consider upgrading it if it is out of date
+
+Fix FTBFS on el9
+
+diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_7/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_7/src/lib.rs
+--- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_7/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_7/src/lib.rs 2026-02-15 20:10:02.848196172 +0100
+@@ -4,6 +4,8 @@
+ // license that can be found in the LICENSE file.
+
+ #![allow(clippy::too_many_arguments)]
++#![feature(avx512_target_feature)]
++#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
+
+ use std::{
+ fmt::Debug,
+diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_7/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_7/src/lib.rs
+--- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_7/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_7/src/lib.rs 2026-02-15 20:09:43.548731085 +0100
+@@ -3,6 +3,9 @@
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+
++#![feature(avx512_target_feature)]
++#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
++
+ mod idct2d;
+ mod reinterpreting_dct2d;
+ pub mod transform;
+diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_7/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_7/src/lib.rs
+--- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_7/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_7/src/lib.rs 2026-02-15 20:11:01.678559809 +0100
+@@ -3,6 +3,10 @@
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+
++#![feature(avx512_target_feature)]
++#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
++#![feature(non_null_from_ref)]
++
+ #![deny(unsafe_code)]
+ pub mod api;
+ pub mod bit_reader;
+diff -up 153.0.8010.36/third_party/rust/jxl_simd/v0_7/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_simd/v0_7/BUILD.gn
+--- 153.0.8010.36/third_party/rust/jxl_simd/v0_7/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/jxl_simd/v0_7/BUILD.gn 2026-02-15 20:15:51.823722639 +0100
+@@ -36,6 +36,10 @@ cargo_crate("lib") {
+
+ allow_unsafe = true
+
++ rustflags = [
++ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
++ ]
++
+ features = [
+ "all-simd",
+ "avx",
+@@ -69,6 +73,7 @@ cargo_crate("lib") {
+ # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
+ # `gnrt_config.toml`).
+ _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
++ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
+ _configs_to_add += [ "//build/config/compiler:optimize" ]
+
+ # Applying config changes.
+diff -up 153.0.8010.36/third_party/rust/jxl_transforms/v0_7/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_transforms/v0_7/BUILD.gn
+--- 153.0.8010.36/third_party/rust/jxl_transforms/v0_7/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/jxl_transforms/v0_7/BUILD.gn 2026-02-15 20:17:33.887730035 +0100
+@@ -45,6 +45,10 @@ cargo_crate("lib") {
+
+ allow_unsafe = true
+
++ rustflags = [
++ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
++ ]
++
+ deps = [ "//third_party/rust/jxl_simd/v0_7:lib" ]
+
+ # Only for usage from third-party crates. Add the crate to
+@@ -72,6 +76,7 @@ cargo_crate("lib") {
+ # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
+ # `gnrt_config.toml`).
+ _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
++ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
+ _configs_to_add += [ "//build/config/compiler:optimize" ]
+
+ # Applying config changes.
+diff -up 153.0.8010.36/third_party/rust/jxl/v0_7/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl/v0_7/BUILD.gn
+--- 153.0.8010.36/third_party/rust/jxl/v0_7/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/jxl/v0_7/BUILD.gn 2026-02-15 20:16:47.026490882 +0100
+@@ -169,6 +169,10 @@ cargo_crate("lib") {
+
+ allow_unsafe = true
+
++ rustflags = [
++ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature,non_null_from_ref",
++ ]
++
+ deps = [
+ "//third_party/rust/array_init/v2:lib",
+ "//third_party/rust/byteorder/v1:lib",
+@@ -201,6 +205,7 @@ cargo_crate("lib") {
+ # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
+ # `gnrt_config.toml`).
+ _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
++ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
+ _configs_to_add += [ "//build/config/compiler:optimize" ]
+
+ # Applying config changes.
diff --git a/chromium.spec b/chromium.spec
index 5be9137..40bd4da 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -368,7 +368,7 @@ Patch141: chromium-118-dma_buf_export_sync_file-conflict.patch
# Fix FTBFS with rustc-1.88 on el9 and epel10.1
Patch142: chromium-149-rust-1.88-build-error.patch
-Patch143: chromium-154-rust-1.88-enable-unstable_features.patch
+Patch143: chromium-155-rust-1.88-enable-unstable_features.patch
Patch144: chromium-146-rust-1.88-undefined-symbol.patch
# add correct path for Qt6Gui header and libs
diff --git a/chromium.spec b/chromium.spec
index d73188d..40bd4da 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2426,6 +2426,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-11 7:45 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-11 7:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 2f26a8696b6c09acba5835d92627e074ff80dc83
Author : Than Ngo <than@redhat.com>
Date : 2026-10-11T09:45:23+02:00
Stats : +25406/-24709 in 10 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/2f26a8696b6c09acba5835d92627e074ff80dc83?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch b/0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
index f8e1a9d..1733d70 100644
--- a/0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
+++ b/0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
@@ -8,15 +8,15 @@ Subject: [PATCH] Force baseline POWER8 / AltiVec / VSX CPU features when on a
BUILD.gn | 6 ++++++
1 file changed, 6 insertions(+)
-Index: chromium-145.0.7632.45/v8/BUILD.gn
+Index: chromium-155.0.8059.39/v8/BUILD.gn
===================================================================
---- chromium-145.0.7632.45.orig/v8/BUILD.gn
-+++ chromium-145.0.7632.45/v8/BUILD.gn
-@@ -1607,7 +1607,14 @@ config("toolchain") {
+--- chromium-155.0.8059.39.orig/v8/BUILD.gn
++++ chromium-155.0.8059.39/v8/BUILD.gn
+@@ -1775,7 +1775,14 @@ config("toolchain") {
if (v8_current_cpu == "ppc64") {
defines += [ "V8_TARGET_ARCH_PPC64" ]
cflags += [ "-ffp-contract=off" ]
-- if (current_os == "aix" && !is_clang) {
+- if (!v8_target_is_simulator) {
+ if (current_os == "linux") {
+ cflags += [
+ # Enable usage of AltiVec, VSX, and other POWER8 and higher features
@@ -24,7 +24,7 @@ Index: chromium-145.0.7632.45/v8/BUILD.gn
+ "-maltivec",
+ "-mvsx",
+ ]
-+ } else if (current_os == "aix" && !is_clang) {
- cflags += [
- # Work around AIX ceil, trunc and round oddities.
- "-mcpu=power5+",
++ } else if (!v8_target_is_simulator) {
+ cflags += [ "-mcpu=pwr9" ]
+ }
+ }
diff --git a/0002-regenerate-xnn-buildgn.patch b/0002-regenerate-xnn-buildgn.patch
index 799c948..92ba829 100644
--- a/0002-regenerate-xnn-buildgn.patch
+++ b/0002-regenerate-xnn-buildgn.patch
@@ -6,10 +6,10 @@ This causes various toolchain failures of the form:
While resolving toolchains for target @@rules_python+//python:current_py_toolchain
@@bazel_tools//tools/python:toolchain_type
-Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+Index: chromium-155.0.8059.39/third_party/xnnpack/BUILD.gn
===================================================================
---- chromium-154.0.8037.44.orig/third_party/xnnpack/BUILD.gn
-+++ chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+--- chromium-155.0.8059.39.orig/third_party/xnnpack/BUILD.gn
++++ chromium-155.0.8059.39/third_party/xnnpack/BUILD.gn
@@ -34,10 +34,10 @@ config("xnnpack_public_config") {
}
@@ -25,7 +25,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
}
config("xnnpack_private_config") {
-@@ -48,2186 +48,2484 @@ config("xnnpack_private_config") {
+@@ -48,2196 +48,2494 @@ config("xnnpack_private_config") {
]
}
@@ -1896,6 +1896,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ":pf32-gemm_arch=armv8.2-a+sve+sve2",
+ ":pf32-igemm_arch=armv8.2-a+sve+sve2",
+ ":pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2",
++ ":pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2",
+ ":pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2",
+ ":qb4-packw_arch=armv8.2-a+dotprod",
+ ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod",
@@ -1936,6 +1937,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2",
+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod",
+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16",
++ ":qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2",
+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod",
+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16",
+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2",
@@ -2723,6 +2725,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ":pf32-gemm_arch=armv8.2-a+sve+sve2_standalone",
+ ":pf32-igemm_arch=armv8.2-a+sve+sve2_standalone",
+ ":pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2_standalone",
++ ":pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone",
+ ":pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
+ ":qb4-packw_arch=armv8.2-a+dotprod_standalone",
+ ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
@@ -2763,6 +2766,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
++ ":qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2_standalone",
+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone",
+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone",
@@ -2975,6 +2979,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ":pf32-gemm_arch=armv8.2-a+sve+sve2",
- ":pf32-igemm_arch=armv8.2-a+sve+sve2",
- ":pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2",
+- ":pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2",
- ":pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2",
- ":qb4-packw_arch=armv8.2-a+dotprod",
- ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod",
@@ -3015,6 +3020,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2",
- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod",
- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16",
+- ":qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2",
- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod",
- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16",
- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2",
@@ -3314,8 +3320,11 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ":qu8-vmul_riscv64",
+ ":qu8-vmulc_arch=rv64gcv-abi=lp64d",
+ ":qu8-vmulc_riscv64",
++ ":qu8-vprelu_arch=rv64gcv-abi=lp64d",
+ ":qu8-vprelu_riscv64",
++ ":qu8-vpreluc_arch=rv64gcv-abi=lp64d",
+ ":qu8-vpreluc_riscv64",
++ ":qu8-vrpreluc_arch=rv64gcv-abi=lp64d",
+ ":qu8-vrpreluc_riscv64",
+ ":reference_riscv64",
+ ":s8-ibilinear_riscv64",
@@ -3478,6 +3487,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ":pf32-gemm_arch=armv8.2-a+sve+sve2_standalone",
- ":pf32-igemm_arch=armv8.2-a+sve+sve2_standalone",
- ":pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2_standalone",
+- ":pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone",
- ":pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
- ":qb4-packw_arch=armv8.2-a+dotprod_standalone",
- ":qd8-bf16-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
@@ -3518,6 +3528,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
+- ":qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2_standalone",
- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone",
- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone",
@@ -3817,8 +3828,11 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ":qu8-vmul_riscv64_standalone",
+ ":qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone",
+ ":qu8-vmulc_riscv64_standalone",
++ ":qu8-vprelu_arch=rv64gcv-abi=lp64d_standalone",
+ ":qu8-vprelu_riscv64_standalone",
++ ":qu8-vpreluc_arch=rv64gcv-abi=lp64d_standalone",
+ ":qu8-vpreluc_riscv64_standalone",
++ ":qu8-vrpreluc_arch=rv64gcv-abi=lp64d_standalone",
+ ":qu8-vrpreluc_riscv64_standalone",
+ ":reference_riscv64_standalone",
+ ":s8-ibilinear_riscv64_standalone",
@@ -4079,8 +4093,11 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ":qu8-vmul_riscv64",
- ":qu8-vmulc_arch=rv64gcv-abi=lp64d",
- ":qu8-vmulc_riscv64",
+- ":qu8-vprelu_arch=rv64gcv-abi=lp64d",
- ":qu8-vprelu_riscv64",
+- ":qu8-vpreluc_arch=rv64gcv-abi=lp64d",
- ":qu8-vpreluc_riscv64",
+- ":qu8-vrpreluc_arch=rv64gcv-abi=lp64d",
- ":qu8-vrpreluc_riscv64",
- ":reference_riscv64",
- ":s8-ibilinear_riscv64",
@@ -4478,8 +4495,11 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ":qu8-vmul_riscv64_standalone",
- ":qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone",
- ":qu8-vmulc_riscv64_standalone",
+- ":qu8-vprelu_arch=rv64gcv-abi=lp64d_standalone",
- ":qu8-vprelu_riscv64_standalone",
+- ":qu8-vpreluc_arch=rv64gcv-abi=lp64d_standalone",
- ":qu8-vpreluc_riscv64_standalone",
+- ":qu8-vrpreluc_arch=rv64gcv-abi=lp64d_standalone",
- ":qu8-vrpreluc_riscv64_standalone",
- ":reference_riscv64_standalone",
- ":s8-ibilinear_riscv64_standalone",
@@ -4664,7 +4684,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
]
}
} else {
-@@ -2237,6 +2535,7 @@ if (current_cpu == "x64" || current_cpu
+@@ -2247,6 +2545,7 @@ if (current_cpu == "x64" || current_cpu
}
}
@@ -4672,7 +4692,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
if (build_with_chromium) {
source_set("xnnpack") {
public = [ "src/include/xnnpack.h" ]
-@@ -2247,39 +2546,39 @@ if (build_with_chromium) {
+@@ -2257,39 +2556,39 @@ if (build_with_chromium) {
configs += [ ":xnnpack_private_config" ]
sources = [
@@ -4741,7 +4761,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
public_configs = [ ":xnnpack_public_config" ]
}
-@@ -2296,39 +2595,39 @@ if (build_with_internal_optimization_gui
+@@ -2306,39 +2605,39 @@ if (build_with_internal_optimization_gui
configs += [ ":xnnpack_private_config" ]
sources = [
@@ -4810,7 +4830,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
public_configs = [ ":xnnpack_public_config" ]
-@@ -2339,67192 +2638,77971 @@ if (build_with_internal_optimization_gui
+@@ -2349,67487 +2648,78274 @@ if (build_with_internal_optimization_gui
}
if (current_cpu == "x64" || current_cpu == "x86") {
@@ -25419,6 +25439,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_chromium) {
- source_set("f32-vlog_avx512f") {
- cflags = [ "-mavx512f" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
@@ -25435,23 +25472,77 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx512skx-u16.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlog_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlog_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -25469,27 +25560,121 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx512skx-u16.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlog_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlog_f16c-fma-no-avx2") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlog_f16c-fma-no-avx2_standalone") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-f16-vcvt_f16c-no-avx2-no-fma") {
+ cflags = [
@@ -25502,23 +25687,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-f16c-u16.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlog_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
+- "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlog_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
+- "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlog_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-f16-vcvt_f16c-no-avx2-no-fma_standalone") {
@@ -25532,27 +25779,71 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-f16c-u16.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlog_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-f16-vcvt_sse2-no-sse3") {
+ cflags = [
@@ -25564,23 +25855,87 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse2-u16.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_avx512f") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-f16-vcvt_sse2-no-sse3_standalone") {
@@ -25593,27 +25948,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse2-u16.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlrelu_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
+ source_set("f32-f16-vcvt_sse4.1-no-sse4.2") {
+ cflags = [
@@ -25625,23 +25999,104 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse41-u8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_sse-no-sse2") {
+- cflags = [
+- "-mno-sse2",
+- "-msse",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlrelu_sse-no-sse2_standalone") {
+- cflags = [
+- "-mno-sse2",
+- "-msse",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-f16-vcvt_sse4.1-no-sse4.2_standalone") {
@@ -25654,27 +26109,91 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse41-u8.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlrelu_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-f16-vcvt_x64") {
+ cflags = [
@@ -25685,23 +26204,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlrelu_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-f16-vcvt_x64_standalone") {
@@ -25713,27 +26248,115 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vmulcaddc_sse-no-sse2") {
+- cflags = [
+- "-mno-sse2",
+- "-msse",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vmulcaddc_sse-no-sse2_standalone") {
+- cflags = [
+- "-mno-sse2",
+- "-msse",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vmulcaddc_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-gemm_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -25750,23 +26373,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-avx-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-avx-broadcast.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vmulcaddc_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -25784,27 +26423,120 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-avx-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-avx-broadcast.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrnd_avx512f") {
+- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
+ source_set("f32-gemm_avx512f") {
+ cflags = [
@@ -25818,12 +26550,33 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-7x16-minmax-avx512f-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-7x32-minmax-avx512f-broadcast.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -25832,9 +26585,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrnd_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-gemm_avx512f_standalone") {
@@ -25849,27 +26606,142 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-7x16-minmax-avx512f-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-7x32-minmax-avx512f-broadcast.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrnd_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrnd_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrnd_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-gemm_f16c-fma-no-avx2") {
+ cflags = [
@@ -25890,23 +26762,63 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-fma3-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-fma3-broadcast.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrnd_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrnd_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-gemm_f16c-fma-no-avx2_standalone") {
@@ -25928,27 +26840,104 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-fma3-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-fma3-broadcast.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrnd_x64_standalone") {
+- cflags = []
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-gemm_sse-no-sse2") {
+ cflags = [
@@ -25962,12 +26951,49 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-4x2c4-minmax-sse.c",
+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-sse-load1.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -25976,9 +27002,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrsqrt_avx512f") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-gemm_sse-no-sse2_standalone") {
@@ -25993,27 +27022,73 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-4x2c4-minmax-sse.c",
+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-sse-load1.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrsqrt_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-gemm_x64") {
+ cflags = [
@@ -26029,23 +27104,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrsqrt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrsqrt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrsqrt_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-gemm_x64_standalone") {
@@ -26062,27 +27199,73 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrsqrt_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-ibilinear-chw_sse-no-sse2") {
+ cflags = [
@@ -26094,23 +27277,87 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-sse-p8.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_avx512f") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-ibilinear-chw_sse-no-sse2_standalone") {
@@ -26123,27 +27370,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-sse-p8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
+ source_set("f32-ibilinear-chw_x64") {
+ cflags = [
@@ -26154,23 +27420,106 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-ibilinear-chw_x64_standalone") {
@@ -26182,27 +27531,109 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-ibilinear_sse-no-sse2") {
+ cflags = [
@@ -26214,12 +27645,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear/gen/f32-ibilinear-sse-u8.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -26228,9 +27694,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-ibilinear_sse-no-sse2_standalone") {
@@ -26243,27 +27712,71 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear/gen/f32-ibilinear-sse-u8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-ibilinear_x64") {
+ cflags = [
@@ -26274,23 +27787,87 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_avx512f") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-ibilinear_x64_standalone") {
@@ -26302,27 +27879,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
+ source_set("f32-igemm_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -26339,23 +27935,106 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-avx-broadcast.c",
+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-avx-broadcast.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_f16c-fma-no-avx2") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_f16c-fma-no-avx2_standalone") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -26373,57 +28052,139 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-avx-broadcast.c",
+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-avx-broadcast.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
+- "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-igemm_avx512f") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-avx512f-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x32-minmax-avx512f-broadcast.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x16-minmax-avx512f-broadcast.c",
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
+- "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
+- ]
++if (build_with_chromium) {
++ source_set("f32-igemm_avx512f") {
++ cflags = [
++ "-mavx512f"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-igemm/gen/f32-igemm-1x16-minmax-avx512f-broadcast.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x32-minmax-avx512f-broadcast.c",
++ "src/src/f32-igemm/gen/f32-igemm-7x16-minmax-avx512f-broadcast.c",
+ "src/src/f32-igemm/gen/f32-igemm-7x32-minmax-avx512f-broadcast.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-igemm_avx512f_standalone") {
@@ -26438,27 +28199,121 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-7x16-minmax-avx512f-broadcast.c",
+ "src/src/f32-igemm/gen/f32-igemm-7x32-minmax-avx512f-broadcast.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsqrt_avx512f") {
+- cflags = [ "-mavx512f" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-igemm_f16c-fma-no-avx2") {
+ cflags = [
@@ -26478,23 +28333,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-fma3-broadcast-prfm.c",
+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-fma3-broadcast.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsqrt_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-igemm_f16c-fma-no-avx2_standalone") {
@@ -26515,27 +28386,117 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-fma3-broadcast-prfm.c",
+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-fma3-broadcast.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsqrt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsqrt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsqrt_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-igemm_sse-no-sse2") {
+ cflags = [
@@ -26549,23 +28510,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-4x2c4-minmax-sse.c",
+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-sse-load1.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsqrt_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-igemm_sse-no-sse2_standalone") {
@@ -26580,27 +28557,119 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-4x2c4-minmax-sse.c",
+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-sse-load1.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vtanh_avx512f") {
+- cflags = [ "-mavx512f" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-igemm_x64") {
+ cflags = [
@@ -26616,23 +28685,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vtanh_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-igemm_x64_standalone") {
@@ -26649,27 +28734,133 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vtanh_f16c-fma-no-avx2") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vtanh_f16c-fma-no-avx2_standalone") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vtanh_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
+- "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-maxpool_sse2-no-sse3") {
+ cflags = [
@@ -26681,12 +28872,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-sse2-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vtanh_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
+- "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -26695,9 +28921,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vtanh_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-maxpool_sse2-no-sse3_standalone") {
@@ -26710,27 +28939,71 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-sse2-u4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vtanh_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-maxpool_x64") {
+ cflags = [
@@ -26741,23 +29014,91 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-avx.c",
+- "src/src/f32-vunary/gen/f32-vneg-avx.c",
+- "src/src/f32-vunary/gen/f32-vsqr-avx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-avx.c",
+- "src/src/f32-vunary/gen/f32-vneg-avx.c",
+- "src/src/f32-vunary/gen/f32-vsqr-avx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vunary_avx512f") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-maxpool_x64_standalone") {
@@ -26769,27 +29110,75 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
+- "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
+- "src/src/f32-vunary/gen/f32-vsqr-avx512f.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vunary_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
+- "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
+- "src/src/f32-vunary/gen/f32-vsqr-avx512f.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -26804,23 +29193,87 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx-broadcast.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vunary_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-sse2.c",
+- "src/src/f32-vunary/gen/f32-vneg-sse2.c",
+- "src/src/f32-vunary/gen/f32-vsqr-sse2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vunary_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-sse2.c",
+- "src/src/f32-vunary/gen/f32-vneg-sse2.c",
+- "src/src/f32-vunary/gen/f32-vsqr-sse2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vunary_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -26836,27 +29289,75 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx-broadcast.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
+- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
+- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vunary_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
+- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
+- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qc4w-gemm_f16c-fma-avx2") {
+ cflags = [
@@ -26870,58 +29371,242 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx2-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx2-broadcast.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx2-broadcast.c"
-+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("operators_x64") {
+- cflags = []
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/operators/argmax-pooling-nhwc.c",
+- "src/src/operators/average-pooling-nhwc.c",
+- "src/src/operators/batch-matrix-multiply-nc.c",
+- "src/src/operators/binary-elementwise-nd.c",
+- "src/src/operators/constant-pad-nd.c",
+- "src/src/operators/convolution-nchw.c",
+- "src/src/operators/convolution-nhwc.c",
+- "src/src/operators/deconvolution-nhwc.c",
+- "src/src/operators/dynamic-fully-connected-nc.c",
+- "src/src/operators/fingerprint_cache.c",
+- "src/src/operators/fingerprint_id.c",
+- "src/src/operators/fully-connected-nc.c",
+- "src/src/operators/max-pooling-nhwc.c",
+- "src/src/operators/pack-lh.c",
+- "src/src/operators/reduce-nd.c",
+- "src/src/operators/resize-bilinear-nchw.c",
+- "src/src/operators/resize-bilinear-nhwc.c",
+- "src/src/operators/rope-nthc.c",
+- "src/src/operators/slice-nd.c",
+- "src/src/operators/softmax-nc.c",
+- "src/src/operators/transpose-nd.c",
+- "src/src/operators/unary-elementwise-nc.c",
+- "src/src/operators/unpooling-nhwc.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("operators_x64_standalone") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-qc4w-gemm_f16c-fma-avx2_standalone") {
++ cflags = [
++ "-mavx2",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx2-broadcast.c",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx2-broadcast.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/operators/argmax-pooling-nhwc.c",
+- "src/src/operators/average-pooling-nhwc.c",
+- "src/src/operators/batch-matrix-multiply-nc.c",
+- "src/src/operators/binary-elementwise-nd.c",
+- "src/src/operators/constant-pad-nd.c",
+- "src/src/operators/convolution-nchw.c",
+- "src/src/operators/convolution-nhwc.c",
+- "src/src/operators/deconvolution-nhwc.c",
+- "src/src/operators/dynamic-fully-connected-nc.c",
+- "src/src/operators/fingerprint_cache.c",
+- "src/src/operators/fingerprint_id.c",
+- "src/src/operators/fully-connected-nc.c",
+- "src/src/operators/max-pooling-nhwc.c",
+- "src/src/operators/pack-lh.c",
+- "src/src/operators/reduce-nd.c",
+- "src/src/operators/resize-bilinear-nchw.c",
+- "src/src/operators/resize-bilinear-nhwc.c",
+- "src/src/operators/rope-nthc.c",
+- "src/src/operators/slice-nd.c",
+- "src/src/operators/softmax-nc.c",
+- "src/src/operators/transpose-nd.c",
+- "src/src/operators/unary-elementwise-nc.c",
+- "src/src/operators/unpooling-nhwc.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-qc4w-gemm_f16c-fma-no-avx2") {
+ cflags = [
@@ -26935,12 +29620,54 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-fma3-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-fma3-broadcast.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -26949,9 +29676,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-bf16-qb4w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc4w-gemm_f16c-fma-no-avx2_standalone") {
@@ -26966,27 +29696,73 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-fma3-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-fma3-broadcast.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-bf16-qb4w-gemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qc4w-gemm_sse4.1-no-sse4.2") {
+ cflags = [
@@ -26999,23 +29775,115 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-sse41-dup.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-sse41-dup.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc4w-gemm_sse4.1-no-sse4.2_standalone") {
@@ -27029,27 +29897,131 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-sse41-dup.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-sse41-dup.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc2w-gemm_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-qc4w-gemm_x64") {
+ cflags = [
@@ -27061,23 +30033,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc2w-gemm_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc4w-gemm_x64_standalone") {
@@ -27090,27 +30078,140 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -27125,12 +30226,48 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx-broadcast.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -27139,9 +30276,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -27157,27 +30324,141 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx-broadcast.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_f16c-fma-avx2") {
+ cflags = [
@@ -27191,23 +30472,113 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx2-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx2-broadcast.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_f16c-fma-avx2_standalone") {
@@ -27222,27 +30593,134 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx2-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx2-broadcast.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
@@ -27262,23 +30740,130 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x32-minmax-avx512skx-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-7x32-minmax-avx512skx-broadcast.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -27299,27 +30884,137 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x32-minmax-avx512skx-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-7x32-minmax-avx512skx-broadcast.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_f16c-fma-no-avx2") {
+ cflags = [
@@ -27333,23 +31028,114 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-fma3-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-fma3-broadcast.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_f16c-fma-no-avx2_standalone") {
@@ -27364,27 +31150,141 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-fma3-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-fma3-broadcast.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_sse4.1-no-sse4.2") {
+ cflags = [
@@ -27397,23 +31297,128 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-sse41-dup.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-sse41-dup.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
@@ -27427,27 +31432,125 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-sse41-dup.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-sse41-dup.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_x64") {
+ cflags = [
@@ -27459,23 +31562,128 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_x64_standalone") {
@@ -27488,57 +31696,221 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qb4w-gemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx-u32.c"
-+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qb4w-gemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
++ cflags = [
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx-u32.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qb4w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -27553,27 +31925,73 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx-u32.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qb4w-gemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_f16c-fma-avx2") {
+ cflags = [
@@ -27586,23 +32004,117 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx2-u64.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_f16c-fma-avx2_standalone") {
@@ -27616,27 +32128,127 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx2-u64.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc2w-gemm_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
@@ -27653,23 +32265,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx512skx-u128.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc2w-gemm_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -27687,27 +32315,140 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx512skx-u128.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_sse2-no-sse3") {
+ cflags = [
@@ -27719,12 +32460,48 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse2-u32.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -27733,9 +32510,41 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_sse2-no-sse3_standalone") {
@@ -27748,27 +32557,143 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse2-u32.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_sse4.1-no-sse4.2") {
+ cflags = [
@@ -27780,23 +32705,132 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse41-u32.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_sse4.1-no-sse4.2_standalone") {
@@ -27809,27 +32843,131 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse41-u32.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc4w-gemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc4w-gemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_x64") {
+ cflags = [
@@ -27841,23 +32979,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc4w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_x64_standalone") {
@@ -27870,27 +33070,73 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc4w-gemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -27904,23 +33150,113 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx-u32.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -27935,27 +33271,138 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx-u32.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qu8-vcvt_f16c-fma-avx2") {
+ cflags = [
@@ -27968,23 +33415,130 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx2-u64.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qu8-vcvt_f16c-fma-avx2_standalone") {
@@ -27998,27 +33552,131 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx2-u64.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-gemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-gemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
@@ -28035,23 +33693,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx512skx-u128.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -28069,27 +33789,75 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx512skx-u128.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-gemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qu8-vcvt_sse2-no-sse3") {
+ cflags = [
@@ -28101,23 +33869,113 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-sse2-u32.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qu8-vcvt_sse2-no-sse3_standalone") {
@@ -28130,27 +33988,138 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-sse2-u32.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-qu8-vcvt_x64") {
+ cflags = [
@@ -28162,56 +34131,267 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-qu8-vcvt_x64_standalone") {
++ cflags = [
++
+ ]
-+
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-igemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-igemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-raddstoreexpminusmax_avx512f") {
+ cflags = [
@@ -28222,23 +34402,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx512f-rr2-p5-u64-acc2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-igemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-raddstoreexpminusmax_avx512f_standalone") {
@@ -28250,27 +34492,75 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx512f-rr2-p5-u64-acc2.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-igemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx2") {
+ cflags = [
@@ -28283,23 +34573,111 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx2-rr2-p5-u32-acc2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-dwconv_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx2_standalone") {
@@ -28313,27 +34691,134 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx2-rr2-p5-u32-acc2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-dwconv_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
@@ -28350,23 +34835,110 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx256skx-rr2-p5-u32-acc2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-dwconv_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-dwconv_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-dwconv_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -28384,27 +34956,87 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx256skx-rr2-p5-u32-acc2.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-dwconv_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-dwconv_x64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-dwconv_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-raddstoreexpminusmax_sse2-no-sse3") {
+ cflags = [
@@ -28416,23 +35048,109 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-sse2-rr2-p5-u16-acc2.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f16-vcvt_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f16-vcvt_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-raddstoreexpminusmax_sse2-no-sse3_standalone") {
@@ -28445,27 +35163,111 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-sse2-rr2-p5-u16-acc2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f32-vcvt_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-raddstoreexpminusmax_x64") {
+ cflags = [
@@ -28476,12 +35278,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f32-vcvt_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -28490,9 +35327,38 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-raddstoreexpminusmax_x64_standalone") {
@@ -28504,58 +35370,215 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-rdminmax_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
+
+- if (build_with_chromium) {
+- source_set("qs8-f32-vcvt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f32-vcvt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f32-rdminmax_avx-no-avx2-no-f16c-no-fma") {
++ cflags = [
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
++ ]
++
++ sources = [
+ "src/include/xnnpack.h",
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx-u32.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f32-vcvt_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f32-vcvt_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdminmax_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -28571,27 +35594,71 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx-u32.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f32-vcvt_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rdminmax_avx512f") {
+ cflags = [
@@ -28603,23 +35670,113 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx512f-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx512f-u32.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-packw_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdminmax_avx512f_standalone") {
@@ -28632,27 +35789,138 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx512f-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx512f-u32.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-packw_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rdminmax_sse2-no-sse3") {
+ cflags = [
@@ -28665,23 +35933,54 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-sse2-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-sse2-u32.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-packw_x64") {
+- cflags = []
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-packw_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdminmax_sse2-no-sse3_standalone") {
@@ -28695,27 +35994,150 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-sse2-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-sse2-u32.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc2w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rdminmax_x64") {
+ cflags = [
@@ -28727,23 +36149,128 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc2w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdminmax_x64_standalone") {
@@ -28756,27 +36283,108 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc2w-gemm_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc2w-gemm_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc2w-gemm_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-rdsum2_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -28790,23 +36398,82 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc2w-gemm_x64_standalone") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum2_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -28821,27 +36488,129 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rdsum2_avx512f") {
+ cflags = [
@@ -28852,55 +36621,264 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx512f.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_avx512f_standalone") {
-+ cflags = [
-+ "-mavx512f"
-+ ]
-+
-+ sources = [
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-rdsum2_avx512f_standalone") {
++ cflags = [
++ "-mavx512f"
++ ]
++
++ sources = [
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx512f.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rdsum2_sse2-no-sse3") {
+ cflags = [
@@ -28912,23 +36890,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-sse2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-gemm_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-gemm_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum2_sse2-no-sse3_standalone") {
@@ -28941,27 +36981,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-sse2.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-gemm_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-rdsum2_x64") {
+ cflags = [
@@ -28972,23 +37032,113 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum2_x64_standalone") {
@@ -29000,27 +37150,129 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-packw_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-rdsum_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -29034,12 +37286,49 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx-u32.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-packw_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -29048,9 +37337,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-packw_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -29065,27 +37357,73 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx-u32.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-packw_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rdsum_avx512f") {
+ cflags = [
@@ -29096,23 +37434,114 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx512f-u64.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-dwconv_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum_avx512f_standalone") {
@@ -29124,27 +37553,137 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx512f-u64.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-dwconv_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rdsum_sse2-no-sse3") {
+ cflags = [
@@ -29156,23 +37695,113 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-sse2-u16.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-dwconv_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-dwconv_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum_sse2-no-sse3_standalone") {
@@ -29185,29 +37814,92 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-sse2-u16.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-rdsum_x64") {
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-dwconv_x64") {
+- cflags = []
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-dwconv_x64_standalone") {
+- cflags = []
++if (build_with_chromium) {
++ source_set("f32-rdsum_x64") {
+ cflags = [
+
+ ]
@@ -29216,23 +37908,115 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum_x64_standalone") {
@@ -29244,27 +38028,118 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnniint8",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-rminmax_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -29280,12 +38155,50 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-avx-u32-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-avx-u32-acc4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnniint8",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -29294,9 +38207,34 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rminmax_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -29313,27 +38251,138 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-avx-u32-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-avx-u32-acc4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rminmax_avx512f") {
+ cflags = [
@@ -29346,23 +38395,130 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-avx512f-u64-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-avx512f-u64-acc4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rminmax_avx512f_standalone") {
@@ -29376,27 +38532,131 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-avx512f-u64-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-avx512f-u64-acc4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rminmax_sse-no-sse2") {
+ cflags = [
@@ -29410,23 +38670,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-sse-u16-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-sse-u16-acc4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rminmax_sse-no-sse2_standalone") {
@@ -29441,27 +38763,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-sse-u16-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-sse-u16-acc4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-rminmax_x64") {
+ cflags = [
@@ -29474,23 +38816,111 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rminmax_x64_standalone") {
@@ -29504,57 +38934,211 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-rsum2_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-avx-u8.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnniint8",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++if (build_with_chromium) {
++ source_set("f32-rsum2_avx-no-avx2-no-f16c-no-fma") {
++ cflags = [
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rsum2/gen/f32-rsum2-avx-u8.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnniint8",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum2_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -29569,27 +39153,138 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-avx-u8.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rsum2_avx512f") {
+ cflags = [
@@ -29600,23 +39295,130 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-avx512f-u16.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum2_avx512f_standalone") {
@@ -29628,27 +39430,131 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-avx512f-u16.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-rsum2_sse2-no-sse3") {
+ cflags = [
@@ -29660,23 +39566,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-sse2-u4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum2_sse2-no-sse3_standalone") {
@@ -29689,27 +39657,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-sse2-u4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-rsum2_x64") {
+ cflags = [
@@ -29720,23 +39708,111 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum2_x64_standalone") {
@@ -29748,27 +39824,106 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qu8-packw_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-rsum_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -29782,23 +39937,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-avx-u32-acc4.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qu8-packw_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -29813,27 +39984,139 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-avx-u32-acc4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rdsum_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rdsum_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-rsum_avx512f") {
+ cflags = [
@@ -29844,12 +40127,52 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-avx512f-u32-acc2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -29858,9 +40181,32 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rdsum_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum_avx512f_standalone") {
@@ -29872,55 +40218,112 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-avx512f-u32-acc2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-rsum_sse2-no-sse3") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rdsum_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qs8-rdsum_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
+- ]
++if (build_with_chromium) {
++ source_set("f32-rsum_sse2-no-sse3") {
++ cflags = [
++ "-mno-sse3",
++ "-msse2"
++ ]
++
+ sources = [
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-sse2-u16-acc4.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rdsum_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum_sse2-no-sse3_standalone") {
@@ -29933,27 +40336,137 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-sse2-u16-acc4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rsum_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-rsum_x64") {
+ cflags = [
@@ -29964,12 +40477,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rsum_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -29978,9 +40526,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum_x64_standalone") {
@@ -29992,27 +40570,139 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-spmm_sse-no-sse2") {
+ cflags = [
@@ -30024,23 +40714,83 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-sse.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rsum_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rsum_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rsum_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-spmm_sse-no-sse2_standalone") {
@@ -30053,27 +40803,71 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-sse.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rsum_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-spmm_x64") {
+ cflags = [
@@ -30086,23 +40880,108 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vadd_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-spmm_x64_standalone") {
@@ -30116,27 +40995,131 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vadd_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -30150,23 +41133,103 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx-rational-12-10-div.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vadd_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vadd_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vadd_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -30181,12 +41244,45 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx-rational-12-10-div.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vadd_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -30198,10 +41294,19 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vadd_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vapproxgelu_avx512f") {
+ cflags = [
@@ -30212,23 +41317,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx512f-rational-12-10-div.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vadd_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_avx512f_standalone") {
@@ -30240,45 +41361,189 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx512f-rational-12-10-div.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_f16c-fma-no-avx2") {
-+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
-+ ]
+
+- if (build_with_chromium) {
+- source_set("qs8-vaddc_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++if (build_with_chromium) {
++ source_set("f32-vapproxgelu_f16c-fma-no-avx2") {
++ cflags = [
++ "-mf16c",
++ "-mfma",
++ "-mno-avx2"
++ ]
+
+ sources = [
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-fma3-rational-12-10-div.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vaddc_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -30287,9 +41552,38 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_f16c-fma-no-avx2_standalone") {
@@ -30303,27 +41597,124 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-fma3-rational-12-10-div.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vaddc_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vaddc_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vapproxgelu_sse2-no-sse3") {
+ cflags = [
@@ -30336,23 +41727,83 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2-rational-12-10-div.c",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2fma-rational-12-10-div.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vaddc_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vaddc_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vaddc_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_sse2-no-sse3_standalone") {
@@ -30366,27 +41817,73 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2-rational-12-10-div.c",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2fma-rational-12-10-div.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vaddc_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vapproxgelu_x64") {
+ cflags = [
@@ -30397,23 +41894,108 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_x64_standalone") {
@@ -30425,27 +42007,119 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vbinary_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -30477,23 +42151,103 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-avx-u16.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-avx-u16.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vbinary_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -30526,12 +42280,45 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-avx-u16.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-avx-u16.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -30543,10 +42330,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vbinary_avx512f") {
+ cflags = [
@@ -30575,23 +42370,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-avx512f-u32.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-avx512f-u32.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vbinary_avx512f_standalone") {
@@ -30621,27 +42432,135 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-avx512f-u32.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-avx512f-u32.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vbinary_sse-no-sse2") {
+ cflags = [
@@ -30668,12 +42587,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-sse-u8.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-sse-u8.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -30682,9 +42636,32 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vbinary_sse-no-sse2_standalone") {
@@ -30712,27 +42689,118 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-sse-u8.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-sse-u8.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vbinary_sse2-no-sse3") {
+ cflags = [
@@ -30746,24 +42814,84 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vpreluc-sse2-u8.c",
+ "src/src/f32-vbinary/gen/f32-vrpreluc-sse2-u8.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_x64") {
+- cflags = []
++# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vbinary_sse2-no-sse3_standalone") {
+ cflags = [
@@ -30777,27 +42905,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vpreluc-sse2-u8.c",
+ "src/src/f32-vbinary/gen/f32-vrpreluc-sse2-u8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-vbinary_x64") {
+ cflags = [
@@ -30826,23 +42973,108 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vbinary_x64_standalone") {
@@ -30872,27 +43104,106 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmul_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmul_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmul_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vclamp_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -30906,12 +43217,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-avx.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmul_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -30920,9 +43265,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmul_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vclamp_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -30937,27 +43285,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-avx.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmul_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-vclamp_avx512f") {
+ cflags = [
@@ -30968,23 +43335,108 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-avx512f.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vclamp_avx512f_standalone") {
@@ -30996,27 +43448,106 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-avx512f.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmulc_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmulc_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmulc_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vclamp_sse2-no-sse3") {
+ cflags = [
@@ -31028,12 +43559,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-sse2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmulc_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -31042,9 +43607,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmulc_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vclamp_sse2-no-sse3_standalone") {
@@ -31057,27 +43625,71 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-sse2.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmulc_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vclamp_x64") {
+ cflags = [
@@ -31088,23 +43700,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vprelu_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vprelu_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vprelu_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vclamp_x64_standalone") {
@@ -31116,27 +43790,71 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vprelu_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vcmul_avx512f") {
+ cflags = [
@@ -31147,23 +43865,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-avx512f-u32.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vpreluc_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vpreluc_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vpreluc_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcmul_avx512f_standalone") {
@@ -31175,27 +43955,71 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-avx512f-u32.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vpreluc_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vcmul_f16c-fma-no-avx2") {
+ cflags = [
@@ -31208,23 +44032,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-fma3-u16.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vrpreluc_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vrpreluc_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vrpreluc_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcmul_f16c-fma-no-avx2_standalone") {
@@ -31238,27 +44124,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-fma3-u16.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vrpreluc_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-vcmul_sse-no-sse2") {
+ cflags = [
@@ -31270,23 +44175,110 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-sse-u8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcmul_sse-no-sse2_standalone") {
@@ -31299,27 +44291,117 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-sse-u8.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-dwconv_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-dwconv_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vcmul_x64") {
+ cflags = [
@@ -31330,12 +44412,53 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -31344,9 +44467,33 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-dwconv_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcmul_x64_standalone") {
@@ -31358,27 +44505,121 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-dwconv_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-dwconv_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-dwconv_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vcopysign_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -31394,23 +44635,51 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-dwconv_x64") {
+- cflags = []
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-dwconv_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcopysign_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -31427,27 +44696,138 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-f32-vcvt_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vcopysign_avx512f") {
+ cflags = [
@@ -31460,12 +44840,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx512f.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx512f.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-f32-vcvt_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -31474,9 +44889,38 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcopysign_avx512f_standalone") {
@@ -31490,27 +44934,124 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx512f.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx512f.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-f32-vcvt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-f32-vcvt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vcopysign_sse2-no-sse3") {
+ cflags = [
@@ -31524,23 +45065,83 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-sse2.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-sse2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-f32-vcvt_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-f32-vcvt_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcopysign_sse2-no-sse3_standalone") {
@@ -31555,27 +45156,71 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-sse2.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-sse2.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-f32-vcvt_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vcopysign_x64") {
+ cflags = [
@@ -31588,23 +45233,111 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcopysign_x64_standalone") {
@@ -31618,57 +45351,247 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f32-vcos_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-avx-rational-5-4-div.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f32-vcos_avx-no-avx2-no-f16c-no-fma") {
++ cflags = [
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcos/gen/f32-vcos-avx-rational-5-4-div.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-gemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-gemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-gemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcos_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -31683,12 +45606,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-avx-rational-5-4-div.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-gemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -31700,10 +45657,19 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-gemm_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vcos_avx512f") {
+ cflags = [
@@ -31714,23 +45680,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-avx512f-rational-5-4-div.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-gemm_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcos_avx512f_standalone") {
@@ -31742,27 +45724,139 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-avx512f-rational-5-4-div.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-igemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vcos_f16c-fma-no-avx2") {
+ cflags = [
@@ -31775,12 +45869,48 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-fma3-rational-5-4-div.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-igemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -31789,9 +45919,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcos_f16c-fma-no-avx2_standalone") {
@@ -31805,27 +45965,127 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-fma3-rational-5-4-div.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-igemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-igemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vcos_sse2-no-sse3") {
+ cflags = [
@@ -31838,23 +46098,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcos/gen/f32-vcos-sse2-rational-5-4-div.c",
+ "src/src/f32-vcos/gen/f32-vcos-sse2fma-rational-5-4-div.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-igemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-igemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-igemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcos_sse2-no-sse3_standalone") {
@@ -31868,27 +46190,73 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcos/gen/f32-vcos-sse2-rational-5-4-div.c",
+ "src/src/f32-vcos/gen/f32-vcos-sse2fma-rational-5-4-div.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-igemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-vcos_x64") {
+ cflags = [
@@ -31899,23 +46267,83 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-rdsum_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-rdsum_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-rdsum_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcos_x64_standalone") {
@@ -31927,27 +46355,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-rdsum_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-velu_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -31961,23 +46408,106 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx-rr2-lut4-p4-perm-u32.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-rsum_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-rsum_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -31992,27 +46522,91 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx-rr2-lut4-p4-perm-u32.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-rsum_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-rsum_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-rsum_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
+- ]
+if (build_with_chromium) {
+ source_set("f32-velu_avx512f") {
+ cflags = [
@@ -32023,23 +46617,39 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx512f-rr1-p6-u64.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-rsum_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_avx512f_standalone") {
@@ -32051,27 +46661,135 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx512f-rr1-p6-u64.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vadd_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-velu_f16c-fma-avx2") {
+ cflags = [
@@ -32084,12 +46802,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx2-rr1-lut4-p4-perm-u32.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vadd_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -32098,9 +46851,38 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_f16c-fma-avx2_standalone") {
@@ -32114,27 +46896,124 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx2-rr1-lut4-p4-perm-u32.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vadd_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vadd_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-velu_sse2-no-sse3") {
+ cflags = [
@@ -32146,23 +47025,83 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-sse2-rr2-lut16-p3-u12.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vadd_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vadd_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vadd_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_sse2-no-sse3_standalone") {
@@ -32175,27 +47114,73 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-sse2-rr2-lut16-p3-u12.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vadd_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f32-velu_x64") {
+ cflags = [
@@ -61360,46 +76345,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-neon.c",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
++
+if (build_with_chromium) {
+ source_set("f32-rdsum_arm64") {
+ cflags = [
@@ -61454,59 +76420,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-rminmax_arm64") {
+ cflags = [
@@ -61569,45 +76489,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rsum2_arm64") {
+ cflags = [
@@ -61665,34 +76553,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-rsum_arm64") {
+ cflags = [
@@ -61747,45 +76611,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+if (build_with_chromium) {
+ source_set("f32-spmm_arm64") {
+ cflags = [
@@ -61853,8 +76685,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
+
+if (build_with_chromium) {
@@ -61884,31 +76716,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ public_configs = [ ":xnnpack_public_config" ]
+ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
-- "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_arm64_standalone") {
@@ -61935,45 +76743,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
-- "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vbinary_arm64") {
+ cflags = [
@@ -62103,13 +76879,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_x64") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-vclamp_arm64") {
+ cflags = [
@@ -62150,46 +76923,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vclamp/gen/f32-vclamp-neon.c",
+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-vcmul_arm64") {
+ cflags = [
@@ -62244,60 +76998,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vcopysign_arm64") {
+ cflags = [
@@ -62360,46 +77067,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vcos_arm64") {
+ cflags = [
@@ -62457,13 +77131,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_avx512f") {
-- cflags = [ "-mavx512f" ]
++
+if (build_with_chromium) {
+ source_set("f32-velu_arm64") {
+ cflags = [
@@ -62493,11 +77164,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ public_configs = [ ":xnnpack_public_config" ]
+ }
+}
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_arm64_standalone") {
@@ -62517,37 +77184,22 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
++
+if (build_with_chromium) {
+ source_set("f32-vexp_arm64") {
+ cflags = [
@@ -62588,29 +77240,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vexp/gen/f32-vexp-neon-rational-3-2-div.c",
+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
@@ -62627,33 +77257,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vgelu_arm64") {
+ cflags = [
@@ -62760,8 +77367,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -62773,40 +77379,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vlog_arm64") {
+ cflags = [
@@ -62864,33 +77440,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vlrelu_arm64") {
+ cflags = [
@@ -62945,44 +77498,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vmulcaddc_arm64") {
+ cflags = [
@@ -63042,13 +77564,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_x64") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-vrnd_arm64") {
+ cflags = [
@@ -63925,6 +78444,65 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
++ source_set("pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2") {
++ cflags = [
++ "-march=armv8.2-a+sve+sve2"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/pqs8-qc4w-gemm/pqs8-qc4w-gemm-32x32c4-minmax-neonsme2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
++ cflags = [
++ "-march=armv8.2-a+sve+sve2"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/pqs8-qc4w-gemm/pqs8-qc4w-gemm-32x32c4-minmax-neonsme2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
+ source_set("pqs8-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
+ cflags = [
+ "-march=armv8.2-a+sve+sve2"
@@ -66431,139 +81009,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+dotprod"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+i8mm+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2") {
++ source_set("qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2") {
+ cflags = [
+ "-march=armv8.2-a+sve+sve2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c"
++ "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-16x64c4-neonsme2.c",
++ "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-1x64c4-neonsme2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66584,17 +81038,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
++ source_set("qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
+ cflags = [
+ "-march=armv8.2-a+sve+sve2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c"
++ "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-16x64c4-neonsme2.c",
++ "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-1x64c4-neonsme2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66618,16 +81070,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod") {
++ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod") {
+ cflags = [
+ "-march=armv8.2-a+dotprod"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c"
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66648,16 +81100,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
++ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone") {
+ cflags = [
+ "-march=armv8.2-a+dotprod"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c"
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66681,14 +81133,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
++ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16") {
+ cflags = [
+ "-march=armv8.2-a+i8mm+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c"
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66709,14 +81161,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
++ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+i8mm+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c"
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66740,17 +81192,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
++ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2") {
+ cflags = [
+ "-march=armv8.2-a+sve+sve2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme2.c"
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66771,17 +81223,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
++ source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
+ cflags = [
+ "-march=armv8.2-a+sve+sve2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme2.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme.c",
-+ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme2.c"
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
++ "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66805,20 +81257,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qs8-dwconv_arm64") {
++ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod") {
+ cflags = [
-+
++ "-march=armv8.2-a+dotprod"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66839,20 +81287,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_arm64_standalone") {
++ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
+ cflags = [
-+
++ "-march=armv8.2-a+dotprod"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-rndnu-neon-mla8-ld64.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66876,14 +81320,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qs8-f16-vcvt_arch=armv8.2-a+fp16") {
++ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++ "-march=armv8.2-a+i8mm+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-neonfp16arith-u32.c"
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66904,14 +81348,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f16-vcvt_arch=armv8.2-a+fp16_standalone") {
++ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++ "-march=armv8.2-a+i8mm+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-neonfp16arith-u32.c"
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -66935,80 +81379,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-neon-u32.c",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-neon-u32.c",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qs8-packw_arch=armv8.2-a+dotprod") {
++ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
+ cflags = [
-+ "-march=armv8.2-a+dotprod"
++ "-march=armv8.2-a+sve+sve2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-goi-neondot.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-goi-neondot.c"
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme.c",
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme2.c",
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme.c",
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67029,15 +81410,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_arch=armv8.2-a+dotprod_standalone") {
++ source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+dotprod"
++ "-march=armv8.2-a+sve+sve2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-goi-neondot.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-goi-neondot.c"
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme.c",
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x64c4-neonsme2.c",
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme.c",
++ "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x64c4-neonsme2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67061,20 +81444,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qs8-packw_arm64") {
++ source_set("qs8-dwconv_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-rndnu-neon-mla8-ld64.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-rndnu-neon-mla8-ld64.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-rndnu-neon-mla8-ld64.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67095,20 +81478,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_arm64_standalone") {
++ source_set("qs8-dwconv_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-rndnu-neon-mla8-ld64.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-rndnu-neon-mla8-ld64.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-rndnu-neon-mla8-ld64.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67132,15 +81515,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_arch=armv8.2-a+dotprod") {
++ source_set("qs8-f16-vcvt_arch=armv8.2-a+fp16") {
+ cflags = [
-+ "-march=armv8.2-a+dotprod"
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-8x8c4-minmax-fp32-neondot.c"
++ "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-neonfp16arith-u32.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67161,15 +81543,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_arch=armv8.2-a+dotprod_standalone") {
++ source_set("qs8-f16-vcvt_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+dotprod"
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c4-minmax-fp32-neondot.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-8x8c4-minmax-fp32-neondot.c"
++ "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-neonfp16arith-u32.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67193,17 +81574,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_arm64") {
++ source_set("qs8-f32-vcvt_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-neon-u32.c",
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67224,17 +81603,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_arm64_standalone") {
++ source_set("qs8-f32-vcvt_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-neon-u32.c",
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67258,17 +81635,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod") {
++ source_set("qs8-packw_arch=armv8.2-a+dotprod") {
+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
++ "-march=armv8.2-a+dotprod"
+ ]
+
-+ asmflags = cflags
-+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16-minmax-fp32-asm-aarch64-neondot-ld128.S",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x16-minmax-fp32-asm-aarch64-neondot-ld128.S"
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-goi-neondot.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-goi-neondot.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67289,17 +81664,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
++ source_set("qs8-packw_arch=armv8.2-a+dotprod_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
++ "-march=armv8.2-a+dotprod"
+ ]
+
-+ asmflags = cflags
-+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16-minmax-fp32-asm-aarch64-neondot-ld128.S",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x16-minmax-fp32-asm-aarch64-neondot-ld128.S"
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-goi-neondot.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-goi-neondot.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67323,15 +81696,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_arm64") {
++ source_set("qs8-packw_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67352,15 +81730,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_arm64_standalone") {
++ source_set("qs8-packw_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67384,15 +81767,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_arm64") {
++ source_set("qs8-qc2w-gemm_arch=armv8.2-a+dotprod") {
+ cflags = [
-+
++ "-march=armv8.2-a+dotprod"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c4-minmax-fp32-neondot.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-8x8c4-minmax-fp32-neondot.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67413,15 +81796,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_arm64_standalone") {
++ source_set("qs8-qc2w-gemm_arch=armv8.2-a+dotprod_standalone") {
+ cflags = [
-+
++ "-march=armv8.2-a+dotprod"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c4-minmax-fp32-neondot.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-8x8c4-minmax-fp32-neondot.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67445,27 +81828,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_arm64") {
++ source_set("qs8-qc2w-gemm_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neon-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neon-mla8-ld128.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld128.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neon-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -67486,27 +81859,289 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_arm64_standalone") {
++ source_set("qs8-qc2w-gemm_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neon-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neon-mla8-ld128.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld128.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neon-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neonv8-mla8-ld64.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod") {
++ cflags = [
++ "-march=armv8.2-a+fp16+dotprod"
++ ]
++
++ asmflags = cflags
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16-minmax-fp32-asm-aarch64-neondot-ld128.S",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x16-minmax-fp32-asm-aarch64-neondot-ld128.S"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
++ cflags = [
++ "-march=armv8.2-a+fp16+dotprod"
++ ]
++
++ asmflags = cflags
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16-minmax-fp32-asm-aarch64-neondot-ld128.S",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x16-minmax-fp32-asm-aarch64-neondot-ld128.S"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("qs8-qc4w-gemm_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc4w-gemm_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("qs8-qc4w-packw_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc4w-packw_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("qs8-qc8w-dwconv_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-neonv8-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neon-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neonv8-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neon-mla8-ld128.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld128.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neon-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neonv8-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc8w-dwconv_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-neonv8-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neon-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neonv8-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neon-mla8-ld128.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld128.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neon-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neonv8-mla8-ld64.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -68685,337 +83320,6 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qs8-vprelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vprelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_x64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-vpreluc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vpreluc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_avx512f") {
-- cflags = [ "-mavx512f" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
+
+ deps = [
+ "//third_party/cpuinfo",
@@ -69023,4838 +83327,59 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("qs8-vrpreluc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vrpreluc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_x64") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-dwconv_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-rndnu-neon-mul8.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-rndnu-neon-mul8.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-rndnu-neon-mul8.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-rndnu-neon-mul8.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-neon-u32.c",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-neon-u32.c",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_x64") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-gemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-neon-mlal-lane.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-neon-mlal-lane.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_x64") {
-- cflags = []
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-igemm_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-neon-mlal-lane.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x8-minmax-rndnu-neon-mlal-lane.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-neon-mlal-lane.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("qu8-rdsum_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u16.c",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u32.c",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u16.c",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u32.c",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
-- "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
-- "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-rsum_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-neon-u32-acc2.c",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-neon-u32-acc2.c",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vadd_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u16.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u32.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u16.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u32.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u16.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u32.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u16.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u32.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vcvt_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-neon-u32.c",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-neon-u32.c",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vmul_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx512f.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx512f.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vmulc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-sse2.c",
-- "src/src/f32-vunary/gen/f32-vneg-sse2.c",
-- "src/src/f32-vunary/gen/f32-vsqr-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-sse2.c",
-- "src/src/f32-vunary/gen/f32-vneg-sse2.c",
-- "src/src/f32-vunary/gen/f32-vsqr-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-rndnu-neon-ld64-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vprelu_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("operators_x64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("operators_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vprelu_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("qu8-vpreluc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-bf16-qb4w-gemm_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vpreluc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-bf16-qb4w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vrpreluc_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vrpreluc_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("reference_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_x64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("reference_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+if (build_with_chromium) {
-+ source_set("s8-ibilinear_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u16.c",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u8.c",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-ibilinear_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u16.c",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u8.c",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("s8-maxpool_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("s8-rdminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-u32.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-u32.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-u32.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-u32.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("s8-rminmax_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-neon-u32-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("qs8-vprelu_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
++ ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_arm64_standalone") {
++ source_set("qs8-vprelu_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -73863,17 +83388,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2") {
+- source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma") {
- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73898,17 +83423,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2_standalone") {
+- source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73928,66 +83453,76 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
+if (build_with_chromium) {
-+ source_set("subgraph_arm64") {
++ source_set("qs8-vpreluc_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
++ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-vpreluc_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- source_set("qu8-vaddc_f16c-fma-avx2") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
+- "-mavx2",
- "-mf16c",
- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74001,40 +83536,78 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("qs8-vrpreluc_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-vrpreluc_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
++ ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- source_set("qu8-vaddc_f16c-fma-avx2_standalone") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
+- "-mavx2",
- "-mf16c",
- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74054,30 +83627,91 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
++if (build_with_chromium) {
++ source_set("qu8-dwconv_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-rndnu-neon-mul8.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-rndnu-neon-mul8.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-dwconv_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-rndnu-neon-mul8.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-rndnu-neon-mul8.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
+- "qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
- cflags = [
- "-mavx512bw",
- "-mavx512cd",
- "-mavx512dq",
- "-mavx512f",
- "-mavx512vl",
-- "-mavx512vnni",
- "-mf16c",
- "-mfma",
-- "-mgfni",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74091,75 +83725,85 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("qu8-f32-vcvt_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-neon-u32.c",
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("subgraph_arm64_standalone") {
++ source_set("qu8-f32-vcvt_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-neon-u32.c",
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
+- "qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
- cflags = [
- "-mavx512bw",
- "-mavx512cd",
- "-mavx512dq",
- "-mavx512f",
- "-mavx512vl",
-- "-mavx512vnni",
- "-mf16c",
- "-mfma",
-- "-mgfni",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74179,17 +83823,77 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
++if (build_with_chromium) {
++ source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod") {
++ cflags = [
++ "-march=armv8.2-a+fp16+dotprod"
++ ]
++
++ asmflags = cflags
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
++ cflags = [
++ "-march=armv8.2-a+fp16+dotprod"
++ ]
++
++ asmflags = cflags
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_sse2-no-sse3") {
+- source_set("qu8-vaddc_sse2-no-sse3") {
- cflags = [
- "-mno-sse3",
- "-msse2",
@@ -74197,8 +83901,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74212,6 +83915,69 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("qu8-gemm_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x8-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x8-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-neon-mlal-lane.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-gemm_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x8-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x8-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-neon-mlal-lane.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -74223,7 +83989,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_sse2-no-sse3_standalone") {
+- source_set("qu8-vaddc_sse2-no-sse3_standalone") {
- cflags = [
- "-mno-sse3",
- "-msse2",
@@ -74231,8 +83997,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74252,29 +84017,77 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
+if (build_with_chromium) {
-+ source_set("tables_arm64") {
++ source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod") {
+ cflags = [
++ "-march=armv8.2-a+fp16+dotprod"
++ ]
+
++ asmflags = cflags
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
++ cflags = [
++ "-march=armv8.2-a+fp16+dotprod"
+ ]
+
++ asmflags = cflags
++
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75-prfm.S",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2") {
+- source_set("qu8-vaddc_sse4.1-no-sse4.2") {
- cflags = [
- "-mno-sse4.2",
- "-msse4.1",
@@ -74282,8 +84095,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74297,24 +84109,81 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("qu8-igemm_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x8-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x8-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-neon-mlal-lane.c"
++ ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-igemm_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x16-minmax-rndnu16-neon-mlal-lane.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x8-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x8-minmax-rndnu-neon-mlal-lane.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-neon-mlal-lane.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2_standalone") {
+- source_set("qu8-vaddc_sse4.1-no-sse4.2_standalone") {
- cflags = [
- "-mno-sse4.2",
- "-msse4.1",
@@ -74322,8 +84191,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74343,148 +84211,89 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
++if (build_with_chromium) {
++ source_set("qu8-rdsum_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u16.c",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u32.c",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("tables_arm64_standalone") {
++ source_set("qu8-rdsum_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u16.c",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u32.c",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_x64_standalone") {
+- if (build_with_chromium) {
+- source_set("qu8-vaddc_x64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
+if (build_with_chromium) {
-+ source_set("u8-ibilinear_arm64") {
++ source_set("qu8-rsum_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u16.c",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u8.c",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-neon-u32-acc2.c",
++ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -74492,151 +84301,37 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_arm64_standalone") {
++ source_set("qu8-rsum_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u16.c",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u8.c",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++ "src/include/xnnpack.h",
++ "src/src/qu8-rsum/gen/qu8-rsum-neon-u32-acc2.c",
++ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
++ ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c",
-- ]
--
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -74644,194 +84339,88 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
++ public_configs = [ ":xnnpack_public_config" ]
+
- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_x64") {
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vaddc_x64_standalone") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
+if (build_with_chromium) {
-+ source_set("u8-lut32norm_arm64") {
++ source_set("qu8-vadd_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u16.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u32.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-lut32norm_arm64_standalone") {
++ source_set("qu8-vadd_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u16.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-neon-ld64-u32.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74858,17 +84447,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2") {
+- source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma") {
- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74883,38 +84472,84 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("u8-maxpool_arm64") {
++ source_set("qu8-vaddc_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-neon-u16.c",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u16.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u32.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-vaddc_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u16.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-neon-ld64-u32.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2_standalone") {
+- source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74934,7 +84569,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
++if (build_with_chromium) {
++ source_set("qu8-vcvt_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
++ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -74943,28 +84594,53 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-vcvt_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
++ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- source_set("qu8-vcvt_f16c-fma-avx2") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
+- "-mavx2",
- "-mf16c",
- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74978,47 +84654,80 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("qu8-vlrelu_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-neon-u32.c",
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_arm64_standalone") {
++ source_set("qu8-vlrelu_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-neon-u16.c",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-neon-u32.c",
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- source_set("qu8-vcvt_f16c-fma-avx2_standalone") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
+- "-mavx2",
- "-mf16c",
- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75038,33 +84747,77 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
++if (build_with_chromium) {
++ source_set("qu8-vmul_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-rndnu-neon-ld64-u16.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-vmul_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-rndnu-neon-ld64-u16.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- source_set("qu8-vcvt_sse2-no-sse3") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
+- "-mno-sse3",
+- "-msse2",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75078,6 +84831,59 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("qu8-vmulc_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-rndnu-neon-ld64-u16.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-vmulc_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-rndnu-neon-ld64-u16.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -75089,23 +84895,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- source_set("qu8-vcvt_sse2-no-sse3_standalone") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
+- "-mno-sse3",
+- "-msse2",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75125,41 +84923,75 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
+if (build_with_chromium) {
-+ source_set("u8-rdminmax_arm64") {
++ source_set("qu8-vprelu_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-u32.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-u32.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
++ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-vprelu_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
+- source_set("qu8-vcvt_sse4.1-no-sse4.2") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
+- "-mno-sse4.2",
+- "-msse4.1",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-sse41-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75173,14 +85005,22 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("qu8-vpreluc_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
++ ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -75188,184 +85028,37 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_arm64_standalone") {
++ source_set("qu8-vpreluc_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-u32.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-u32.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
@@ -75374,16 +85067,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_sse2-no-sse3_standalone") {
+- source_set("qu8-vcvt_sse4.1-no-sse4.2_standalone") {
- cflags = [
-- "-mno-sse3",
-- "-msse2",
+- "-mno-sse4.2",
+- "-msse4.1",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-sse41-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75403,26 +85095,67 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
+if (build_with_chromium) {
-+ source_set("u8-rminmax_arm64") {
++ source_set("qu8-vrpreluc_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-vrpreluc_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1") {
+- source_set("qu8-vcvt_ssse3-no-sse4.1") {
- cflags = [
- "-mno-sse4.1",
- "-mssse3",
@@ -75430,8 +85163,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-ssse3-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75445,24 +85177,102 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("reference_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("reference_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc"
++ ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
++
++if (build_with_chromium) {
++ source_set("s8-ibilinear_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u16.c",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u8.c",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1_standalone") {
+- source_set("qu8-vcvt_ssse3-no-sse4.1_standalone") {
- cflags = [
- "-mno-sse4.1",
- "-mssse3",
@@ -75470,8 +85280,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-ssse3-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75491,36 +85300,88 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("s8-ibilinear_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u16.c",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u8.c",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_x64") {
+- source_set("qu8-vcvt_x64") {
- cflags = []
++if (build_with_chromium) {
++ source_set("s8-maxpool_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c",
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_arm64_standalone") {
++ source_set("s8-maxpool_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-neon-u32-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c",
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
@@ -75554,103 +85415,70 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_x64_standalone") {
+- source_set("qu8-vcvt_x64_standalone") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
+if (build_with_chromium) {
-+ source_set("u8-vclamp_arm64") {
++ source_set("s8-rdminmax_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-neon-u64.c",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-u32.c",
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-u32.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("s8-rdminmax_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-u32.c",
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-u32.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75670,23 +85498,24 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2") {
+- source_set("qu8-vlrelu_avx-no-avx2-no-f16c-no-fma") {
- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75700,100 +85529,67 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("s8-rminmax_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-rminmax/gen/s8-rmax-neon-u32-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-neon-u32-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-neon-u32-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_arm64_standalone") {
++ source_set("s8-rminmax_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-neon-u64.c",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
++ "src/src/s8-rminmax/gen/s8-rmax-neon-u32-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-neon-u32-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-neon-u32-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -75805,24 +85601,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- source_set("qu8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75842,40 +85631,78 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
+if (build_with_chromium) {
-+ source_set("x16-pack-lh_arch=armv8.2-a+sve+sve2") {
++ source_set("s8-vclamp_arm64") {
+ cflags = [
-+ "-march=armv8.2-a+sve+sve2"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-pack-lh/x16-packlh-igemm-neonsme.c",
-+ "src/src/x16-pack-lh/x16-packlh-igemm-neonsme2.c",
-+ "src/src/x16-pack-lh/x16-packlh-neonsme.c",
-+ "src/src/x16-pack-lh/x16-packlh-neonsme2.c"
++ "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("s8-vclamp_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
+ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- source_set("qu8-vlrelu_f16c-fma-avx2") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
+- "-mavx2",
- "-mf16c",
- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx2-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75889,40 +85716,136 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("subgraph_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c"
++ ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("subgraph_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- source_set("qu8-vlrelu_f16c-fma-avx2_standalone") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
+- "-mavx2",
- "-mf16c",
- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx2-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75942,32 +85865,91 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
++if (build_with_chromium) {
++ source_set("tables_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("tables_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- source_set("qu8-vlrelu_sse2-no-sse3") {
- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
+- "-mno-sse3",
+- "-msse2",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse2-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75981,6 +85963,414 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (build_with_chromium) {
++ source_set("u8-ibilinear_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u16.c",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u8.c",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-ibilinear_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u16.c",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u8.c",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("u8-lut32norm_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-lut32norm_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("u8-maxpool_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-neon-u16.c",
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-maxpool_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-neon-u16.c",
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("u8-rdminmax_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-u32.c",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-u32.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-rdminmax_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-u32.c",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-u32.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("u8-rminmax_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rminmax/gen/u8-rmax-neon-u32-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-neon-u32-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-neon-u32-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-rminmax_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rminmax/gen/u8-rmax-neon-u32-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-neon-u32-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-neon-u32-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("u8-vclamp_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-vclamp/u8-vclamp-neon-u64.c",
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-vclamp_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-vclamp/u8-vclamp-neon-u64.c",
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("x16-pack-lh_arch=armv8.2-a+sve+sve2") {
++ cflags = [
++ "-march=armv8.2-a+sve+sve2"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-pack-lh/x16-packlh-igemm-neonsme.c",
++ "src/src/x16-pack-lh/x16-packlh-igemm-neonsme2.c",
++ "src/src/x16-pack-lh/x16-packlh-neonsme.c",
++ "src/src/x16-pack-lh/x16-packlh-neonsme2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x16-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
@@ -75995,131 +86385,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x16-pack-lh/x16-packlh-neonsme.c",
+ "src/src/x16-pack-lh/x16-packlh-neonsme2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("x16-packw_arm64") {
+ cflags = [
@@ -76134,85 +86420,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x16-packw_arm64_standalone") {
@@ -76228,75 +86452,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("x16-transposec_arm64") {
+ cflags = [
@@ -76308,113 +86484,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
+ "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-dec-zip-neon.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x16-transposec_arm64_standalone") {
@@ -76427,138 +86513,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
+ "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-dec-zip-neon.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("x16-x32-packw_arm64") {
+ cflags = [
@@ -76570,130 +86545,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x16-x32-packw_arm64_standalone") {
@@ -76706,131 +86574,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("x24-transposec_arm64") {
+ cflags = [
@@ -76843,85 +86607,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x24-transposec/x24-transposec-2x2-neon-tbl64.c",
+ "src/src/x24-transposec/x24-transposec-4x4-aarch64-neon-tbl128.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x24-transposec_arm64_standalone") {
@@ -76935,75 +86637,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x24-transposec/x24-transposec-2x2-neon-tbl64.c",
+ "src/src/x24-transposec/x24-transposec-4x4-aarch64-neon-tbl128.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("x32-pack-lh_arch=armv8.2-a+sve+sve2") {
+ cflags = [
@@ -77017,111 +86671,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x32-pack-lh/x32-packlh-neonsme.c",
+ "src/src/x32-pack-lh/x32-packlh-neonsme2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x32-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
@@ -77134,136 +86700,29 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x32-pack-lh/x32-packlh-igemm-neonsme.c",
+ "src/src/x32-pack-lh/x32-packlh-igemm-neonsme2.c",
+ "src/src/x32-pack-lh/x32-packlh-neonsme.c",
-+ "src/src/x32-pack-lh/x32-packlh-neonsme2.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++ "src/src/x32-pack-lh/x32-packlh-neonsme2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
+if (build_with_chromium) {
+ source_set("x32-packw_arm64") {
+ cflags = [
@@ -77287,110 +86746,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-neon-ld4lane-u4-prfm.c",
+ "src/src/x32-packw/gen/x32-packw-x8s4-gemm-goi-neon-ld4lane-u4-prfm.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x32-packw_arm64_standalone") {
@@ -77415,87 +86787,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-neon-ld4lane-u4-prfm.c",
+ "src/src/x32-packw/gen/x32-packw-x8s4-gemm-goi-neon-ld4lane-u4-prfm.c"
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_x64") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("x32-transposec_arm64") {
+ cflags = [
@@ -77508,109 +86820,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x32-transposec/gen/x32-transposec-4x4-reuse-dec-zip-neon.c",
+ "src/src/x32-transposec/x32-transposec-4x4-aarch64-neon-tbl128.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f16-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f16-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x32-transposec_arm64_standalone") {
@@ -77624,111 +86850,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x32-transposec/gen/x32-transposec-4x4-reuse-dec-zip-neon.c",
+ "src/src/x32-transposec/x32-transposec-4x4-aarch64-neon-tbl128.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("x32-unpool_arm64") {
+ cflags = [
@@ -77740,47 +86882,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x32-unpool/x32-unpool-neon.c",
+ "src/src/x32-unpool/x32-unpool-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -77789,38 +86896,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x32-unpool_arm64_standalone") {
@@ -77833,124 +86911,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x32-unpool/x32-unpool-neon.c",
+ "src/src/x32-unpool/x32-unpool-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("x64-transposec_arm64") {
+ cflags = [
@@ -77963,83 +86944,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x64-transposec_arm64_standalone") {
@@ -78053,71 +86974,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("x8-lut_arm64") {
+ cflags = [
@@ -78129,113 +87006,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x8-lut_arm64_standalone") {
@@ -78248,138 +87035,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2") {
+ cflags = [
@@ -78393,54 +87069,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x8-pack-lh/x8-packlh-neonsme.c",
+ "src/src/x8-pack-lh/x8-packlh-neonsme2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_x64") {
-- cflags = []
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
@@ -78455,150 +87100,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x8-pack-lh/x8-packlh-neonsme.c",
+ "src/src/x8-pack-lh/x8-packlh-neonsme2.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("x8-packq_arm64") {
+ cflags = [
@@ -78611,128 +87133,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x8-packq_arm64_standalone") {
@@ -78746,108 +87163,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("x8-packw_arm64") {
+ cflags = [
@@ -78865,82 +87201,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_x64_standalone") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x8-packw_arm64_standalone") {
@@ -78959,129 +87236,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("x8-transposec_arm64") {
+ cflags = [
@@ -79093,116 +87268,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-dec-zip-neon.c",
+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x8-transposec_arm64_standalone") {
@@ -79215,143 +87297,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-dec-zip-neon.c",
+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("xx-copy_arm64") {
+ cflags = [
@@ -79362,85 +87328,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("xx-copy_arm64_standalone") {
@@ -79452,47 +87356,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("xx-fill_arm64") {
+ cflags = [
@@ -79504,113 +87388,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/xx-fill/xx-fill-neon-u64.c",
+ "src/src/xx-fill/xx-fill-scalar-u16.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("xx-fill_arm64_standalone") {
@@ -79623,129 +87417,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/xx-fill/xx-fill-neon-u64.c",
+ "src/src/xx-fill/xx-fill-scalar-u16.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
+if (build_with_chromium) {
+ source_set("xx-pad_arm64") {
+ cflags = [
@@ -79757,49 +87449,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/xx-pad/xx-pad-p16-neon-u16.c",
+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -79808,12 +87463,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("xx-pad_arm64_standalone") {
@@ -79826,47 +87478,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/xx-pad/xx-pad-p16-neon-u16.c",
+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("xx-transposev_arm64") {
+ cflags = [
@@ -79877,113 +87509,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("xx-transposev_arm64_standalone") {
@@ -79995,125 +87537,29 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+}
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+if (current_cpu == "riscv64") {
+if (build_with_chromium) {
+ source_set("bf16-f32-vcvt_riscv64") {
@@ -80125,124 +87571,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-f32-vcvt_riscv64_standalone") {
@@ -80254,112 +87599,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("bf16-qs8-vcvt_riscv64") {
+ cflags = [
@@ -80370,84 +87630,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_x64_standalone") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-qs8-vcvt_riscv64_standalone") {
@@ -80459,129 +87658,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("bf16-qu8-vcvt_riscv64") {
+ cflags = [
@@ -80592,113 +87689,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-qu8-vcvt_riscv64_standalone") {
@@ -80710,274 +87717,56 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("bf16-rminmax_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
++if (build_with_chromium) {
++ source_set("bf16-rminmax_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-rminmax_riscv64_standalone") {
@@ -80991,131 +87780,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("bf16-vunary_riscv64") {
+ cflags = [
@@ -81126,85 +87811,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-vunary_riscv64_standalone") {
@@ -81216,73 +87839,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("configs_riscv64") {
+ cflags = [
@@ -81316,113 +87893,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/configs/xx-fill-config.c",
+ "src/src/configs/xx-pad-config.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("configs_riscv64_standalone") {
@@ -81457,130 +87944,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/configs/xx-fill-config.c",
+ "src/src/configs/xx-pad-config.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("enums_riscv64") {
+ cflags = [
@@ -81595,116 +87979,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/enums/node-type.c",
+ "src/src/enums/operator-type.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("enums_riscv64_standalone") {
@@ -81720,143 +88011,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/enums/node-type.c",
+ "src/src/enums/operator-type.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-avgpool_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -81868,130 +88043,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-rvvfp16arith-u2v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-avgpool_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -82004,127 +88072,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-rvvfp16arith-u2v.c"
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-avgpool_riscv64") {
+ cflags = [
@@ -82135,39 +88103,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-avgpool_riscv64_standalone") {
@@ -82179,144 +88131,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-dwconv_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -82331,53 +88166,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-dwconv/gen/f16-dwconv-4p8vc-minmax-rvvfp16arith.c",
+ "src/src/f16-dwconv/gen/f16-dwconv-9p8vc-minmax-rvvfp16arith.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -82386,12 +88180,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qu8-packw_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-dwconv_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -82407,73 +88198,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-dwconv/gen/f16-dwconv-4p8vc-minmax-rvvfp16arith.c",
+ "src/src/f16-dwconv/gen/f16-dwconv-9p8vc-minmax-rvvfp16arith.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qu8-packw_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-dwconv_riscv64") {
+ cflags = [
@@ -82487,115 +88232,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-dwconv_riscv64_standalone") {
@@ -82610,129 +88263,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -82744,39 +88295,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-rvvfp16arith-u4v.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -82789,137 +88324,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-rvvfp16arith-u4v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-f32-vcvt_riscv64") {
+ cflags = [
@@ -82930,47 +88355,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -82979,39 +88369,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-f32-vcvt_riscv64_standalone") {
@@ -83023,139 +88383,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -83167,83 +88415,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-rvvfp16arith-u4v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -83256,71 +88444,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-rvvfp16arith-u4v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -83332,108 +88476,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-rvvfp16arith-u4v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -83446,131 +88505,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-rvvfp16arith-u4v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -83582,103 +88537,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-rvvfp16arith-u4v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -83691,45 +88566,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-rvvfp16arith-u4v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -83741,19 +88583,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -83765,39 +88598,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-rvvfp16arith-u4v.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -83810,136 +88627,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-rvvfp16arith-u4v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-gemm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -83952,47 +88660,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-gemm/gen/f16-gemm-1x4v-minmax-rvvfp16arith.c",
+ "src/src/f16-gemm/gen/f16-gemm-7x4v-minmax-rvvfp16arith.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -84001,38 +88674,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -84046,124 +88690,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-gemm/gen/f16-gemm-1x4v-minmax-rvvfp16arith.c",
+ "src/src/f16-gemm/gen/f16-gemm-7x4v-minmax-rvvfp16arith.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-igemm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -84176,83 +88723,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-igemm/gen/f16-igemm-1x4v-minmax-rvvfp16arith.c",
+ "src/src/f16-igemm/gen/f16-igemm-7x4v-minmax-rvvfp16arith.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -84266,73 +88753,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-igemm/gen/f16-igemm-1x4v-minmax-rvvfp16arith.c",
+ "src/src/f16-igemm/gen/f16-igemm-7x4v-minmax-rvvfp16arith.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-maxpool_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -84344,108 +88785,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-rvvfp16arith-u2v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-maxpool_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -84458,119 +88814,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-rvvfp16arith-u2v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-qs8-vcvt_riscv64") {
+ cflags = [
@@ -84581,103 +88845,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-qs8-vcvt_riscv64_standalone") {
@@ -84689,45 +88873,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -84739,18 +88890,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-qu8-vcvt_riscv64") {
+ cflags = [
@@ -84761,39 +88904,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-qu8-vcvt_riscv64_standalone") {
@@ -84805,135 +88932,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -84945,47 +88964,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-rvvfp16arith-rr2-p2-u4v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -84994,32 +88978,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -85032,118 +88993,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-rvvfp16arith-rr2-p2-u4v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -85156,83 +89026,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-rvvfp16arith-u8v.c",
+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-rvvfp16arith-u8v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -85246,46 +89056,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-rvvfp16arith-u8v.c",
+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-rvvfp16arith-u8v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f16-rdminmax_riscv64") {
+ cflags = [
@@ -85297,108 +89088,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-rdminmax_riscv64_standalone") {
@@ -85411,106 +89117,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-rminmax_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -85524,46 +89151,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-rminmax/gen/f16-rmin-rvvfp16arith-u8v.c",
+ "src/src/f16-rminmax/gen/f16-rminmax-rvvfp16arith-u8v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -85572,12 +89165,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-rminmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -85592,46 +89182,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-rminmax/gen/f16-rmin-rvvfp16arith-u8v.c",
+ "src/src/f16-rminmax/gen/f16-rminmax-rvvfp16arith-u8v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f16-rminmax_riscv64") {
+ cflags = [
@@ -85644,108 +89215,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-rminmax_riscv64_standalone") {
@@ -85759,106 +89245,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-spmm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -85870,46 +89277,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-spmm/gen/f16-spmm-8vx1-minmax-rvvfp16arith.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -85918,12 +89291,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-spmm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -85936,71 +89306,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-spmm/gen/f16-spmm-8vx1-minmax-rvvfp16arith.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -86012,85 +89338,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-rvvfp16arith-rational-6-4-div-u4v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vprelu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vprelu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vprelu_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -86103,71 +89367,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-rvvfp16arith-rational-6-4-div-u4v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vprelu_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vapproxgelu_riscv64") {
+ cflags = [
@@ -86178,85 +89398,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vpreluc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vpreluc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vpreluc_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vapproxgelu_riscv64_standalone") {
@@ -86268,71 +89426,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vpreluc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vbinary_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -86362,85 +89476,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-vbinary/gen/f16-vsub-rvvfp16arith-u8v.c",
+ "src/src/f16-vbinary/gen/f16-vsubc-rvvfp16arith-u8v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vrpreluc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vrpreluc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vrpreluc_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vbinary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -86471,46 +89523,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-vbinary/gen/f16-vsub-rvvfp16arith-u8v.c",
+ "src/src/f16-vbinary/gen/f16-vsubc-rvvfp16arith-u8v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vrpreluc_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f16-vclamp_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -86522,110 +89555,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vclamp_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -86638,117 +89584,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-vcmul_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -86760,53 +89616,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vcmul/gen/f16-vcmul-rvvfp16arith-u2v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -86815,33 +89630,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vcmul_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -86854,121 +89645,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vcmul/gen/f16-vcmul-rvvfp16arith-u2v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vcos_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -86980,51 +89677,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vcos/gen/f16-vcos-rvvfp16arith-poly-3-u4v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_x64") {
-- cflags = []
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vcos_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -87037,138 +89706,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vcos/gen/f16-vcos-rvvfp16arith-poly-3-u4v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-vcos_riscv64") {
+ cflags = [
@@ -87179,47 +89737,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -87228,38 +89751,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vcos_riscv64_standalone") {
@@ -87271,124 +89765,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-velu_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -87400,83 +89797,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-velu/gen/f16-velu-rvvfp16arith-rr1-p3-u2v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-velu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -87489,71 +89826,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-velu/gen/f16-velu-rvvfp16arith-rr1-p3-u2v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vexp_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -87565,111 +89858,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vexp/gen/f16-vexp-rvvfp16arith-poly-3-u8v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vexp_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -87682,134 +89887,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vexp/gen/f16-vexp-rvvfp16arith-poly-3-u8v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vexp_riscv64") {
+ cflags = [
@@ -87820,106 +89918,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vexp_riscv64_standalone") {
@@ -87931,46 +89946,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -87982,19 +89963,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-vgelu_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -88006,39 +89978,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vgelu/gen/f16-vgelu-rvvfp16arith-rational-6-4-div-u2v.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vgelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -88051,139 +90007,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vgelu/gen/f16-vgelu-rvvfp16arith-rational-6-4-div-u2v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-vgelu_riscv64") {
+ cflags = [
@@ -88194,48 +90038,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -88244,39 +90052,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vgelu_riscv64_standalone") {
@@ -88288,127 +90066,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vhswish_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -88420,85 +90098,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vhswish/gen/f16-vhswish-rvvfp16arith-u8v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vhswish_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -88511,73 +90127,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vhswish/gen/f16-vhswish-rvvfp16arith-u8v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vlog_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -88589,83 +90159,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vlog/gen/f16-vlog-rvvfp16arith-rational-1-3-div-u8v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rdsum_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rdsum_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-rdsum_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vlog_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -88678,46 +90188,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vlog/gen/f16-vlog-rvvfp16arith-rational-1-3-div-u8v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rdsum_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f16-vlog_riscv64") {
+ cflags = [
@@ -88728,106 +90219,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vlog_riscv64_standalone") {
@@ -88839,91 +90247,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -88935,39 +90279,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vlrelu/gen/f16-vlrelu-rvvfp16arith-u8v.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -88980,135 +90308,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vlrelu/gen/f16-vlrelu-rvvfp16arith-u8v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -89120,47 +90340,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c4v-minmax-rvvfp16arith-2x.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -89169,38 +90354,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -89213,124 +90369,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c4v-minmax-rvvfp16arith-2x.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -89345,83 +90404,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-vrnd/gen/f16-vrndu-rvvfp16arith-u8v.c",
+ "src/src/f16-vrnd/gen/f16-vrndz-rvvfp16arith-u8v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -89437,47 +90436,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-vrnd/gen/f16-vrndu-rvvfp16arith-u8v.c",
+ "src/src/f16-vrnd/gen/f16-vrndz-rvvfp16arith-u8v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -89489,109 +90468,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-rvvfp16arith-rsqrt-u4v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -89604,114 +90497,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-rvvfp16arith-rsqrt-u4v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -89723,86 +90529,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-rvvfp16arith-rr2-p2-u2v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -89815,118 +90558,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-rvvfp16arith-rr2-p2-u2v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -89938,41 +90590,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vsin/gen/f16-vsin-rvvfp16arith-poly-3-u4v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_x64") {
-- cflags = []
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ public_configs = [ ":xnnpack_public_config" ]
+ }
+}
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -89985,82 +90619,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vsin/gen/f16-vsin-rvvfp16arith-poly-3-u4v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_x64_standalone") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-vsin_riscv64") {
+ cflags = [
@@ -90071,48 +90650,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -90121,33 +90664,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vsin_riscv64_standalone") {
@@ -90159,119 +90678,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -90283,103 +90710,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vsqrt/gen/f16-vsqrt-rvvfp16arith-sqrt-u8v.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -90392,45 +90739,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vsqrt/gen/f16-vsqrt-rvvfp16arith-sqrt-u8v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -90442,18 +90756,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-vsqrt_riscv64") {
+ cflags = [
@@ -90464,22 +90770,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -90488,15 +90784,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vsqrt_riscv64_standalone") {
@@ -90508,135 +90799,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -90648,47 +90831,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vtanh/gen/f16-vtanh-rvvfp16arith-rational-5-4-div-u8v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -90697,32 +90845,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -90735,118 +90860,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vtanh/gen/f16-vtanh-rvvfp16arith-rational-5-4-div-u8v.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f16-vtanh_riscv64") {
+ cflags = [
@@ -90857,83 +90891,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vlrelu_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-vtanh_riscv64_standalone") {
@@ -90945,46 +90919,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -90998,87 +90953,54 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
+ "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vmul_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vunary/gen/f16-vabs-rvvfp16arith-u8v.c",
++ "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
++ "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmul_avx-no-avx2-no-f16c-no-fma_standalone") {
+- source_set("qu8-vlrelu_sse2-no-sse3_standalone") {
- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
+- "-mno-sse3",
+- "-msse2",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse2-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -91100,19 +91022,339 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-vlrelu_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vlrelu_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-vlrelu_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-ssse3-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vlrelu_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-ssse3-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qu8-vlrelu_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-rvvfp16arith-u8v.c",
-+ "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
-+ "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vlrelu_x64_standalone") {
+- cflags = []
++if (build_with_chromium) {
++ source_set("f32-argmaxpool_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("qu8-vmul_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vmul_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-argmaxpool_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
+ ]
- if (build_with_chromium) {
@@ -91215,7 +91457,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-avgpool_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -91223,7 +91465,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -91281,7 +91523,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-avgpool_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -91289,7 +91531,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -91332,14 +91574,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qu8-vmul_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_riscv64") {
++ source_set("f32-avgpool_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -91445,14 +91687,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_riscv64_standalone") {
++ source_set("f32-avgpool_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
+ ]
- if (build_with_chromium) {
@@ -91555,15 +91797,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-avgpool_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-bf16-vcvt_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -91621,15 +91862,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-bf16-vcvt_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
+ ]
- sources = [
@@ -91697,14 +91937,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-avgpool_riscv64") {
++ source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c"
+ ]
- if (build_with_chromium) {
@@ -91787,14 +92028,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_riscv64_standalone") {
++ source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c"
+ ]
- sources = [
@@ -91862,14 +92104,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_riscv64") {
++ source_set("f32-conv-hwc2chw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
+ ]
- if (build_with_chromium) {
@@ -91952,14 +92194,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_riscv64_standalone") {
++ source_set("f32-conv-hwc2chw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
+ ]
- sources = [
@@ -92027,7 +92269,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -92035,7 +92277,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c"
+ ]
- if (build_with_chromium) {
@@ -92128,7 +92371,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -92136,7 +92379,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c"
+ ]
- deps = [
@@ -92205,14 +92449,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/reference/unary-elementwise.cc",
- ]
+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_riscv64") {
++ source_set("f32-dwconv2d-chw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -92249,14 +92500,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_riscv64_standalone") {
++ source_set("f32-dwconv2d-chw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
+ ]
- sources = [
@@ -92385,7 +92643,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-dwconv_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -92393,8 +92651,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -92452,7 +92716,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -92460,8 +92724,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c"
+ ]
- sources = [
@@ -92529,21 +92799,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_riscv64") {
++ source_set("f32-dwconv_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
+ ]
- if (build_with_chromium) {
@@ -92624,21 +92896,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_riscv64_standalone") {
++ source_set("f32-dwconv_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
+ ]
- sources = [
@@ -92706,22 +92980,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-dwconv_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c"
+ ]
- if (build_with_chromium) {
@@ -92804,22 +93071,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c"
+ ]
- sources = [
@@ -92889,23 +93149,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-dwconv_riscv64") {
++ source_set("f32-f16-vcvt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
+ ]
- if (build_with_chromium) {
@@ -92990,23 +93241,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_riscv64_standalone") {
++ source_set("f32-f16-vcvt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
+ ]
- sources = [
@@ -93078,15 +93320,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f32-gemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c"
++ "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
++ "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c"
+ ]
- if (build_with_chromium) {
@@ -93195,15 +93438,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f32-gemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c"
++ "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
++ "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -93324,14 +93568,19 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_riscv64") {
++ source_set("f32-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
++ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -93412,14 +93661,19 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_riscv64_standalone") {
++ source_set("f32-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
++ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
+ ]
- sources = [
@@ -93487,16 +93741,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-gemm_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-ibilinear-chw_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c"
++ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
+ ]
- if (build_with_chromium) {
@@ -93571,16 +93823,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-ibilinear-chw_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c"
++ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
+ ]
- sources = [
@@ -93689,19 +93939,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("tables_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-gemm_riscv64") {
++ source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
++ "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c"
+ ]
- sources = [
@@ -93811,19 +94057,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_riscv64_standalone") {
++ source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
++ "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c"
+ ]
- if (build_with_chromium) {
@@ -93923,14 +94165,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-ibilinear-chw_riscv64") {
++ source_set("f32-ibilinear_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
++ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -93984,14 +94226,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear-chw_riscv64_standalone") {
++ source_set("f32-ibilinear_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
++ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
+ ]
- sources = [
@@ -94059,7 +94301,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-igemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -94067,7 +94309,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c"
++ "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
++ "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c"
+ ]
- if (build_with_chromium) {
@@ -94148,7 +94391,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-igemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -94156,7 +94399,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c"
++ "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
++ "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c"
+ ]
- sources = [
@@ -94224,14 +94468,19 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-ibilinear_riscv64") {
++ source_set("f32-igemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
++ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -94314,14 +94563,19 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_riscv64_standalone") {
++ source_set("f32-igemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
++ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
+ ]
- sources = [
@@ -94391,7 +94645,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-igemm_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-maxpool_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -94399,8 +94653,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c"
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- if (build_with_chromium) {
@@ -94485,7 +94738,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -94493,8 +94746,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c"
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -94539,19 +94791,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("u8-rminmax_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-igemm_riscv64") {
++ source_set("f32-maxpool_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -94657,19 +94904,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_riscv64_standalone") {
++ source_set("f32-maxpool_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
+ ]
- if (build_with_chromium) {
@@ -94784,15 +95026,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-maxpool_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-qc4w-gemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -94850,15 +95092,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-qc4w-gemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -94901,14 +95143,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("u8-vclamp_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-maxpool_riscv64") {
++ source_set("f32-qc8w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -95012,14 +95255,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_riscv64_standalone") {
++ source_set("f32-qc8w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -95121,15 +95365,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_riscv64") {
++ source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -95166,15 +95410,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_riscv64_standalone") {
++ source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c"
+ ]
- sources = [
@@ -95305,15 +95549,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_riscv64") {
++ source_set("f32-qs8-vcvt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -95371,15 +95615,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_riscv64_standalone") {
++ source_set("f32-qs8-vcvt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
+ ]
- sources = [
@@ -95422,7 +95666,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("x16-transposec_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -95430,7 +95674,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c"
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c"
+ ]
- sources = [
@@ -95487,7 +95731,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -95495,7 +95739,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c"
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c"
+ ]
- deps = [
@@ -95578,15 +95822,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_riscv64") {
++ source_set("f32-qu8-vcvt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -95644,15 +95888,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_riscv64_standalone") {
++ source_set("f32-qu8-vcvt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
+ ]
- sources = [
@@ -95720,7 +95964,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -95728,7 +95972,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c"
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c"
+ ]
- if (build_with_chromium) {
@@ -95817,7 +96061,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -95825,7 +96069,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c"
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c"
+ ]
- sources = [
@@ -95870,15 +96114,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("x32-packw_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_riscv64") {
++ source_set("f32-raddstoreexpminusmax_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
+ ]
- sources = [
@@ -95984,15 +96227,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_riscv64_standalone") {
++ source_set("f32-raddstoreexpminusmax_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
+ ]
- if (build_with_chromium) {
@@ -96048,7 +96290,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("x32-packw_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -96056,7 +96298,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c"
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c"
+ ]
- sources = [
@@ -96170,7 +96413,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -96178,7 +96421,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c"
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c"
+ ]
- if (build_with_chromium) {
@@ -96266,14 +96510,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_riscv64") {
++ source_set("f32-rdminmax_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -96310,14 +96555,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_riscv64_standalone") {
++ source_set("f32-rdminmax_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
+ ]
- sources = [
@@ -96429,7 +96675,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/x32-unpool/x32-unpool-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -96437,8 +96683,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c"
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -96475,7 +96720,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -96483,8 +96728,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c"
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c"
+ ]
- sources = [
@@ -96615,15 +96859,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rdminmax_riscv64") {
++ source_set("f32-rdsum2_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -96681,15 +96924,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_riscv64_standalone") {
++ source_set("f32-rdsum2_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
- sources = [
@@ -96757,7 +96999,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rdsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -96765,7 +97007,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c"
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c"
+ ]
- if (build_with_chromium) {
@@ -96871,7 +97113,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -96879,7 +97121,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c"
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -97006,14 +97248,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-rdsum2_riscv64") {
++ source_set("f32-rdsum_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -97108,14 +97350,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_riscv64_standalone") {
++ source_set("f32-rdsum_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
+ ]
- sources = [
@@ -97158,7 +97400,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("x8-lut_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-rdsum_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97166,7 +97408,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c"
++ "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
++ "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c"
+ ]
- sources = [
@@ -97222,7 +97466,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97230,7 +97474,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c"
++ "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
++ "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c"
+ ]
- deps = [
@@ -97316,14 +97562,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rdsum_riscv64") {
++ source_set("f32-rminmax_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
++ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -97405,14 +97653,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_riscv64_standalone") {
++ source_set("f32-rminmax_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
++ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -97528,7 +97778,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-rminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rsum2_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97536,9 +97786,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c"
++ "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c"
+ ]
- if (build_with_chromium) {
@@ -97570,7 +97818,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rsum2_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97578,9 +97826,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c"
++ "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c"
+ ]
- deps = [
@@ -97647,16 +97893,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rminmax_riscv64") {
++ source_set("f32-rsum2_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
++ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -97693,16 +97937,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_riscv64_standalone") {
++ source_set("f32-rsum2_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
++ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
+ ]
- sources = [
@@ -97814,7 +98056,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/xx-fill/xx-fill-scalar-u16.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rsum2_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97822,7 +98064,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c"
++ "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -97859,7 +98101,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97867,7 +98109,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c"
++ "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c"
+ ]
- sources = [
@@ -98005,14 +98247,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rsum2_riscv64") {
++ source_set("f32-rsum_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
++ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -98070,14 +98312,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_riscv64_standalone") {
++ source_set("f32-rsum_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
++ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
+ ]
- sources = [
@@ -98120,7 +98362,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("xx-pad_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-rsum_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-spmm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -98128,7 +98370,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c"
++ "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
++ "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
++ "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c"
+ ]
- sources = [
@@ -98184,7 +98428,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-spmm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -98192,7 +98436,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c"
++ "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
++ "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
++ "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c"
+ ]
- deps = [
@@ -98273,14 +98519,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rsum_riscv64") {
++ source_set("f32-spmm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
++ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -98335,14 +98583,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_riscv64_standalone") {
++ source_set("f32-spmm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
++ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
+ ]
- sources = [
@@ -98385,7 +98635,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("bf16-qs8-vcvt_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-spmm_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -98393,9 +98643,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c"
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c"
+ ]
- sources = [
@@ -98451,7 +98699,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -98459,9 +98707,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c"
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c"
+ ]
- deps = [
@@ -98545,16 +98791,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-spmm_riscv64") {
++ source_set("f32-vapproxgelu_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -98613,16 +98857,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_riscv64_standalone") {
++ source_set("f32-vapproxgelu_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
+ ]
- sources = [
@@ -98692,7 +98934,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vbinary_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -98700,7 +98942,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c"
++ "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c"
+ ]
- if (build_with_chromium) {
@@ -98769,7 +99029,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vbinary_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -98777,7 +99037,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c"
++ "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c"
+ ]
- sources = [
@@ -98876,14 +99154,32 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("enums_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_riscv64") {
++ source_set("f32-vbinary_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
+ ]
- sources = [
@@ -98934,14 +99230,32 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_riscv64_standalone") {
++ source_set("f32-vbinary_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
+ ]
- sources = [
@@ -98984,7 +99298,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-avgpool_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vbinary_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vclamp_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -98992,25 +99306,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c"
++ "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c"
+ ]
- sources = [
@@ -99066,7 +99362,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -99074,25 +99370,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c"
++ "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c"
+ ]
- deps = [
@@ -99159,32 +99437,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vbinary_riscv64") {
++ source_set("f32-vclamp_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
++ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -99221,32 +99481,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_riscv64_standalone") {
++ source_set("f32-vclamp_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
++ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
- sources = [
@@ -99349,7 +99591,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-vclamp_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vcmul_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -99357,7 +99599,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c"
++ "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c"
+ ]
- if (build_with_chromium) {
@@ -99407,7 +99649,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vcmul_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -99415,7 +99657,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c"
++ "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c"
+ ]
- sources = [
@@ -99494,14 +99736,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-dwconv_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vclamp_riscv64") {
++ source_set("f32-vcmul_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
++ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
+ ]
- sources = [
@@ -99562,14 +99804,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_riscv64_standalone") {
++ source_set("f32-vcmul_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
++ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
+ ]
- deps = [
@@ -99650,7 +99892,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vcmul_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -99658,7 +99900,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c"
++ "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -99712,7 +99956,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -99720,7 +99964,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c"
++ "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c"
+ ]
- sources = [
@@ -99763,14 +100009,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vcmul_riscv64") {
++ source_set("f32-vcopysign_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
++ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
+ ]
- sources = [
@@ -99826,14 +100074,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_riscv64_standalone") {
++ source_set("f32-vcopysign_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
++ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
+ ]
- deps = [
@@ -99900,7 +100150,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vcos_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -99908,9 +100158,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c"
++ "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -99947,7 +100195,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vcos_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -99955,9 +100203,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c"
++ "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c"
+ ]
- sources = [
@@ -100032,16 +100278,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-gemm_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vcopysign_riscv64") {
++ source_set("f32-vcos_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
++ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
+ ]
- sources = [
@@ -100114,16 +100358,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_riscv64_standalone") {
++ source_set("f32-vcos_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
++ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -100202,7 +100444,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vcos_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-velu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -100210,7 +100452,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c"
++ "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -100264,7 +100506,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-velu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -100272,7 +100514,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c"
++ "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c"
+ ]
- sources = [
@@ -100340,14 +100582,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-vcos_riscv64") {
++ source_set("f32-velu_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
++ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
+ ]
- if (build_with_chromium) {
@@ -100424,14 +100666,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_riscv64_standalone") {
++ source_set("f32-velu_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
++ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
+ ]
- if (build_with_chromium) {
@@ -100485,7 +100727,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("f32-velu_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vexp_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -100493,7 +100735,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c"
++ "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -100546,7 +100788,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vexp_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -100554,7 +100796,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c"
++ "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c"
+ ]
- sources = [
@@ -100597,14 +100839,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-maxpool_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-velu_riscv64") {
++ source_set("f32-vexp_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
++ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
+ ]
- sources = [
@@ -100660,14 +100902,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_riscv64_standalone") {
++ source_set("f32-vexp_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
++ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
+ ]
- deps = [
@@ -100746,7 +100988,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vexp_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vgelu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -100754,7 +100996,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c"
++ "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -100808,7 +101050,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vgelu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -100816,7 +101058,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c"
++ "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c"
+ ]
- sources = [
@@ -100859,14 +101101,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-qu8-vcvt_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vexp_riscv64") {
++ source_set("f32-vgelu_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
++ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
+ ]
- sources = [
@@ -100922,14 +101164,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_riscv64_standalone") {
++ source_set("f32-vgelu_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
++ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
+ ]
- deps = [
@@ -101009,7 +101251,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vgelu_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vhswish_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -101017,7 +101259,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c"
++ "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -101072,7 +101314,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vhswish_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -101080,7 +101322,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c"
++ "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c"
+ ]
- sources = [
@@ -101124,14 +101366,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-rdminmax_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vgelu_riscv64") {
++ source_set("f32-vhswish_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
+ ]
- sources = [
@@ -101190,14 +101432,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_riscv64_standalone") {
++ source_set("f32-vhswish_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
+ ]
- deps = [
@@ -101280,7 +101522,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vhswish_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vlog_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -101288,7 +101530,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c"
++ "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -101344,7 +101586,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vlog_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -101352,7 +101594,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c"
++ "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c"
+ ]
- sources = [
@@ -101395,14 +101637,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-spmm_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vhswish_riscv64") {
++ source_set("f32-vlog_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
++ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
+ ]
- sources = [
@@ -101458,14 +101700,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_riscv64_standalone") {
++ source_set("f32-vlog_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
++ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
+ ]
- deps = [
@@ -101533,7 +101775,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vlog_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -101541,7 +101783,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c"
++ "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -101578,7 +101820,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -101586,7 +101828,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c"
++ "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c"
+ ]
- sources = [
@@ -101680,14 +101922,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-vbinary_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vlog_riscv64") {
++ source_set("f32-vlrelu_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
++ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
+ ]
- sources = [
@@ -101764,14 +102006,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_riscv64_standalone") {
++ source_set("f32-vlrelu_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
++ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
+ ]
- deps = [
@@ -101850,7 +102092,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -101858,7 +102100,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c"
++ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -101912,7 +102154,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -101920,7 +102162,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c"
++ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c"
+ ]
- sources = [
@@ -101963,14 +102205,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-vcos_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vlrelu_riscv64") {
++ source_set("f32-vmulcaddc_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
++ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
+ ]
- sources = [
@@ -102027,14 +102269,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_riscv64_standalone") {
++ source_set("f32-vmulcaddc_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
++ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
+ ]
- deps = [
@@ -102114,7 +102356,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vrnd_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -102122,7 +102364,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c"
++ "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -102176,7 +102421,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vrnd_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -102184,7 +102429,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c"
++ "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c"
+ ]
- sources = [
@@ -102227,14 +102475,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-vexp_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vmulcaddc_riscv64") {
++ source_set("f32-vrnd_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
++ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
+ ]
- sources = [
@@ -102291,14 +102542,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vmulcaddc_riscv64_standalone") {
++ source_set("f32-vrnd_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
++ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
+ ]
- deps = [
@@ -102378,7 +102632,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vrnd_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -102386,10 +102640,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c"
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -102443,7 +102694,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -102451,10 +102702,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c"
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c"
+ ]
- sources = [
@@ -102497,17 +102745,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-vgelu_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vrnd_riscv64") {
++ source_set("f32-vrsqrt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
+ ]
- sources = [
@@ -102563,17 +102809,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_riscv64_standalone") {
++ source_set("f32-vrsqrt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
+ ]
- deps = [
@@ -102652,7 +102896,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -102660,7 +102904,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c"
++ "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -102714,7 +102958,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -102722,7 +102966,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c"
++ "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c"
+ ]
- sources = [
@@ -102766,15 +103010,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-vlog_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_riscv64") {
++ source_set("f32-vsigmoid_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
++ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
+ ]
- sources = [
@@ -102831,15 +103074,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_riscv64_standalone") {
++ source_set("f32-vsigmoid_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
++ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
+ ]
- deps = [
@@ -102906,7 +103148,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-neonfp16arith-2x.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vsin_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -102914,7 +103156,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c"
++ "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -102951,7 +103193,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vsin_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -102959,7 +103201,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c"
++ "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c"
+ ]
- sources = [
@@ -103034,14 +103276,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-vrnd_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_riscv64") {
++ source_set("f32-vsin_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
++ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
+ ]
- sources = [
@@ -103100,14 +103342,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_riscv64_standalone") {
++ source_set("f32-vsin_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
++ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
+ ]
- deps = [
@@ -103187,7 +103429,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vsin_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -103195,7 +103437,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c"
++ "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -103250,7 +103492,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -103258,7 +103500,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c"
++ "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c"
+ ]
- sources = [
@@ -103301,14 +103543,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-vsin_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vsin_riscv64") {
++ source_set("f32-vsqrt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
++ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
+ ]
- sources = [
@@ -103365,14 +103607,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_riscv64_standalone") {
++ source_set("f32-vsqrt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
++ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
+ ]
- deps = [
@@ -103453,7 +103695,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vtanh_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -103461,7 +103703,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c"
++ "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -103516,7 +103758,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vtanh_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -103524,7 +103766,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c"
++ "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c"
+ ]
- sources = [
@@ -103567,14 +103809,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-vsqrt_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vsqrt_riscv64") {
++ source_set("f32-vtanh_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
++ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
+ ]
- sources = [
@@ -103630,14 +103872,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_riscv64_standalone") {
++ source_set("f32-vtanh_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
++ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
+ ]
- deps = [
@@ -103717,7 +103959,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vtanh_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vunary_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -103725,7 +103967,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c"
++ "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
++ "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
++ "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -103780,7 +104024,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vunary_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -103788,7 +104032,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c"
++ "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
++ "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
++ "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c"
+ ]
- sources = [
@@ -103833,14 +104079,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-vunary_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vtanh_riscv64") {
++ source_set("f32-vunary_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
++ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
++ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
++ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
+ ]
- sources = [
@@ -103899,14 +104147,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_riscv64_standalone") {
++ source_set("f32-vunary_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
++ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
++ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
++ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
+ ]
- deps = [
@@ -103987,17 +104237,36 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vunary_arch=rv64gcv-abi=lp64d") {
++ source_set("operators_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c"
++ "src/src/operators/argmax-pooling-nhwc.c",
++ "src/src/operators/average-pooling-nhwc.c",
++ "src/src/operators/batch-matrix-multiply-nc.c",
++ "src/src/operators/binary-elementwise-nd.c",
++ "src/src/operators/constant-pad-nd.c",
++ "src/src/operators/convolution-nchw.c",
++ "src/src/operators/convolution-nhwc.c",
++ "src/src/operators/deconvolution-nhwc.c",
++ "src/src/operators/dynamic-fully-connected-nc.c",
++ "src/src/operators/fingerprint_cache.c",
++ "src/src/operators/fingerprint_id.c",
++ "src/src/operators/fully-connected-nc.c",
++ "src/src/operators/max-pooling-nhwc.c",
++ "src/src/operators/pack-lh.c",
++ "src/src/operators/reduce-nd.c",
++ "src/src/operators/resize-bilinear-nchw.c",
++ "src/src/operators/resize-bilinear-nhwc.c",
++ "src/src/operators/rope-nthc.c",
++ "src/src/operators/slice-nd.c",
++ "src/src/operators/softmax-nc.c",
++ "src/src/operators/transpose-nd.c",
++ "src/src/operators/unary-elementwise-nc.c",
++ "src/src/operators/unpooling-nhwc.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -104052,17 +104321,36 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+bf16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("operators_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c"
++ "src/src/operators/argmax-pooling-nhwc.c",
++ "src/src/operators/average-pooling-nhwc.c",
++ "src/src/operators/batch-matrix-multiply-nc.c",
++ "src/src/operators/binary-elementwise-nd.c",
++ "src/src/operators/constant-pad-nd.c",
++ "src/src/operators/convolution-nchw.c",
++ "src/src/operators/convolution-nhwc.c",
++ "src/src/operators/deconvolution-nhwc.c",
++ "src/src/operators/dynamic-fully-connected-nc.c",
++ "src/src/operators/fingerprint_cache.c",
++ "src/src/operators/fingerprint_id.c",
++ "src/src/operators/fully-connected-nc.c",
++ "src/src/operators/max-pooling-nhwc.c",
++ "src/src/operators/pack-lh.c",
++ "src/src/operators/reduce-nd.c",
++ "src/src/operators/resize-bilinear-nchw.c",
++ "src/src/operators/resize-bilinear-nhwc.c",
++ "src/src/operators/rope-nthc.c",
++ "src/src/operators/slice-nd.c",
++ "src/src/operators/softmax-nc.c",
++ "src/src/operators/transpose-nd.c",
++ "src/src/operators/unary-elementwise-nc.c",
++ "src/src/operators/unpooling-nhwc.c"
+ ]
- sources = [
@@ -104105,16 +104393,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-bf16-vcvt_arch=armv8.2-a+bf16_standalone") {
- cflags = [ "-march=armv8.2-a+bf16" ]
+if (build_with_chromium) {
-+ source_set("f32-vunary_riscv64") {
++ source_set("qd8-bf16-qb4w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -104171,16 +104458,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_riscv64_standalone") {
++ source_set("qd8-bf16-qb4w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
+ ]
- deps = [
@@ -104262,36 +104548,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("operators_riscv64") {
++ source_set("qd8-f16-qc2w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
++ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -104347,36 +104611,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("operators_riscv64_standalone") {
++ source_set("qd8-f16-qc2w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
++ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
+ ]
- sources = [
@@ -104478,15 +104720,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-dwconv_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qd8-bf16-qb4w-gemm_riscv64") {
++ source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- asmflags = cflags
@@ -104522,15 +104765,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-bf16-qb4w-gemm_riscv64_standalone") {
++ source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -104621,14 +104865,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f16-qc2w-gemm_riscv64") {
++ source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
++ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -104699,14 +104945,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc2w-gemm_riscv64_standalone") {
++ source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
++ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- sources = [
@@ -104751,7 +104999,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-f16-vcvt_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -104759,8 +105007,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- sources = [
@@ -104847,7 +105095,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -104855,8 +105103,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -104966,16 +105214,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("qd8-f32-qb4w-gemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -105045,16 +105292,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("qd8-f32-qb4w-gemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -105099,16 +105345,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-ibilinear-chw_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("qd8-f32-qc2w-gemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
+ ]
- sources = [
@@ -105168,16 +105412,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("qd8-f32-qc2w-gemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
+ ]
- deps = [
@@ -105241,15 +105483,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-igemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_riscv64") {
++ source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c"
+ ]
- asmflags = cflags
@@ -105312,15 +105555,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- asmflags = cflags
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_riscv64_standalone") {
++ source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c"
+ ]
- sources = [
@@ -105425,14 +105669,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-igemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_riscv64") {
++ source_set("qd8-f32-qc4w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -105505,14 +105750,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_riscv64_standalone") {
++ source_set("qd8-f32-qc4w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
- deps = [
@@ -105598,7 +105844,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -105606,8 +105852,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c"
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -105669,7 +105915,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- asmflags = cflags
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -105677,8 +105923,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c"
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c"
+ ]
- sources = [
@@ -105723,15 +105969,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_riscv64") {
++ source_set("qd8-f32-qc8w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -105781,15 +106028,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_riscv64_standalone") {
++ source_set("qd8-f32-qc8w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -105891,7 +106139,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -105899,8 +106147,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c"
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -105957,7 +106205,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -105965,8 +106213,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c"
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c"
+ ]
- sources = [
@@ -106050,16 +106298,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_riscv64") {
++ source_set("qd8-f32-qc8w-igemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -106096,16 +106344,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_riscv64_standalone") {
++ source_set("qd8-f32-qc8w-igemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -106181,7 +106429,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-rdminmax_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -106189,8 +106437,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c"
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -106250,7 +106498,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -106258,8 +106506,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c"
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- deps = [
@@ -106328,16 +106576,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_riscv64") {
++ source_set("qs8-dwconv_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -106374,16 +106623,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_riscv64_standalone") {
++ source_set("qs8-dwconv_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -106461,7 +106711,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-rminmax_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -106469,8 +106719,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c"
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c"
+ ]
- sources = [
@@ -106532,7 +106781,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -106540,8 +106789,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c"
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c"
+ ]
- deps = [
@@ -106609,44 +106857,32 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-rsum/gen/f32-rsum-neon-u16-acc4.c",
- "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
+if (build_with_chromium) {
-+ source_set("qs8-dwconv_riscv64") {
++ source_set("qs8-f32-vcvt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-rsum_arm64_standalone") {
-- cflags = []
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -106654,6 +106890,28 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-rsum_arm64_standalone") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-f32-vcvt_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-rsum/gen/f32-rsum-neon-u16-acc4.c",
@@ -106678,26 +106936,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f32-spmm_arm64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
- sources = [
@@ -106722,26 +106974,35 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-spmm_arm64_standalone") {
- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
++if (build_with_chromium) {
++ source_set("qs8-packw_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
++ ]
- sources = [
- "src/include/xnnpack.h",
@@ -106771,77 +107032,80 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f32-vapproxgelu_arm64") {
- cflags = []
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-neon-rational-12-10-div.c",
- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
- ]
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-packw_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c"
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vapproxgelu_arm64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -106866,23 +107130,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("f32-vbinary_arm64") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-vbinary/gen/f32-vadd-neon-u8.c",
@@ -106936,28 +107193,37 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vbinary_arm64_standalone") {
-- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_riscv64") {
++ source_set("qs8-qc2w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vbinary_arm64_standalone") {
+- cflags = []
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
@@ -107020,20 +107286,78 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f32-vclamp_arm64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc2w-gemm_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vclamp/gen/f32-vclamp-neon.c",
+- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- if (build_with_chromium) {
-- source_set("f32-vclamp_arm64") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vclamp_arm64_standalone") {
+- cflags = []
++if (build_with_chromium) {
++ source_set("qs8-qc4w-gemm_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
+ ]
- sources = [
@@ -107041,26 +107365,180 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-vclamp/gen/f32-vclamp-neon.c",
- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f32-vcmul_arm64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc4w-gemm_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vcmul/gen/f32-vcmul-neon-u8.c",
+- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
+}
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vcmul_arm64_standalone") {
+- cflags = []
++if (build_with_chromium) {
++ source_set("qs8-qc4w-packw_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vcmul/gen/f32-vcmul-neon-u8.c",
+- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
+- ]
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f32-vcopysign_arm64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_riscv64_standalone") {
++ source_set("qs8-qc4w-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
++ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
+ ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vcopysign/gen/f32-vcopysign-neon.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysignc-neon.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
+- "src/src/f32-vcopysign/gen/f32-vrcopysignc-neon.c",
+- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
@@ -107084,14 +107562,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vclamp_arm64_standalone") {
+- source_set("f32-vcopysign_arm64_standalone") {
- cflags = []
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vclamp/gen/f32-vclamp-neon.c",
-- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysign-neon.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysignc-neon.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
+- "src/src/f32-vcopysign/gen/f32-vrcopysignc-neon.c",
+- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -107118,29 +107600,26 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vcmul_arm64") {
+- source_set("f32-vcos_arm64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-neon-u8.c",
-- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
+- "src/src/f32-vcos/gen/f32-vcos-neon-rational-5-4-div.c",
+- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-packw_riscv64") {
++ source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -107173,30 +107652,27 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcmul_arm64_standalone") {
+- source_set("f32-vcos_arm64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_riscv64_standalone") {
++ source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-neon-u8.c",
-- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
+- "src/src/f32-vcos/gen/f32-vcos-neon-rational-5-4-div.c",
+- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -107224,7 +107700,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vcopysign_arm64") {
+- source_set("f32-velu_arm64") {
- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
@@ -107235,12 +107711,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
+- "src/src/f32-velu/gen/f32-velu-neon-rr2-lut16-p3-u8.c",
+- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-lut16-p3-u16.c",
+- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-p6-u8.c",
+- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -107265,30 +107739,30 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcopysign_arm64_standalone") {
+- source_set("f32-velu_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_riscv64") {
++ source_set("qs8-qc8w-dwconv_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-neon.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
+- "src/src/f32-velu/gen/f32-velu-neon-rr2-lut16-p3-u8.c",
+- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-lut16-p3-u16.c",
+- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-p6-u8.c",
+- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -107309,64 +107783,56 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcos_arm64") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-neon-rational-5-4-div.c",
-- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- if (build_with_chromium) {
+- source_set("f32-vexp_arm64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_riscv64_standalone") {
++ source_set("qs8-qc8w-dwconv_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vexp/gen/f32-vexp-neon-rational-3-2-div.c",
+- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -107374,101 +107840,42 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-neon-rational-5-4-div.c",
-- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
++ public_configs = [ ":xnnpack_public_config" ]
+
- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- if (build_with_chromium) {
-- source_set("f32-velu_arm64") {
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vexp_arm64_standalone") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-neon-rr2-lut16-p3-u8.c",
-- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-lut16-p3-u16.c",
-- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-p6-u8.c",
-- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_riscv64") {
++ source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-neon-rr2-lut16-p3-u8.c",
-- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-lut16-p3-u16.c",
-- "src/src/f32-velu/gen/f32-velu-neonfma-rr1-p6-u8.c",
-- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
+- "src/src/f32-vexp/gen/f32-vexp-neon-rational-3-2-div.c",
+- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -107489,30 +107896,43 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
-- source_set("f32-vexp_arm64") {
+- source_set("f32-vgelu_arm64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_riscv64_standalone") {
++ source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-neon-rational-3-2-div.c",
-- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
+- "src/src/f32-vgelu/gen/f32-vgelu-neon-rational-12-10-div.c",
+- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -107547,24 +107967,24 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_arm64_standalone") {
+- source_set("f32-vgelu_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_riscv64") {
++ source_set("qs8-qc8w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-neon-rational-3-2-div.c",
-- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
+- "src/src/f32-vgelu/gen/f32-vgelu-neon-rational-12-10-div.c",
+- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -107602,25 +108022,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vgelu_arm64") {
+- source_set("f32-vhswish_arm64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_riscv64_standalone") {
++ source_set("qs8-qc8w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-neon-rational-12-10-div.c",
-- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
+- "src/src/f32-vhswish/gen/f32-vhswish-neon.c",
+- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -107655,68 +108075,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_arm64_standalone") {
+- source_set("f32-vhswish_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-neon-rational-12-10-div.c",
-- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vhswish_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -107724,65 +108086,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-neon.c",
-- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -107830,19 +108135,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_riscv64_standalone") {
++ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -107886,16 +108188,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-vlog_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-qc8w-igemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -107953,16 +108254,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-qc8w-igemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- deps = [
@@ -108032,15 +108332,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neonfma-2x.c",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_riscv64") {
++ source_set("qs8-qu8-packw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108077,15 +108377,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_riscv64_standalone") {
++ source_set("qs8-qu8-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
+ ]
- sources = [
@@ -108170,7 +108470,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-vrnd_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -108178,8 +108478,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c"
+ ]
- sources = [
@@ -108233,27 +108532,134 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vrsqrt_arm64") {
+- source_set("f32-vrsqrt_arm64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-neon-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrsqrt_arm64_standalone") {
+- cflags = []
++if (build_with_chromium) {
++ source_set("qs8-rdsum_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-neon-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_arm64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-rdsum_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-neon-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neon-rr2-lut64-p2-nr2recps-u8.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neonfma-rr1-lut64-p2-nr2recps-u16.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -108288,25 +108694,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_arm64_standalone") {
+- source_set("f32-vsigmoid_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_riscv64") {
++ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-neon-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neon-rr2-lut64-p2-nr2recps-u8.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neonfma-rr1-lut64-p2-nr2recps-u16.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108334,7 +108740,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vsigmoid_arm64") {
+- source_set("f32-vsin_arm64") {
- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
@@ -108345,9 +108751,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neon-rr2-lut64-p2-nr2recps-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neonfma-rr1-lut64-p2-nr2recps-u16.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
+- "src/src/f32-vsin/gen/f32-vsin-neon-rational-5-4-div.c",
+- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
- ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
@@ -108359,15 +108764,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_riscv64_standalone") {
++ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c"
+ ]
- deps = [
@@ -108393,15 +108798,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_arm64_standalone") {
+- source_set("f32-vsin_arm64_standalone") {
- cflags = []
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neon-rr2-lut64-p2-nr2recps-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-neonfma-rr1-lut64-p2-nr2recps-u16.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
+- "src/src/f32-vsin/gen/f32-vsin-neon-rational-5-4-div.c",
+- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108428,13 +108832,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vsin_arm64") {
+- source_set("f32-vsqrt_arm64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-neon-rational-5-4-div.c",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-aarch64-neon-sqrt.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108449,15 +108853,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-qu8-packw_riscv64") {
++ source_set("qs8-rsum_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -108470,7 +108873,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_arm64_standalone") {
+- source_set("f32-vsqrt_arm64_standalone") {
- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
@@ -108481,8 +108884,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-neon-rational-5-4-div.c",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-aarch64-neon-sqrt.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108508,25 +108911,24 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vsqrt_arm64") {
+- source_set("f32-vtanh_arm64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qu8-packw_riscv64_standalone") {
++ source_set("qs8-rsum_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-aarch64-neon-sqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
+- "src/src/f32-vtanh/gen/f32-vtanh-neon-rational-9-8-div.c",
+- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -108561,24 +108963,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_arm64_standalone") {
+- source_set("f32-vtanh_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-aarch64-neon-sqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
+- "src/src/f32-vtanh/gen/f32-vtanh-neon-rational-9-8-div.c",
+- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108600,37 +108991,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_arm64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-neon-rational-9-8-div.c",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
++if (build_with_chromium) {
++ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -108638,40 +109000,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c"
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c"
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
+- if (build_with_chromium) {
+- source_set("f32-vunary_arm64") {
+- cflags = []
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-neon-rational-9-8-div.c",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
+- "src/src/f32-vunary/gen/f32-vabs-neon.c",
+- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
+- "src/src/f32-vunary/gen/f32-vneg-neon.c",
+- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
+- "src/src/f32-vunary/gen/f32-vsqr-neon.c",
+- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108683,24 +109030,38 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
-- if (build_with_chromium) {
-- source_set("f32-vunary_arm64") {
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vunary_arm64_standalone") {
- cflags = []
--
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-vunary/gen/f32-vabs-neon.c",
@@ -108720,20 +109081,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
-+if (build_with_chromium) {
-+ source_set("qs8-rdsum_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
-+ ]
-
+-
- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
- }
- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108741,25 +109096,41 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_arm64_standalone") {
+- if (build_with_chromium) {
+- source_set("operators_arm64") {
- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-neon.c",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-neon.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-neon.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
+- "src/src/operators/argmax-pooling-nhwc.c",
+- "src/src/operators/average-pooling-nhwc.c",
+- "src/src/operators/batch-matrix-multiply-nc.c",
+- "src/src/operators/binary-elementwise-nd.c",
+- "src/src/operators/constant-pad-nd.c",
+- "src/src/operators/convolution-nchw.c",
+- "src/src/operators/convolution-nhwc.c",
+- "src/src/operators/deconvolution-nhwc.c",
+- "src/src/operators/dynamic-fully-connected-nc.c",
+- "src/src/operators/fingerprint_cache.c",
+- "src/src/operators/fingerprint_id.c",
+- "src/src/operators/fully-connected-nc.c",
+- "src/src/operators/max-pooling-nhwc.c",
+- "src/src/operators/pack-lh.c",
+- "src/src/operators/reduce-nd.c",
+- "src/src/operators/resize-bilinear-nchw.c",
+- "src/src/operators/resize-bilinear-nhwc.c",
+- "src/src/operators/rope-nthc.c",
+- "src/src/operators/slice-nd.c",
+- "src/src/operators/softmax-nc.c",
+- "src/src/operators/transpose-nd.c",
+- "src/src/operators/unary-elementwise-nc.c",
+- "src/src/operators/unpooling-nhwc.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108771,32 +109142,31 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
-- if (build_with_chromium) {
-- source_set("operators_arm64") {
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("operators_arm64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_riscv64_standalone") {
++if (build_with_chromium) {
++ source_set("qs8-vadd_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
+ ]
- sources = [
@@ -108835,6 +109205,61 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2") {
+- cflags = [ "-march=armv8.2-a+sve+sve2" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme.c",
+- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme2.c",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-vadd_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108854,35 +109279,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("operators_arm64_standalone") {
-- cflags = []
+- source_set("pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2_standalone") {
+- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
+- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme.c",
+- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108909,13 +109313,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2") {
+- source_set("pf16-gemm_arch=armv8.2-a+sve+sve2") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme.c",
-- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme2.c",
+- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme.c",
+- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme2.c",
+- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme.c",
+- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108930,7 +109336,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -108938,7 +109344,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c"
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -108951,7 +109357,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("pf16-f16-f16-igemm_arch=armv8.2-a+sve+sve2_standalone") {
+- source_set("pf16-gemm_arch=armv8.2-a+sve+sve2_standalone") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+ deps = [
+ "//third_party/cpuinfo",
@@ -108962,8 +109368,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme.c",
-- "src/src/pf16-f16-f16-igemm/pf16-f16-f16-igemm-32x32c2-minmax-neonsme2.c",
+- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme.c",
+- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme2.c",
+- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme.c",
+- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108989,11 +109397,11 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("pf16-gemm_arch=armv8.2-a+sve+sve2") {
+- source_set("pf32-gemm_arch=armv8.2-a+sve+sve2") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -109001,15 +109409,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c"
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme.c",
-- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme2.c",
-- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme.c",
-- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme2.c",
+- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme.c",
+- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme2.c",
+- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme.c",
+- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -109040,16 +109448,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("pf16-gemm_arch=armv8.2-a+sve+sve2_standalone") {
+- source_set("pf32-gemm_arch=armv8.2-a+sve+sve2_standalone") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme.c",
-- "src/src/pf16-gemm/pf16-gemm-1x32c2-minmax-neonsme2.c",
-- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme.c",
-- "src/src/pf16-gemm/pf16-gemm-32x32c2-minmax-neonsme2.c",
+- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme.c",
+- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme2.c",
+- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme.c",
+- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -109076,15 +109484,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("pf32-gemm_arch=armv8.2-a+sve+sve2") {
+- source_set("pf32-igemm_arch=armv8.2-a+sve+sve2") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme.c",
-- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme2.c",
-- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme.c",
-- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c",
+- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme.c",
+- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -109099,14 +109505,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-rsum_riscv64") {
++ source_set("qs8-vaddc_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -109119,7 +109526,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("pf32-gemm_arch=armv8.2-a+sve+sve2_standalone") {
+- source_set("pf32-igemm_arch=armv8.2-a+sve+sve2_standalone") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+ deps = [
+ "//third_party/cpuinfo",
@@ -109130,10 +109537,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme.c",
-- "src/src/pf32-gemm/pf32-gemm-1x32-minmax-neonsme2.c",
-- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme.c",
-- "src/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c",
+- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme.c",
+- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -109159,24 +109564,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("pf32-igemm_arch=armv8.2-a+sve+sve2") {
+- source_set("pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_riscv64_standalone") {
++ source_set("qs8-vaddc_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme.c",
-- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme2.c",
+- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme.c",
+- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme2.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -109211,10 +109617,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("pf32-igemm_arch=armv8.2-a+sve+sve2_standalone") {
+- source_set("pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2_standalone") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+if (build_with_chromium) {
-+ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -109222,13 +109628,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c"
++ "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme.c",
-- "src/src/pf32-igemm/pf32-igemm-32x32-minmax-neonsme2.c",
+- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme.c",
+- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -109256,7 +109662,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2") {
+- source_set("pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+ deps = [
+ "//third_party/cpuinfo",
@@ -109267,8 +109673,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme.c",
-- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme2.c",
+- "src/src/pqs8-qc4w-gemm/pqs8-qc4w-gemm-32x32c4-minmax-neonsme2.c",
- ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
@@ -109280,7 +109685,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -109288,7 +109693,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c"
++ "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c"
+ ]
- deps = [
@@ -109314,14 +109719,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("pqs8-f32-qc8w-igemm_arch=armv8.2-a+sve+sve2_standalone") {
+- source_set("pqs8-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme.c",
-- "src/src/pqs8-f32-qc8w-igemm/pqs8-f32-qc8w-igemm-32x32c4-minmax-neonsme2.c",
+- "src/src/pqs8-qc4w-gemm/pqs8-qc4w-gemm-32x32c4-minmax-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -109370,15 +109774,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vadd_riscv64") {
++ source_set("qs8-vcvt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -109434,15 +109837,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_riscv64_standalone") {
++ source_set("qs8-vcvt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -109486,7 +109888,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qb4-packw_arch=armv8.2-a+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -109494,7 +109896,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c"
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c"
+ ]
- sources = [
@@ -109552,7 +109954,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -109560,7 +109962,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c"
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c"
+ ]
- deps = [
@@ -109641,15 +110043,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vaddc_riscv64") {
++ source_set("qs8-vlrelu_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -109704,15 +110105,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_riscv64_standalone") {
++ source_set("qs8-vlrelu_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
+ ]
- sources = [
@@ -109756,7 +110156,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-bf16-qb4w-gemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -109764,7 +110164,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c"
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c"
+ ]
- sources = [
@@ -109822,7 +110222,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -109830,7 +110230,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c"
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c"
+ ]
- deps = [
@@ -109911,14 +110311,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vcvt_riscv64") {
++ source_set("qs8-vmul_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -109973,14 +110373,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_riscv64_standalone") {
++ source_set("qs8-vmul_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -110024,7 +110424,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -110032,7 +110432,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c"
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c"
+ ]
- sources = [
@@ -110091,7 +110491,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -110099,7 +110499,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c"
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c"
+ ]
- deps = [
@@ -110180,14 +110580,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_riscv64") {
++ source_set("qs8-vmulc_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -110241,14 +110641,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_riscv64_standalone") {
++ source_set("qs8-vmulc_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -110292,15 +110692,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
+if (build_with_chromium) {
-+ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vprelu_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c"
++ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
+ ]
- sources = [
@@ -110358,15 +110757,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vprelu_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c"
++ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
+ ]
- deps = [
@@ -110435,14 +110833,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x16c8-minmax-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vmul_riscv64") {
++ source_set("qs8-vpreluc_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -110479,14 +110877,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_riscv64_standalone") {
++ source_set("qs8-vpreluc_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
+ ]
- sources = [
@@ -110562,15 +110960,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
+if (build_with_chromium) {
-+ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vrpreluc_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c"
++ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
+ ]
- sources = [
@@ -110630,15 +111027,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vrpreluc_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c"
++ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
+ ]
- deps = [
@@ -110701,14 +111097,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qs8-vmulc_riscv64") {
++ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- asmflags = cflags
@@ -110745,14 +111143,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_riscv64_standalone") {
++ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -110816,14 +111216,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c8-minmax-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vprelu_riscv64") {
++ source_set("qu8-dwconv_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -110860,14 +111263,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vprelu_riscv64_standalone") {
++ source_set("qu8-dwconv_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -110943,14 +111349,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+dotprod+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
+if (build_with_chromium) {
-+ source_set("qs8-vpreluc_riscv64") {
++ source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c"
+ ]
- sources = [
@@ -111010,14 +111417,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vpreluc_riscv64_standalone") {
++ source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c"
+ ]
- deps = [
@@ -111080,14 +111488,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qs8-vrpreluc_riscv64") {
++ source_set("qu8-f32-vcvt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
+ ]
- asmflags = cflags
@@ -111124,14 +111532,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vrpreluc_riscv64_standalone") {
++ source_set("qu8-f32-vcvt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -111207,7 +111615,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-gemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -111215,8 +111623,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c"
++ "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -111271,7 +111679,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-gemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -111279,8 +111687,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c"
++ "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -111324,17 +111732,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qu8-dwconv_riscv64") {
++ source_set("qu8-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -111392,17 +111798,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_riscv64_standalone") {
++ source_set("qu8-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- deps = [
@@ -111485,7 +111889,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-igemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -111493,7 +111897,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -111550,7 +111955,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-igemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -111558,7 +111963,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -111603,14 +112009,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc2w-gemm_arch=armv8.2-a+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_riscv64") {
++ source_set("qu8-igemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -111659,14 +112066,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_riscv64_standalone") {
++ source_set("qu8-igemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -111709,7 +112117,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc2w-gemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-gemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -111717,8 +112125,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c"
+ ]
- sources = [
@@ -111775,7 +112182,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -111783,8 +112190,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c"
+ ]
- deps = [
@@ -111853,15 +112259,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x16c8-minmax-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-gemm_riscv64") {
++ source_set("qu8-rdsum_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -111898,15 +112303,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_riscv64_standalone") {
++ source_set("qu8-rdsum_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
+ ]
- sources = [
@@ -111982,7 +112386,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc4w-gemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-igemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -111990,8 +112394,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c"
+ ]
- sources = [
@@ -112041,7 +112444,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -112049,8 +112452,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c"
+ ]
- sources = [
@@ -112128,15 +112530,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qu8-igemm_riscv64") {
++ source_set("qu8-rsum_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
+ ]
- asmflags = cflags
@@ -112173,15 +112574,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_riscv64_standalone") {
++ source_set("qu8-rsum_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -112245,7 +112645,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c8-minmax-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vadd_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -112253,7 +112653,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -112290,7 +112690,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -112298,7 +112698,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -112377,14 +112777,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc8w-gemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-rdsum_riscv64") {
++ source_set("qu8-vadd_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
+ ]
- sources = [
@@ -112437,14 +112838,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_riscv64_standalone") {
++ source_set("qu8-vadd_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
+ ]
- sources = [
@@ -112522,7 +112924,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -112530,7 +112932,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c"
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c"
+ ]
- asmflags = cflags
@@ -112567,7 +112969,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -112575,7 +112977,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c"
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -112639,14 +113041,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c8-minmax-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-rsum_riscv64") {
++ source_set("qu8-vaddc_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -112683,14 +113086,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_riscv64_standalone") {
++ source_set("qu8-vaddc_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
+ ]
- sources = [
@@ -112771,7 +113175,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc8w-igemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-vadd_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -112779,7 +113183,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c"
++ "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c"
+ ]
- sources = [
@@ -112844,7 +113248,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -112852,7 +113256,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c"
++ "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c"
+ ]
- deps = [
@@ -112934,15 +113338,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vadd_riscv64") {
++ source_set("qu8-vcvt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
++ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -112998,15 +113401,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_riscv64_standalone") {
++ source_set("qu8-vcvt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
++ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -113049,7 +113451,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+if (build_with_chromium) {
-+ source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -113057,7 +113459,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c"
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c"
+ ]
- sources = [
@@ -113083,6 +113485,113 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2") {
+- cflags = [ "-march=armv8.2-a+sve+sve2" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-16x64c4-neonsme2.c",
+- "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-1x64c4-neonsme2.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qp8-f32-qc2w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
+- cflags = [ "-march=armv8.2-a+sve+sve2" ]
++if (build_with_chromium) {
++ source_set("qu8-vlrelu_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-16x64c4-neonsme2.c",
+- "src/src/qp8-f32-qc2w-gemm/qp8-f32-qc2w-gemm-minmax-1x64c4-neonsme2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -113115,15 +113624,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vlrelu_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c"
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
+ ]
- deps = [
@@ -113192,15 +113700,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vaddc_riscv64") {
++ source_set("qu8-vmul_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -113237,15 +113745,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_riscv64_standalone") {
++ source_set("qu8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c"
+ ]
- sources = [
@@ -113320,15 +113828,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+if (build_with_chromium) {
-+ source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vmul_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c"
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -113389,15 +113896,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vmul_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c"
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- deps = [
@@ -113478,14 +113984,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vcvt_riscv64") {
++ source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -113539,14 +114046,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_riscv64_standalone") {
++ source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c"
+ ]
- sources = [
@@ -113647,15 +114155,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vmulc_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c"
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -113715,15 +114222,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vmulc_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c"
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -113766,14 +114272,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qs8-f16-vcvt_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_riscv64") {
++ source_set("qu8-vprelu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qu8-vprelu/gen/qu8-vprelu-rvv-u8v.c"
+ ]
- sources = [
@@ -113830,14 +114337,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_riscv64_standalone") {
++ source_set("qu8-vprelu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qu8-vprelu/gen/qu8-vprelu-rvv-u8v.c"
+ ]
- deps = [
@@ -113906,15 +114414,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-goi-neondot.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vmul_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vprelu_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c"
++ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -113951,15 +114458,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vprelu_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c"
++ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
+ ]
- sources = [
@@ -114038,14 +114544,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qs8-packw_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-vmul_riscv64") {
++ source_set("qu8-vpreluc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-rvv-u8v.c"
+ ]
- sources = [
@@ -114108,14 +114615,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_riscv64_standalone") {
++ source_set("qu8-vpreluc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-rvv-u8v.c"
+ ]
- deps = [
@@ -114198,15 +114706,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vpreluc_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c"
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -114265,15 +114772,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- asmflags = cflags
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vpreluc_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c"
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
+ ]
- sources = [
@@ -114319,14 +114825,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- asmflags = cflags
+if (build_with_chromium) {
-+ source_set("qu8-vmulc_riscv64") {
++ source_set("qu8-vrpreluc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-rvv-u8v.c"
+ ]
- sources = [
@@ -114384,14 +114891,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_riscv64_standalone") {
++ source_set("qu8-vrpreluc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-rvv-u8v.c"
+ ]
- deps = [
@@ -114460,14 +114968,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vprelu_riscv64") {
++ source_set("qu8-vrpreluc_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -114504,14 +115012,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vprelu_riscv64_standalone") {
++ source_set("qu8-vrpreluc_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
+ ]
- sources = [
@@ -114594,212 +115102,86 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_arm64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neon-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neon-mla8-ld128.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld128.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neon-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neonv8-mla8-ld64.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("qu8-vpreluc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c4-minmax-fp32-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-neondot.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c4-minmax-fp32-neondot.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vpreluc_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- asmflags = cflags
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-ld64.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-cortex-a55.S",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-ld128.S",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+- source_set("qs8-qc8w-dwconv_arm64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-neonv8-mla8-ld64.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neon-mla8-ld64.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-neonv8-mla8-ld64.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neon-mla8-ld128.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld128.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-neonv8-mla8-ld64.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neon-mla8-ld64.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-neonv8-mla8-ld64.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("qu8-vrpreluc_riscv64") {
++ source_set("reference_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_arch=armv8.2-a+dotprod") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- asmflags = cflags
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c4-minmax-fp32-neondot.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c4-minmax-fp32-neondot.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-neondot.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c4-minmax-fp32-neondot.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -114807,6 +115189,129 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c4-minmax-fp32-neondot.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c4-minmax-fp32-neondot.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-neondot.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c4-minmax-fp32-neondot.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("reference_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- asmflags = cflags
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal-prfm.S",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x8c8-minmax-fp32-asm-aarch64-neon-mlal.S",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16-minmax-fp32-asm-aarch64-neon-mlal-lane-ld64.S",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-cortex-a55.S",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x16c4-minmax-fp32-asm-aarch64-neondot-ld128.S",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
++if (build_with_chromium) {
++ source_set("s8-ibilinear_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
++ ]
+
+- asmflags = cflags
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-asm-aarch64-neon-mlal-cortex-a53-prfm.S",
@@ -114839,6 +115344,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -114848,14 +115360,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vrpreluc_riscv64_standalone") {
++ source_set("s8-ibilinear_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
+ ]
- sources = [
@@ -114925,16 +115437,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("reference_riscv64") {
++ source_set("s8-maxpool_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- if (build_with_chromium) {
@@ -114986,16 +115497,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("reference_riscv64_standalone") {
++ source_set("s8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -115076,14 +115586,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qs8-qc8w-igemm_arch=armv8.2-a+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod" ]
+if (build_with_chromium) {
-+ source_set("s8-ibilinear_riscv64") {
++ source_set("s8-maxpool_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -115160,14 +115670,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-ibilinear_riscv64_standalone") {
++ source_set("s8-maxpool_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -115239,7 +115749,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c8-minmax-fp32-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("s8-maxpool_arch=rv64gcv-abi=lp64d") {
++ source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -115247,7 +115757,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -115284,7 +115795,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -115292,7 +115803,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c"
+ ]
- sources = [
@@ -115371,14 +115883,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qs8-qc8w-igemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("s8-maxpool_riscv64") {
++ source_set("s8-rdminmax_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
+ ]
- sources = [
@@ -115441,14 +115954,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_riscv64_standalone") {
++ source_set("s8-rdminmax_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
+ ]
- deps = [
@@ -115529,7 +116043,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("s8-rminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -115537,8 +116051,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c"
++ "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
++ "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -115593,7 +116108,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("s8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -115601,8 +116116,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c"
++ "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
++ "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c"
+ ]
- sources = [
@@ -115645,15 +116161,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qs8-rsum_arch=armv8.2-a+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod" ]
+if (build_with_chromium) {
-+ source_set("s8-rdminmax_riscv64") {
++ source_set("s8-rminmax_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
- sources = [
@@ -115710,15 +116227,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_riscv64_standalone") {
++ source_set("s8-rminmax_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
- deps = [
@@ -115801,7 +116319,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("s8-rminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("s8-vclamp_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -115809,9 +116327,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c"
++ "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -115868,7 +116384,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("s8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -115876,9 +116392,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c"
++ "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c"
+ ]
- sources = [
@@ -115974,16 +116488,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("s8-rminmax_riscv64") {
++ source_set("s8-vclamp_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -116038,16 +116550,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_riscv64_standalone") {
++ source_set("s8-vclamp_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
+ ]
- sources = [
@@ -116091,15 +116601,43 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qs8-vlrelu_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("s8-vclamp_arch=rv64gcv-abi=lp64d") {
++ source_set("subgraph_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c"
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c"
+ ]
- sources = [
@@ -116157,15 +116695,43 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("subgraph_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c"
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c"
+ ]
- deps = [
@@ -116246,14 +116812,22 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("s8-vclamp_riscv64") {
++ source_set("tables_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -116308,14 +116882,22 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_riscv64_standalone") {
++ source_set("tables_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c"
+ ]
- sources = [
@@ -116358,43 +116940,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qs8-vprelu_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("subgraph_riscv64") {
++ source_set("u8-ibilinear_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
+ ]
- sources = [
@@ -116450,43 +117003,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("subgraph_riscv64_standalone") {
++ source_set("u8-ibilinear_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
+ ]
- deps = [
@@ -116553,22 +117077,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
- ]
+if (build_with_chromium) {
-+ source_set("tables_riscv64") {
++ source_set("u8-lut32norm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -116605,22 +117121,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("tables_riscv64_standalone") {
++ source_set("u8-lut32norm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
+ ]
- sources = [
@@ -116697,14 +117205,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qu8-dwconv_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("u8-ibilinear_riscv64") {
++ source_set("u8-maxpool_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -116766,14 +117275,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_riscv64_standalone") {
++ source_set("u8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- deps = [
@@ -116836,14 +117346,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("u8-lut32norm_riscv64") {
++ source_set("u8-maxpool_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
+ ]
- asmflags = cflags
@@ -116882,14 +117392,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-lut32norm_riscv64_standalone") {
++ source_set("u8-maxpool_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -116972,7 +117482,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("u8-maxpool_arch=rv64gcv-abi=lp64d") {
++ source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -116980,7 +117490,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -117042,7 +117553,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- asmflags = cflags
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -117050,7 +117561,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c"
+ ]
- sources = [
@@ -117096,14 +117608,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("u8-maxpool_riscv64") {
++ source_set("u8-rdminmax_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -117154,14 +117667,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_riscv64_standalone") {
++ source_set("u8-rdminmax_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
+ ]
- sources = [
@@ -117264,7 +117778,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("u8-rminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -117272,8 +117786,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c"
++ "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
++ "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -117329,7 +117844,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("u8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -117337,8 +117852,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c"
++ "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
++ "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c"
+ ]
- sources = [
@@ -117408,15 +117924,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("u8-rdminmax_riscv64") {
++ source_set("u8-rminmax_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
+ ]
- if (build_with_chromium) {
@@ -117465,15 +117982,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_riscv64_standalone") {
++ source_set("u8-rminmax_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
+ ]
- sources = [
@@ -117551,7 +118069,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qu8-vaddc_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("u8-rminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -117559,9 +118077,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c"
++ "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c"
+ ]
- sources = [
@@ -117621,7 +118137,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -117629,9 +118145,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c"
++ "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c"
+ ]
- deps = [
@@ -117712,16 +118226,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("u8-rminmax_riscv64") {
++ source_set("u8-vclamp_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -117776,16 +118288,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_riscv64_standalone") {
++ source_set("u8-vclamp_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
+ ]
- sources = [
@@ -117829,15 +118339,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qu8-vmul_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d") {
++ source_set("x16-packw_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c"
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
+ ]
- sources = [
@@ -117895,15 +118406,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("x16-packw_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c"
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
+ ]
- deps = [
@@ -117983,14 +118495,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("u8-vclamp_riscv64") {
++ source_set("x16-transposec_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
++ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -118044,14 +118556,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_riscv64_standalone") {
++ source_set("x16-transposec_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
++ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
+ ]
- sources = [
@@ -118094,16 +118606,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qu8-vpreluc_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("x16-packw_riscv64") {
++ source_set("x16-x32-packw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
+ ]
- sources = [
@@ -118159,16 +118670,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x16-packw_riscv64_standalone") {
++ source_set("x16-x32-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
+ ]
- deps = [
@@ -118249,14 +118759,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x16-transposec_riscv64") {
++ source_set("x24-transposec_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
++ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -118312,14 +118822,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x16-transposec_riscv64_standalone") {
++ source_set("x24-transposec_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
++ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
+ ]
- sources = [
@@ -118364,15 +118874,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("s8-ibilinear_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("x16-x32-packw_riscv64") {
++ source_set("x32-packw_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
++ "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c"
+ ]
- sources = [
@@ -118431,15 +118941,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x16-x32-packw_riscv64_standalone") {
++ source_set("x32-packw_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
++ "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c"
+ ]
- deps = [
@@ -118522,14 +119032,22 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x24-transposec_riscv64") {
++ source_set("x32-packw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
++ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -118586,14 +119104,22 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x24-transposec_riscv64_standalone") {
++ source_set("x32-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
++ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
+ ]
- sources = [
@@ -118693,7 +119219,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x32-packw_arch=rv64gcv-abi=lp64d") {
++ source_set("x32-transposec_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -118701,7 +119227,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c"
++ "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -118756,7 +119285,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("x32-transposec_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -118764,7 +119293,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c"
++ "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c"
+ ]
- sources = [
@@ -118919,22 +119451,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x32-packw_riscv64") {
++ source_set("x32-transposec_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
++ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -118996,22 +119520,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_riscv64_standalone") {
++ source_set("x32-transposec_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
++ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
+ ]
- sources = [
@@ -119056,18 +119572,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("u8-ibilinear_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("x32-transposec_arch=rv64gcv-abi=lp64d") {
++ source_set("x32-unpool_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c"
++ "src/src/x32-unpool/x32-unpool-scalar.c"
+ ]
- sources = [
@@ -119125,18 +119637,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("x32-unpool_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c"
++ "src/src/x32-unpool/x32-unpool-scalar.c"
+ ]
- deps = [
@@ -119216,14 +119724,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x32-transposec_riscv64") {
++ source_set("x64-transposec_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
++ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -119278,14 +119786,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_riscv64_standalone") {
++ source_set("x64-transposec_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
++ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
+ ]
- sources = [
@@ -119385,14 +119893,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x32-unpool_riscv64") {
++ source_set("x8-lut_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
++ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -119451,14 +119959,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x32-unpool_riscv64_standalone") {
++ source_set("x8-lut_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
++ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
+ ]
- sources = [
@@ -119528,14 +120036,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("x64-transposec_riscv64") {
++ source_set("x8-packq_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
++ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
+ ]
- if (build_with_chromium) {
@@ -119584,14 +120092,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x64-transposec_riscv64_standalone") {
++ source_set("x8-packq_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
++ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
+ ]
- sources = [
@@ -119670,14 +120178,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("x16-packw_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("x8-lut_riscv64") {
++ source_set("x8-packw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
+ ]
- sources = [
@@ -119738,14 +120253,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x8-lut_riscv64_standalone") {
++ source_set("x8-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
+ ]
- deps = [
@@ -119826,14 +120348,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x8-packq_riscv64") {
++ source_set("x8-transposec_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
++ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -119888,14 +120410,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packq_riscv64_standalone") {
++ source_set("x8-transposec_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
++ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
+ ]
- sources = [
@@ -119967,21 +120489,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("x8-packw_riscv64") {
++ source_set("xx-copy_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
++ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
+ ]
- if (build_with_chromium) {
@@ -120030,21 +120545,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packw_riscv64_standalone") {
++ source_set("xx-copy_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
++ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
+ ]
- sources = [
@@ -120132,14 +120640,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("x32-packw_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("x8-transposec_riscv64") {
++ source_set("xx-fill_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
++ "src/src/xx-fill/xx-fill-scalar-u16.c"
+ ]
- sources = [
@@ -120178,52 +120686,62 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("x32-transposec_arm64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
+- "src/src/x32-transposec/gen/x32-transposec-4x4-reuse-dec-zip-neon.c",
+- "src/src/x32-transposec/x32-transposec-4x4-aarch64-neon-tbl128.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-- if (build_with_chromium) {
-- source_set("x32-transposec_arm64") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x8-transposec_riscv64_standalone") {
++ source_set("xx-fill_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
++ "src/src/xx-fill/xx-fill-scalar-u16.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
-- "src/src/x32-transposec/gen/x32-transposec-4x4-reuse-dec-zip-neon.c",
-- "src/src/x32-transposec/x32-transposec-4x4-aarch64-neon-tbl128.c",
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -120231,35 +120749,11 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("x32-transposec_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("xx-copy_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -120285,112 +120779,45 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("x32-unpool_arm64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-copy_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/x32-unpool/x32-unpool-neon.c",
- "src/src/x32-unpool/x32-unpool-scalar.c",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x32-unpool_arm64_standalone") {
-- cflags = []
+if (build_with_chromium) {
-+ source_set("xx-fill_riscv64") {
++ source_set("xx-pad_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
++ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x32-unpool/x32-unpool-neon.c",
-- "src/src/x32-unpool/x32-unpool-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
- }
- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -120398,8 +120825,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- if (build_with_chromium) {
-- source_set("x64-transposec_arm64") {
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("x32-unpool_arm64_standalone") {
- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
@@ -120410,62 +120838,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-2x2-multi-dec-zip-neon.c",
-- "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
-- "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-fill_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x64-transposec_arm64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x64-transposec/gen/x64-transposec-2x2-multi-dec-zip-neon.c",
-- "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
-- "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
+- "src/src/x32-unpool/x32-unpool-neon.c",
+- "src/src/x32-unpool/x32-unpool-scalar.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -120485,23 +120859,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
-- source_set("x8-lut_arm64") {
+- source_set("x64-transposec_arm64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
-- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("xx-pad_riscv64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("xx-pad_riscv64_standalone") {
+ cflags = [
+
+ ]
@@ -120511,54 +120879,63 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/x64-transposec/gen/x64-transposec-2x2-multi-dec-zip-neon.c",
+- "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
+- "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("x8-lut_arm64_standalone") {
+- source_set("x64-transposec_arm64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-pad_riscv64_standalone") {
++if (build_with_chromium) {
++ source_set("xx-transposev_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
++ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
-- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
+- "src/src/x64-transposec/gen/x64-transposec-2x2-multi-dec-zip-neon.c",
+- "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
+- "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -120586,56 +120963,149 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+- source_set("x8-lut_arm64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/x8-pack-lh/x8-packlh-igemm-neonsme.c",
-- "src/src/x8-pack-lh/x8-packlh-igemm-neonsme2.c",
-- "src/src/x8-pack-lh/x8-packlh-neonsme.c",
-- "src/src/x8-pack-lh/x8-packlh-neonsme2.c",
+- "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
+- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
- ]
--
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
+
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
--
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("xx-transposev_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("x8-lut_arm64_standalone") {
+- cflags = []
+ public_configs = [ ":xnnpack_public_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
+- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
+- if (build_with_chromium) {
+- source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
++}
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/x8-pack-lh/x8-packlh-igemm-neonsme.c",
+- "src/src/x8-pack-lh/x8-packlh-igemm-neonsme2.c",
+- "src/src/x8-pack-lh/x8-packlh-neonsme.c",
+- "src/src/x8-pack-lh/x8-packlh-neonsme2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++if (current_cpu == "ppc64") {
+if (build_with_chromium) {
-+ source_set("xx-transposev_riscv64") {
++ source_set("bf16-f32-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
++ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
+- cflags = [ "-march=armv8.2-a+sve+sve2" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
@@ -120664,46 +121134,35 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- if (build_with_chromium) {
- source_set("x8-packq_arm64") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/x8-packq/x8-packq-aarch64-neon-f16qp8-u2.c",
- "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
- "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("xx-transposev_riscv64_standalone") {
++ source_set("bf16-f32-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
++ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
+ ]
- deps = [
@@ -120766,8 +121225,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_chromium) {
- source_set("x8-packw_arm64") {
- cflags = []
-+}
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
@@ -120791,16 +121249,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (current_cpu == "ppc64") {
+if (build_with_chromium) {
-+ source_set("bf16-f32-vcvt_ppc64") {
++ source_set("bf16-qs8-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
++ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -120861,14 +121318,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-f32-vcvt_ppc64_standalone") {
++ source_set("bf16-qs8-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
++ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
- sources = [
@@ -120912,14 +121369,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("x8-transposec_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("bf16-qs8-vcvt_ppc64") {
++ source_set("bf16-qu8-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
- sources = [
@@ -120976,14 +121433,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qs8-vcvt_ppc64_standalone") {
++ source_set("bf16-qu8-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
- deps = [
@@ -121063,14 +121520,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("bf16-qu8-vcvt_ppc64") {
++ source_set("bf16-rminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
++ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -121125,14 +121584,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qu8-vcvt_ppc64_standalone") {
++ source_set("bf16-rminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
++ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
+ ]
- sources = [
@@ -121176,16 +121637,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("xx-pad_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("bf16-rminmax_ppc64") {
++ source_set("bf16-vunary_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
+ ]
- sources = [
@@ -121242,16 +121701,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-rminmax_ppc64_standalone") {
++ source_set("bf16-vunary_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
+ ]
- deps = [
@@ -121331,14 +121788,37 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("bf16-vunary_ppc64") {
++ source_set("configs_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
++ "src/src/configs/argmaxpool-config.c",
++ "src/src/configs/avgpool-config.c",
++ "src/src/configs/binary-elementwise-config.c",
++ "src/src/configs/cmul-config.c",
++ "src/src/configs/conv-hwc2chw-config.c",
++ "src/src/configs/dwconv-config.c",
++ "src/src/configs/dwconv2d-chw-config.c",
++ "src/src/configs/gemm-config.c",
++ "src/src/configs/hardware-config.c",
++ "src/src/configs/ibilinear-chw-config.c",
++ "src/src/configs/ibilinear-config.c",
++ "src/src/configs/lut32norm-config.c",
++ "src/src/configs/maxpool-config.c",
++ "src/src/configs/pack-lh-config.c",
++ "src/src/configs/raddstoreexpminusmax-config.c",
++ "src/src/configs/reduce-config.c",
++ "src/src/configs/spmm-config.c",
++ "src/src/configs/transpose-config.c",
++ "src/src/configs/unary-elementwise-config.c",
++ "src/src/configs/unpool-config.c",
++ "src/src/configs/vmulcaddc-config.c",
++ "src/src/configs/x8-lut-config.c",
++ "src/src/configs/xx-fill-config.c",
++ "src/src/configs/xx-pad-config.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -121392,57 +121872,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-vunary_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-qs8-vcvt_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("configs_ppc64") {
++ source_set("configs_ppc64_standalone") {
+ cflags = [
+
+ ]
@@ -121479,6 +121909,60 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/include/xnnpack.h",
- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("bf16-qs8-vcvt_riscv64_standalone") {
+- cflags = []
++if (build_with_chromium) {
++ source_set("enums_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/enums/allocation-type.c",
++ "src/src/enums/datatype-strings.c",
++ "src/src/enums/microkernel-type.c",
++ "src/src/enums/node-type.c",
++ "src/src/enums/operator-type.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
+- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -121528,37 +122012,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("configs_ppc64_standalone") {
++ source_set("enums_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
++ "src/src/enums/allocation-type.c",
++ "src/src/enums/datatype-strings.c",
++ "src/src/enums/microkernel-type.c",
++ "src/src/enums/node-type.c",
++ "src/src/enums/operator-type.c"
+ ]
- deps = [
@@ -121639,18 +122104,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("enums_ppc64") {
++ source_set("f16-avgpool_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -121706,18 +122167,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("enums_ppc64_standalone") {
++ source_set("f16-avgpool_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -121785,14 +122242,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-avgpool_ppc64") {
++ source_set("f16-dwconv_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
+ ]
- if (build_with_chromium) {
@@ -121861,14 +122321,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-avgpool_ppc64_standalone") {
++ source_set("f16-dwconv_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
+ ]
- sources = [
@@ -121996,17 +122459,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-dwconv_ppc64") {
++ source_set("f16-f32-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
+ ]
- if (build_with_chromium) {
@@ -122087,17 +122547,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_ppc64_standalone") {
++ source_set("f16-f32-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -122165,14 +122622,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_ppc64") {
++ source_set("f16-qs8-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
- if (build_with_chromium) {
@@ -122259,14 +122716,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_ppc64_standalone") {
++ source_set("f16-qs8-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
- sources = [
@@ -122364,14 +122821,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_ppc64") {
++ source_set("f16-qu8-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -122429,14 +122886,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_ppc64_standalone") {
++ source_set("f16-qu8-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
- sources = [
@@ -122504,14 +122961,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-qu8-vcvt_ppc64") {
++ source_set("f16-rdminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
+ ]
- if (build_with_chromium) {
@@ -122612,14 +123070,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qu8-vcvt_ppc64_standalone") {
++ source_set("f16-rdminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -122734,15 +123193,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-rdminmax_ppc64") {
++ source_set("f16-rminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
++ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
+ ]
- if (build_with_chromium) {
@@ -122844,15 +123304,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_ppc64_standalone") {
++ source_set("f16-rminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
++ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -122970,16 +123431,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-rminmax_ppc64") {
++ source_set("f16-vapproxgelu_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
+ ]
- if (build_with_chromium) {
@@ -123060,16 +123519,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_ppc64_standalone") {
++ source_set("f16-vapproxgelu_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
+ ]
- sources = [
@@ -123112,14 +123569,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-qs8-vcvt_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_ppc64") {
++ source_set("f16-vcos_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
+ ]
- sources = [
@@ -123166,14 +123623,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_ppc64_standalone") {
++ source_set("f16-vcos_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
+ ]
- sources = [
@@ -123216,14 +123673,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-qu8-vcvt_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vcos_ppc64") {
++ source_set("f16-vexp_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
+ ]
- sources = [
@@ -123326,14 +123783,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_ppc64_standalone") {
++ source_set("f16-vexp_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
+ ]
- if (build_with_chromium) {
@@ -123424,14 +123881,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vexp_ppc64") {
++ source_set("f16-vgelu_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -123468,14 +123925,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_ppc64_standalone") {
++ source_set("f16-vgelu_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
+ ]
- sources = [
@@ -123594,14 +124051,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vgelu_ppc64") {
++ source_set("f16-vlog_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -123638,14 +124095,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_ppc64_standalone") {
++ source_set("f16-vlog_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
+ ]
- sources = [
@@ -123774,14 +124231,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vlog_ppc64") {
++ source_set("f16-vsin_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -123839,14 +124296,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_ppc64_standalone") {
++ source_set("f16-vsin_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
+ ]
- sources = [
@@ -123914,14 +124371,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vsin_ppc64") {
++ source_set("f16-vsqrt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
+ ]
- if (build_with_chromium) {
@@ -124058,14 +124515,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_ppc64_standalone") {
++ source_set("f16-vsqrt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -124180,14 +124637,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vsqrt_ppc64") {
++ source_set("f16-vtanh_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
+ ]
- if (build_with_chromium) {
@@ -124268,14 +124725,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_ppc64_standalone") {
++ source_set("f16-vtanh_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
+ ]
- sources = [
@@ -124318,14 +124775,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f16-vcos_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vtanh_ppc64") {
++ source_set("f32-argmaxpool_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
+ ]
- sources = [
@@ -124427,14 +124884,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_ppc64_standalone") {
++ source_set("f32-argmaxpool_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
+ ]
- if (build_with_chromium) {
@@ -124522,14 +124979,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_ppc64") {
++ source_set("f32-avgpool_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -124566,14 +125023,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_ppc64_standalone") {
++ source_set("f32-avgpool_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -124685,14 +125142,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-avgpool_ppc64") {
++ source_set("f32-bf16-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -124729,14 +125186,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_ppc64_standalone") {
++ source_set("f32-bf16-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
+ ]
- sources = [
@@ -124863,14 +125320,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_ppc64") {
++ source_set("f32-conv-hwc2chw_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -124928,14 +125385,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_ppc64_standalone") {
++ source_set("f32-conv-hwc2chw_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
+ ]
- sources = [
@@ -124977,7 +125434,24 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-vlog_riscv64_standalone") {
- cflags = []
--
++if (build_with_chromium) {
++ source_set("f32-dwconv2d-chw_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c",
@@ -125002,16 +125476,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d") {
@@ -125036,14 +125504,6 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -125051,6 +125511,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -125082,9 +125548,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-dwconv2d-chw_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ ]
- if (build_with_chromium) {
- source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d") {
@@ -125109,26 +125591,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -125159,14 +125636,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d") {
@@ -125194,14 +125670,33 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++if (build_with_chromium) {
++ source_set("f32-dwconv_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -125237,24 +125732,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- if (build_with_chromium) {
- source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d") {
@@ -125279,20 +125766,34 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-dwconv_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -125325,9 +125826,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
- if (build_with_chromium) {
- source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d") {
@@ -125352,28 +125857,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
--
++ public_configs = [ ":xnnpack_public_config" ]
+
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
-+ ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -125407,10 +125898,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f32-f16-vcvt_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
++ ]
- if (build_with_chromium) {
- source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d") {
@@ -125435,18 +125932,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -125477,65 +125977,58 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f16-vsin_riscv64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-dwconv_ppc64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-f16-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -125543,27 +126036,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-vsin_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
@@ -125588,10 +126061,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f32-gemm_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
++ ]
- if (build_with_chromium) {
- source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d") {
@@ -125616,18 +126100,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -125658,56 +126145,63 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f16-vsqrt_riscv64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_ppc64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-gemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
++ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -125715,18 +126209,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-vsqrt_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c",
@@ -125751,10 +126234,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f32-ibilinear-chw_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
++ ]
- if (build_with_chromium) {
- source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d") {
@@ -125779,18 +126268,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -125821,61 +126313,58 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f16-vtanh_riscv64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-gemm_ppc64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-ibilinear-chw_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
++ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -125883,21 +126372,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-vtanh_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_ppc64_standalone") {
++if (build_with_chromium) {
++ source_set("f32-ibilinear_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
++ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
+ ]
- sources = [
@@ -125958,13 +126441,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
-- }
+ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -125998,11 +126482,19 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-ibilinear_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
++ ]
- if (build_with_chromium) {
- source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d") {
@@ -126027,25 +126519,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear-chw_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d_standalone") {
@@ -126076,52 +126564,46 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("f32-argmaxpool_riscv64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear-chw_ppc64_standalone") {
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
+- ]
++if (build_with_chromium) {
++ source_set("f32-igemm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
++ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- deps = [
- "//third_party/cpuinfo",
@@ -126129,12 +126611,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -126142,7 +126628,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f32-argmaxpool_riscv64_standalone") {
- cflags = []
--
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-igemm_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
@@ -126167,16 +126669,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f32-avgpool_arch=rv64gcv-abi=lp64d") {
@@ -126201,21 +126697,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-avgpool_arch=rv64gcv-abi=lp64d_standalone") {
@@ -126246,8 +126739,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -126264,45 +126758,43 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_ppc64_standalone") {
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++if (build_with_chromium) {
++ source_set("f32-maxpool_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-avgpool_riscv64_standalone") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-avgpool_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c",
@@ -126325,61 +126817,58 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f32-bf16-vcvt_riscv64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-igemm_ppc64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-maxpool_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -126387,23 +126876,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f32-bf16-vcvt_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
@@ -126428,10 +126901,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f32-qc4w-gemm_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
++ ]
- if (build_with_chromium) {
- source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d") {
@@ -126456,18 +126936,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d_standalone") {
@@ -126498,56 +126981,59 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f32-conv-hwc2chw_riscv64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-maxpool_ppc64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-qc4w-gemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -126555,18 +127041,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f32-conv-hwc2chw_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
@@ -126591,10 +127066,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f32-qc8w-gemm_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
++ ]
- if (build_with_chromium) {
- source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d") {
@@ -126620,18 +127102,21 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d_standalone") {
@@ -126663,32 +127148,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f32-dwconv2d-chw_riscv64") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
@@ -126712,36 +127180,32 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
+-
- public_configs = [ ":xnnpack_public_config" ]
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-dwconv2d-chw_riscv64_standalone") {
-- cflags = []
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_ppc64_standalone") {
++ source_set("f32-qc8w-gemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-dwconv2d-chw_riscv64_standalone") {
+- cflags = []
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
@@ -126773,10 +127237,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
- if (build_with_chromium) {
- source_set("f32-dwconv_arch=rv64gcv-abi=lp64d") {
@@ -126808,17 +127274,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -126857,27 +127320,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-dwconv_riscv64") {
-- cflags = []
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_ppc64") {
++ source_set("f32-qs8-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-dwconv_riscv64") {
+- cflags = []
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
@@ -126927,15 +127386,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_ppc64_standalone") {
++ source_set("f32-qs8-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
+ ]
- sources = [
@@ -127056,15 +127515,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_ppc64") {
++ source_set("f32-qu8-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -127101,15 +127560,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_ppc64_standalone") {
++ source_set("f32-qu8-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
+ ]
- sources = [
@@ -127240,15 +127699,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_ppc64") {
++ source_set("f32-raddstoreexpminusmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -127307,15 +127765,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_ppc64_standalone") {
++ source_set("f32-raddstoreexpminusmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
+ ]
- sources = [
@@ -127383,14 +127840,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_ppc64") {
++ source_set("f32-rdminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
+ ]
- if (build_with_chromium) {
@@ -127471,14 +127929,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_ppc64_standalone") {
++ source_set("f32-rdminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
+ ]
- sources = [
@@ -127546,15 +128005,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-rdminmax_ppc64") {
++ source_set("f32-rdsum2_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -127637,15 +128095,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_ppc64_standalone") {
++ source_set("f32-rdsum2_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
- sources = [
@@ -127747,14 +128204,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rdsum2_ppc64") {
++ source_set("f32-rdsum_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -127812,14 +128269,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_ppc64_standalone") {
++ source_set("f32-rdsum_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
+ ]
- sources = [
@@ -127862,14 +128319,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-maxpool_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-rdsum_ppc64") {
++ source_set("f32-rminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
++ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
+ ]
- sources = [
@@ -127926,14 +128385,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_ppc64_standalone") {
++ source_set("f32-rminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
++ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
+ ]
- deps = [
@@ -128002,16 +128463,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rminmax_ppc64") {
++ source_set("f32-rsum2_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
++ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -128048,16 +128507,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_ppc64_standalone") {
++ source_set("f32-rsum2_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
++ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
+ ]
- sources = [
@@ -128171,14 +128628,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rsum2_ppc64") {
++ source_set("f32-rsum_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
++ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -128215,14 +128672,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_ppc64_standalone") {
++ source_set("f32-rsum_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
++ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
+ ]
- sources = [
@@ -128336,14 +128793,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rsum_ppc64") {
++ source_set("f32-spmm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
++ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -128380,14 +128839,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_ppc64_standalone") {
++ source_set("f32-spmm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
++ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
+ ]
- sources = [
@@ -128500,16 +128961,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-spmm_ppc64") {
++ source_set("f32-vapproxgelu_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -128546,16 +129005,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_ppc64_standalone") {
++ source_set("f32-vapproxgelu_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
+ ]
- sources = [
@@ -128670,14 +129127,32 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_ppc64") {
++ source_set("f32-vbinary_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -128714,14 +129189,32 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_ppc64_standalone") {
++ source_set("f32-vbinary_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
+ ]
- sources = [
@@ -128834,32 +129327,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vbinary_ppc64") {
++ source_set("f32-vclamp_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
++ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -128896,32 +129371,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_ppc64_standalone") {
++ source_set("f32-vclamp_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
++ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
- sources = [
@@ -129033,14 +129490,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vclamp_ppc64") {
++ source_set("f32-vcmul_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
++ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -129077,14 +129534,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_ppc64_standalone") {
++ source_set("f32-vcmul_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
++ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
+ ]
- sources = [
@@ -129202,14 +129659,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vcmul_ppc64") {
++ source_set("f32-vcopysign_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
++ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -129246,14 +129705,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_ppc64_standalone") {
++ source_set("f32-vcopysign_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
++ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
+ ]
- sources = [
@@ -129367,16 +129828,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vcopysign_ppc64") {
++ source_set("f32-vcos_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
++ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -129413,16 +129872,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_ppc64_standalone") {
++ source_set("f32-vcos_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
++ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
+ ]
- sources = [
@@ -129534,14 +129991,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vcos_ppc64") {
++ source_set("f32-velu_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
++ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -129578,14 +130035,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_ppc64_standalone") {
++ source_set("f32-velu_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
++ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
+ ]
- sources = [
@@ -129703,14 +130160,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-velu_ppc64") {
++ source_set("f32-vexp_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
++ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -129747,14 +130204,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_ppc64_standalone") {
++ source_set("f32-vexp_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
++ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
+ ]
- sources = [
@@ -129868,14 +130325,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vexp_ppc64") {
++ source_set("f32-vgelu_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
++ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -129912,14 +130369,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_ppc64_standalone") {
++ source_set("f32-vgelu_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
++ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
+ ]
- sources = [
@@ -130062,15 +130519,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("f32-vbinary_riscv64") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vgelu_ppc64") {
++ source_set("f32-vhswish_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
+ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -130106,20 +130568,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -130130,14 +130587,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_ppc64_standalone") {
++ source_set("f32-vhswish_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
+ ]
- sources = [
@@ -130267,14 +130724,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vhswish_ppc64") {
++ source_set("f32-vlog_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
++ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -130311,14 +130768,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_ppc64_standalone") {
++ source_set("f32-vlog_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
++ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
+ ]
- sources = [
@@ -130430,175 +130887,6 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vlog_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
-+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcmul_riscv64_standalone") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vcopysign_riscv64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
-- ]
-+if (build_with_chromium) {
+ source_set("f32-vlrelu_ppc64") {
+ cflags = [
+
@@ -130639,7 +130927,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcopysign_riscv64_standalone") {
+- source_set("f32-vcmul_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -130655,9 +130943,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
+- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -130685,7 +130971,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vcos_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -130693,7 +130979,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
+- "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -130721,7 +131009,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -130729,7 +131017,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
+- "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -130756,12 +131046,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vcos_riscv64") {
+- source_set("f32-vcopysign_riscv64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
+- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
- ]
+if (build_with_chromium) {
+ source_set("f32-vmulcaddc_ppc64") {
@@ -130804,7 +131096,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vcos_riscv64_standalone") {
+- source_set("f32-vcopysign_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -130820,7 +131112,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
+- "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
+- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -130848,7 +131142,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-velu_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vcos_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -130856,7 +131150,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c",
+- "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -130884,7 +131178,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vcos_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -130892,7 +131186,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c",
+- "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -130919,12 +131213,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-velu_riscv64") {
+- source_set("f32-vcos_riscv64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
+- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
- ]
+if (build_with_chromium) {
+ source_set("f32-vrnd_ppc64") {
@@ -130970,7 +131264,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_riscv64_standalone") {
+- source_set("f32-vcos_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -130989,7 +131283,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
+- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131017,7 +131311,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vexp_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-velu_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131025,7 +131319,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c",
+- "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131053,7 +131347,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-velu_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131061,7 +131355,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c",
+- "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131088,12 +131382,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vexp_riscv64") {
+- source_set("f32-velu_riscv64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
+- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
- ]
+if (build_with_chromium) {
+ source_set("f32-vrsqrt_ppc64") {
@@ -131137,7 +131431,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vexp_riscv64_standalone") {
+- source_set("f32-velu_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -131154,7 +131448,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
+- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131182,7 +131476,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vgelu_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vexp_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131190,7 +131484,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c",
+- "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131218,7 +131512,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vexp_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131226,7 +131520,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c",
+- "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131253,12 +131547,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vgelu_riscv64") {
+- source_set("f32-vexp_riscv64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
+- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
- ]
+if (build_with_chromium) {
+ source_set("f32-vsigmoid_ppc64") {
@@ -131301,7 +131595,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vgelu_riscv64_standalone") {
+- source_set("f32-vexp_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -131317,7 +131611,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
+- "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131345,7 +131639,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vhswish_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vgelu_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131353,7 +131647,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c",
+- "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131381,7 +131675,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vgelu_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131389,7 +131683,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c",
+- "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131416,12 +131710,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vhswish_riscv64") {
+- source_set("f32-vgelu_riscv64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
+- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
- ]
+if (build_with_chromium) {
+ source_set("f32-vsin_ppc64") {
@@ -131464,7 +131758,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vhswish_riscv64_standalone") {
+- source_set("f32-vgelu_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -131480,7 +131774,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
+- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131508,7 +131802,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vlog_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vhswish_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131516,7 +131810,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c",
+- "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131544,7 +131838,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vhswish_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131552,7 +131846,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c",
+- "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131579,12 +131873,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vlog_riscv64") {
+- source_set("f32-vhswish_riscv64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
+- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
- ]
+if (build_with_chromium) {
+ source_set("f32-vsqrt_ppc64") {
@@ -131627,7 +131921,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_riscv64_standalone") {
+- source_set("f32-vhswish_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -131643,7 +131937,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
+- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131671,7 +131965,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vlog_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131679,7 +131973,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c",
+- "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131707,7 +132001,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vlog_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131715,7 +132009,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c",
+- "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131742,12 +132036,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vlrelu_riscv64") {
+- source_set("f32-vlog_riscv64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
+- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
- ]
+if (build_with_chromium) {
+ source_set("f32-vtanh_ppc64") {
@@ -131790,7 +132084,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_riscv64_standalone") {
+- source_set("f32-vlog_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -131806,7 +132100,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
+- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131834,7 +132128,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131842,7 +132136,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131870,7 +132164,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -131878,7 +132172,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -131905,12 +132199,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_riscv64") {
+- source_set("f32-vlrelu_riscv64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
- ]
+if (build_with_chromium) {
+ source_set("f32-vunary_ppc64") {
@@ -131955,7 +132249,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_riscv64_standalone") {
+- source_set("f32-vlrelu_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -131973,7 +132267,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132001,7 +132295,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vrnd_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -132009,10 +132303,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132040,7 +132331,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -132048,10 +132339,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132078,8 +132366,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vrnd_riscv64") {
+- source_set("f32-vmulcaddc_riscv64") {
- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
+- ]
+if (build_with_chromium) {
+ source_set("operators_ppc64") {
+ cflags = [
@@ -132112,25 +132405,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/operators/unary-elementwise-nc.c",
+ "src/src/operators/unpooling-nhwc.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
--
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
@@ -132152,7 +132436,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_riscv64_standalone") {
+- source_set("f32-vmulcaddc_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -132190,10 +132474,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132221,7 +132502,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vrnd_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -132229,7 +132510,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c",
+- "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132257,7 +132541,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vrnd_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -132265,7 +132549,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c",
+- "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132292,14 +132579,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vrsqrt_riscv64") {
+- source_set("f32-vrnd_riscv64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
+if (build_with_chromium) {
+ source_set("qd8-bf16-qb4w-gemm_ppc64") {
+ cflags = [
@@ -132311,16 +132592,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
@@ -132342,7 +132632,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_riscv64_standalone") {
+- source_set("f32-vrnd_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -132359,8 +132649,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
+- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132388,7 +132680,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -132396,7 +132688,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132424,7 +132716,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -132432,7 +132724,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132459,12 +132751,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vsigmoid_riscv64") {
+- source_set("f32-vrsqrt_riscv64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
- ]
+if (build_with_chromium) {
+ source_set("qd8-f16-qc2w-gemm_ppc64") {
@@ -132507,7 +132800,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_riscv64_standalone") {
+- source_set("f32-vrsqrt_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -132523,7 +132816,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132551,7 +132845,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f32-vsin_arch=rv64gcv-abi=lp64d") {
+- source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -132559,7 +132853,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132587,7 +132881,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -132595,7 +132889,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132622,12 +132916,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f32-vsin_riscv64") {
+- source_set("f32-vsigmoid_riscv64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
- ]
+if (build_with_chromium) {
+ source_set("qd8-f32-qb4w-gemm_ppc64") {
@@ -132671,7 +132965,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_riscv64_standalone") {
+- source_set("f32-vsigmoid_riscv64_standalone") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -132688,6 +132982,169 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_arch=rv64gcv-abi=lp64d") {
+- cflags = [
+- "-mabi=lp64d",
+- "-march=rv64gcv",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_arch=rv64gcv-abi=lp64d_standalone") {
+- cflags = [
+- "-mabi=lp64d",
+- "-march=rv64gcv",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_riscv64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
+- ]
++if (build_with_chromium) {
++ source_set("qd8-f32-qc2w-gemm_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
++ ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_riscv64_standalone") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qd8-f32-qc2w-gemm_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
- ]
-
@@ -132795,14 +133252,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_ppc64") {
++ source_set("qd8-f32-qc4w-gemm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -132839,14 +133297,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_ppc64_standalone") {
++ source_set("qd8-f32-qc4w-gemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -132958,15 +133417,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_ppc64") {
++ source_set("qd8-f32-qc8w-gemm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -133003,15 +133463,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_ppc64_standalone") {
++ source_set("qd8-f32-qc8w-gemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -133129,16 +133590,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_ppc64") {
++ source_set("qd8-f32-qc8w-igemm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -133175,16 +133636,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_ppc64_standalone") {
++ source_set("qd8-f32-qc8w-igemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -133280,16 +133741,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("operators_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_ppc64") {
++ source_set("qs8-dwconv_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -133368,16 +133830,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_ppc64_standalone") {
++ source_set("qs8-dwconv_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- deps = [
@@ -133457,17 +133920,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-dwconv_ppc64") {
++ source_set("qs8-f32-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -133542,17 +134002,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_ppc64_standalone") {
++ source_set("qs8-f32-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -133670,14 +134127,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_ppc64") {
++ source_set("qs8-packw_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -133760,14 +134223,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_ppc64_standalone") {
++ source_set("qs8-packw_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
+ ]
- sources = [
@@ -133811,20 +134280,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qb4w-gemm_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-packw_ppc64") {
++ source_set("qs8-qc2w-gemm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
+ ]
- sources = [
@@ -133881,20 +134347,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_ppc64_standalone") {
++ source_set("qs8-qc2w-gemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
+ ]
- deps = [
@@ -133977,17 +134440,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_ppc64") {
++ source_set("qs8-qc4w-gemm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -134046,17 +134507,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_ppc64_standalone") {
++ source_set("qs8-qc4w-gemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
+ ]
- sources = [
@@ -134126,15 +134585,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_ppc64") {
++ source_set("qs8-qc4w-packw_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -134217,15 +134676,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_ppc64_standalone") {
++ source_set("qs8-qc4w-packw_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
+ ]
- sources = [
@@ -134297,15 +134756,19 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_ppc64") {
++ source_set("qs8-qc8w-dwconv_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- if (build_with_chromium) {
@@ -134388,15 +134851,19 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_ppc64_standalone") {
++ source_set("qs8-qc8w-dwconv_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -134468,19 +134935,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_ppc64") {
++ source_set("qs8-qc8w-gemm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- if (build_with_chromium) {
@@ -134563,19 +135026,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_ppc64_standalone") {
++ source_set("qs8-qc8w-gemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -134673,15 +135132,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_ppc64") {
++ source_set("qs8-qc8w-igemm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -134739,15 +135198,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_ppc64_standalone") {
++ source_set("qs8-qc8w-igemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -134815,15 +135274,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_ppc64") {
++ source_set("qs8-qu8-packw_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -134875,15 +135334,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_ppc64_standalone") {
++ source_set("qs8-qu8-packw_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
+ ]
- sources = [
@@ -134964,15 +135423,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qs8-qc2w-gemm_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qu8-packw_ppc64") {
++ source_set("qs8-rdsum_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
+ ]
- sources = [
@@ -135032,15 +135490,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qu8-packw_ppc64_standalone") {
++ source_set("qs8-rdsum_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
+ ]
- deps = [
@@ -135109,14 +135566,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-rdsum_ppc64") {
++ source_set("qs8-rsum_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
++ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -135153,14 +135610,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_ppc64_standalone") {
++ source_set("qs8-rsum_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
++ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
+ ]
- sources = [
@@ -135272,20 +135729,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qs8-qc8w-dwconv_riscv64") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-rsum_ppc64") {
++ source_set("qs8-vadd_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -135308,15 +135761,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -135327,14 +135785,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_ppc64_standalone") {
++ source_set("qs8-vadd_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
+ ]
- sources = [
@@ -135454,15 +135913,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vadd_ppc64") {
++ source_set("qs8-vaddc_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -135499,15 +135958,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_ppc64_standalone") {
++ source_set("qs8-vaddc_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
+ ]
- sources = [
@@ -135635,15 +136094,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vaddc_ppc64") {
++ source_set("qs8-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -135698,15 +136156,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_ppc64_standalone") {
++ source_set("qs8-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -135776,14 +136233,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-vcvt_ppc64") {
++ source_set("qs8-vlrelu_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
+ ]
- if (build_with_chromium) {
@@ -135864,14 +136321,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_ppc64_standalone") {
++ source_set("qs8-vlrelu_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
+ ]
- sources = [
@@ -135939,14 +136396,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_ppc64") {
++ source_set("qs8-vmul_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- if (build_with_chromium) {
@@ -136027,14 +136484,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_ppc64_standalone") {
++ source_set("qs8-vmul_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -136102,14 +136559,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-vmul_ppc64") {
++ source_set("qs8-vmulc_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- if (build_with_chromium) {
@@ -136190,14 +136647,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_ppc64_standalone") {
++ source_set("qs8-vmulc_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -136267,14 +136724,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-vmulc_ppc64") {
++ source_set("qs8-vprelu_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
+ ]
- if (build_with_chromium) {
@@ -136355,14 +136812,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_ppc64_standalone") {
++ source_set("qs8-vprelu_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
+ ]
- sources = [
@@ -136432,14 +136889,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-vprelu_ppc64") {
++ source_set("qs8-vpreluc_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
++ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
+ ]
- if (build_with_chromium) {
@@ -136520,14 +136977,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vprelu_ppc64_standalone") {
++ source_set("qs8-vpreluc_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
++ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
+ ]
- sources = [
@@ -136595,14 +137052,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-vpreluc_ppc64") {
++ source_set("qs8-vrpreluc_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
++ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
+ ]
- if (build_with_chromium) {
@@ -136683,14 +137140,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vpreluc_ppc64_standalone") {
++ source_set("qs8-vrpreluc_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
++ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
+ ]
- sources = [
@@ -136758,14 +137215,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qs8-vrpreluc_ppc64") {
++ source_set("qu8-dwconv_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- if (build_with_chromium) {
@@ -136846,14 +137306,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vrpreluc_ppc64_standalone") {
++ source_set("qu8-dwconv_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -136921,17 +137384,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-dwconv_ppc64") {
++ source_set("qu8-f32-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
+ ]
- if (build_with_chromium) {
@@ -137012,17 +137472,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_ppc64_standalone") {
++ source_set("qu8-f32-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -137065,14 +137522,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qs8-vmulc_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_ppc64") {
++ source_set("qu8-gemm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -137128,14 +137586,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_ppc64_standalone") {
++ source_set("qu8-gemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- deps = [
@@ -137214,15 +137673,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-gemm_ppc64") {
++ source_set("qu8-igemm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -137276,15 +137735,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_ppc64_standalone") {
++ source_set("qu8-igemm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -137352,15 +137811,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-igemm_ppc64") {
++ source_set("qu8-rdsum_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -137443,15 +137901,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_ppc64_standalone") {
++ source_set("qu8-rdsum_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
+ ]
- sources = [
@@ -137549,14 +138006,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-rdsum_ppc64") {
++ source_set("qu8-rsum_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -137614,14 +138071,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_ppc64_standalone") {
++ source_set("qu8-rsum_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
+ ]
- sources = [
@@ -137689,14 +138146,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-rsum_ppc64") {
++ source_set("qu8-vadd_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
+ ]
- if (build_with_chromium) {
@@ -137779,14 +138237,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_ppc64_standalone") {
++ source_set("qu8-vadd_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
+ ]
- sources = [
@@ -137856,15 +138315,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vadd_ppc64") {
++ source_set("qu8-vaddc_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
+ ]
- if (build_with_chromium) {
@@ -137947,15 +138406,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_ppc64_standalone") {
++ source_set("qu8-vaddc_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
+ ]
- sources = [
@@ -138025,15 +138484,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vaddc_ppc64") {
++ source_set("qu8-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
++ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
+ ]
- if (build_with_chromium) {
@@ -138114,15 +138572,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_ppc64_standalone") {
++ source_set("qu8-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
++ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -138190,14 +138647,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vcvt_ppc64") {
++ source_set("qu8-vlrelu_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
+ ]
- if (build_with_chromium) {
@@ -138278,14 +138735,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_ppc64_standalone") {
++ source_set("qu8-vlrelu_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
+ ]
- sources = [
@@ -138353,14 +138810,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_ppc64") {
++ source_set("qu8-vmul_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- if (build_with_chromium) {
@@ -138441,14 +138898,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_ppc64_standalone") {
++ source_set("qu8-vmul_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -138518,14 +138975,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vmul_ppc64") {
++ source_set("qu8-vmulc_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- if (build_with_chromium) {
@@ -138606,14 +139063,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_ppc64_standalone") {
++ source_set("qu8-vmulc_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -138654,13 +139111,176 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_riscv64_standalone") {
+- source_set("qu8-vaddc_riscv64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("qu8-vprelu_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d") {
+- cflags = [
+- "-mabi=lp64d",
+- "-march=rv64gcv",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+- cflags = [
+- "-mabi=lp64d",
+- "-march=rv64gcv",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qu8-vcvt_riscv64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-vprelu_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vcvt_riscv64_standalone") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -138683,18 +139303,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vmulc_ppc64") {
++ source_set("qu8-vpreluc_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
+ ]
- if (build_with_chromium) {
-- source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d") {
+- source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -138702,7 +139322,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -138733,7 +139353,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -138741,7 +139361,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -138767,23 +139387,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("qu8-vcvt_riscv64") {
+- source_set("qu8-vlrelu_riscv64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_ppc64_standalone") {
++ source_set("qu8-vpreluc_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -138818,12 +139438,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_riscv64_standalone") {
+- source_set("qu8-vlrelu_riscv64_standalone") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
+- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -138846,18 +139466,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vprelu_ppc64") {
++ source_set("qu8-vrpreluc_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
+ ]
- if (build_with_chromium) {
-- source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d") {
+- source_set("qu8-vmul_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -138865,7 +139485,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c",
+- "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -138896,7 +139516,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("qu8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -138904,7 +139524,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c",
+- "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -138930,23 +139550,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("qu8-vlrelu_riscv64") {
+- source_set("qu8-vmul_riscv64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vprelu_ppc64_standalone") {
++ source_set("qu8-vrpreluc_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
+- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -138981,12 +139601,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vlrelu_riscv64_standalone") {
+- source_set("qu8-vmul_riscv64_standalone") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c",
+- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -139009,18 +139629,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vpreluc_ppc64") {
++ source_set("reference_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc"
+ ]
- if (build_with_chromium) {
-- source_set("qu8-vmul_arch=rv64gcv-abi=lp64d") {
+- source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -139028,7 +139650,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c",
+- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -139059,7 +139681,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -139067,7 +139689,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c",
+- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -139093,23 +139715,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("qu8-vmul_riscv64") {
+- source_set("qu8-vmulc_riscv64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vpreluc_ppc64_standalone") {
++ source_set("reference_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
+- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -139144,12 +139768,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmul_riscv64_standalone") {
+- source_set("qu8-vmulc_riscv64_standalone") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
+- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -139172,18 +139796,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vrpreluc_ppc64") {
++ source_set("s8-ibilinear_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
+ ]
- if (build_with_chromium) {
-- source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d") {
+- source_set("qu8-vprelu_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -139191,7 +139815,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c",
+- "src/src/qu8-vprelu/gen/qu8-vprelu-rvv-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -139222,7 +139846,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("qu8-vprelu_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -139230,7 +139854,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c",
+- "src/src/qu8-vprelu/gen/qu8-vprelu-rvv-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -139256,23 +139880,23 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("qu8-vmulc_riscv64") {
+- source_set("qu8-vprelu_riscv64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vrpreluc_ppc64_standalone") {
++ source_set("s8-ibilinear_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
+- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -139307,24 +139931,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vmulc_riscv64_standalone") {
+- source_set("qu8-vprelu_riscv64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("reference_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
+- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -139346,47 +139958,34 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vprelu_riscv64") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++if (build_with_chromium) {
++ source_set("s8-maxpool_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
+ ]
+- if (build_with_chromium) {
+- source_set("qu8-vpreluc_arch=rv64gcv-abi=lp64d") {
+- cflags = [
+- "-mabi=lp64d",
+- "-march=rv64gcv",
+- ]
+-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
+- "src/src/qu8-vpreluc/gen/qu8-vpreluc-rvv-u8v.c",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("reference_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
@@ -139405,18 +140004,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vprelu_riscv64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
+- source_set("qu8-vpreluc_arch=rv64gcv-abi=lp64d_standalone") {
+- cflags = [
+- "-mabi=lp64d",
+- "-march=rv64gcv",
+- ]
+-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
+- "src/src/qu8-vpreluc/gen/qu8-vpreluc-rvv-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -139436,14 +140037,64 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qu8-vpreluc_riscv64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("s8-maxpool_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- if (build_with_chromium) {
-- source_set("qu8-vpreluc_riscv64") {
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vpreluc_riscv64_standalone") {
- cflags = []
-
- sources = [
@@ -139460,31 +140111,59 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("s8-ibilinear_ppc64") {
++ source_set("s8-rdminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- if (build_with_chromium) {
+- source_set("qu8-vrpreluc_arch=rv64gcv-abi=lp64d") {
+- cflags = [
+- "-mabi=lp64d",
+- "-march=rv64gcv",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-rvv-u8v.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vpreluc_riscv64_standalone") {
-- cflags = []
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -139492,9 +140171,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vrpreluc_arch=rv64gcv-abi=lp64d_standalone") {
+- cflags = [
+- "-mabi=lp64d",
+- "-march=rv64gcv",
+- ]
+-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
+- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-rvv-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -139524,14 +140211,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-ibilinear_ppc64_standalone") {
++ source_set("s8-rdminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
+ ]
- sources = [
@@ -139574,14 +140262,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("qu8-vrpreluc_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("s8-maxpool_ppc64") {
++ source_set("s8-rminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
- sources = [
@@ -139607,52 +140297,64 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("reference_riscv64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/reference/binary-elementwise.cc",
+- "src/src/reference/packing.cc",
+- "src/src/reference/unary-elementwise.cc",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-- if (build_with_chromium) {
-- source_set("reference_riscv64") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_ppc64_standalone") {
++ source_set("s8-rminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/reference/binary-elementwise.cc",
-- "src/src/reference/packing.cc",
-- "src/src/reference/unary-elementwise.cc",
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -139660,36 +140362,11 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("reference_riscv64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("s8-rdminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -139715,74 +140392,74 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("s8-ibilinear_riscv64") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_ppc64_standalone") {
++if (build_with_chromium) {
++ source_set("s8-vclamp_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
+ ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("s8-ibilinear_riscv64_standalone") {
- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("s8-vclamp_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ ]
- sources = [
- "src/include/xnnpack.h",
@@ -139806,11 +140483,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("s8-maxpool_arch=rv64gcv-abi=lp64d") {
@@ -139835,26 +140513,17 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (build_with_chromium) {
-+ source_set("s8-rminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -139886,54 +140555,68 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("s8-maxpool_riscv64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_ppc64_standalone") {
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
+- ]
++if (build_with_chromium) {
++ source_set("subgraph_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- deps = [
- "//third_party/cpuinfo",
@@ -139941,12 +140624,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -139954,7 +140641,47 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("s8-maxpool_riscv64_standalone") {
- cflags = []
--
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("subgraph_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c",
@@ -139979,16 +140706,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d") {
@@ -140014,21 +140735,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
@@ -140060,46 +140778,48 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("s8-rdminmax_riscv64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_ppc64_standalone") {
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
+- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c",
+- ]
++if (build_with_chromium) {
++ source_set("tables_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- deps = [
- "//third_party/cpuinfo",
@@ -140107,12 +140827,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -140120,7 +140844,26 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("s8-rdminmax_riscv64_standalone") {
- cflags = []
--
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("tables_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
@@ -140146,45 +140889,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("subgraph_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("s8-rminmax_arch=rv64gcv-abi=lp64d") {
@@ -140211,21 +140919,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("s8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
@@ -140258,76 +140963,41 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("s8-rminmax_riscv64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("subgraph_ppc64_standalone") {
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
+- "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
+- "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c",
+- ]
++if (build_with_chromium) {
++ source_set("u8-ibilinear_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-- "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- deps = [
- "//third_party/cpuinfo",
@@ -140335,12 +141005,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -140348,7 +141022,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("s8-rminmax_riscv64_standalone") {
- cflags = []
--
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-ibilinear_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
@@ -140375,24 +141060,10 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("tables_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("s8-vclamp_arch=rv64gcv-abi=lp64d") {
@@ -140417,21 +141088,18 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("s8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
@@ -140462,74 +141130,62 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("s8-vclamp_riscv64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("tables_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++if (build_with_chromium) {
++ source_set("u8-lut32norm_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("s8-vclamp_riscv64_standalone") {
- cflags = []
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
@@ -140553,26 +141209,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
-+if (build_with_chromium) {
-+ source_set("u8-ibilinear_ppc64") {
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("subgraph_riscv64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-lut32norm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
+ ]
-- if (build_with_chromium) {
-- source_set("subgraph_riscv64") {
-- cflags = []
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- sources = [
- "src/include/xnnpack.h",
- "src/src/subgraph/argmax-pooling-2d.c",
@@ -140618,34 +141273,26 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("subgraph_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -140698,23 +141345,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("tables_riscv64") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/tables/exp2-k-over-2048.c",
@@ -140739,28 +141379,34 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("tables_riscv64_standalone") {
-- cflags = []
+if (build_with_chromium) {
-+ source_set("u8-lut32norm_ppc64") {
++ source_set("u8-maxpool_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("tables_riscv64_standalone") {
+- cflags = []
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
@@ -140794,18 +141440,6 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -140815,14 +141449,14 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-lut32norm_ppc64_standalone") {
++ source_set("u8-maxpool_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -140865,14 +141499,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- source_set("u8-ibilinear_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("u8-maxpool_ppc64") {
++ source_set("u8-rdminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
+ ]
- sources = [
@@ -140928,14 +141563,15 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_ppc64_standalone") {
++ source_set("u8-rdminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
+ ]
- deps = [
@@ -141017,15 +141653,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("u8-rdminmax_ppc64") {
++ source_set("u8-rminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -141083,174 +141720,6 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-maxpool_riscv64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("u8-rminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
-- cflags = [
-- "-mabi=lp64d",
-- "-march=rv64gcv",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("u8-rdminmax_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
+ source_set("u8-rminmax_ppc64_standalone") {
+ cflags = [
+
@@ -141265,8 +141734,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
+- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -141301,13 +141769,12 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("u8-rdminmax_riscv64_standalone") {
+- source_set("u8-maxpool_riscv64_standalone") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
+- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -141341,7 +141808,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
- if (build_with_chromium) {
-- source_set("u8-rminmax_arch=rv64gcv-abi=lp64d") {
+- source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -141349,9 +141816,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
-- "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c",
+- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
+- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -141382,7 +141848,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("u8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -141390,9 +141856,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
-- "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c",
+- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
+- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -141418,7 +141883,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("u8-rminmax_riscv64") {
+- source_set("u8-rdminmax_riscv64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -141434,9 +141899,8 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
+- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
+- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -141471,14 +141935,13 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("u8-rminmax_riscv64_standalone") {
+- source_set("u8-rdminmax_riscv64_standalone") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
+- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
+- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -141514,7 +141977,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ ]
- if (build_with_chromium) {
-- source_set("u8-vclamp_arch=rv64gcv-abi=lp64d") {
+- source_set("u8-rminmax_arch=rv64gcv-abi=lp64d") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -141522,7 +141985,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c",
+- "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
+- "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
+- "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -141553,7 +142018,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("u8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
+- source_set("u8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
- cflags = [
- "-mabi=lp64d",
- "-march=rv64gcv",
@@ -141561,7 +142026,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c",
+- "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
+- "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
+- "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -141587,7 +142054,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("u8-vclamp_riscv64") {
+- source_set("u8-rminmax_riscv64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -141605,7 +142072,9 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
+- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
+- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
+- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -141640,8 +142109,35 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("u8-vclamp_riscv64_standalone") {
+- source_set("u8-rminmax_riscv64_standalone") {
- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
+- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
+- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x16-transposec_ppc64") {
+ cflags = [
@@ -141653,9 +142149,16 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
+ ]
+- if (build_with_chromium) {
+- source_set("u8-vclamp_arch=rv64gcv-abi=lp64d") {
+- cflags = [
+- "-mabi=lp64d",
+- "-march=rv64gcv",
+- ]
+-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
+- "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -141667,33 +142170,60 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("u8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
+- cflags = [
+- "-mabi=lp64d",
+- "-march=rv64gcv",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
-- source_set("x16-packw_riscv64") {
+- source_set("u8-vclamp_riscv64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -141709,9 +142239,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
+- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -141746,7 +142274,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("x16-packw_riscv64_standalone") {
+- source_set("u8-vclamp_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
+ source_set("x16-x32-packw_ppc64") {
@@ -141762,9 +142290,7 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
+- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -141785,25 +142311,36 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("x16-packw_riscv64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
+- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
+- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-- if (build_with_chromium) {
-- source_set("x16-transposec_riscv64") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x16-x32-packw_ppc64_standalone") {
@@ -141817,19 +142354,20 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -141837,25 +142375,62 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("x16-packw_riscv64_standalone") {
+- cflags = []
++ public_configs = [ ":xnnpack_public_config" ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
+- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
+- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
+-
- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x16-transposec_riscv64_standalone") {
+- if (build_with_chromium) {
+- source_set("x16-transposec_riscv64") {
- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("x24-transposec_ppc64") {
+ cflags = [
@@ -141867,6 +142442,25 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("x16-transposec_riscv64_standalone") {
+- cflags = []
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
@@ -141890,18 +142484,6 @@ Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
diff --git a/0005-blink-add-audio-vector-support.patch b/0005-blink-add-audio-vector-support.patch
index 6fb50e6..b09cfb0 100644
--- a/0005-blink-add-audio-vector-support.patch
+++ b/0005-blink-add-audio-vector-support.patch
@@ -1,5 +1,7 @@
---- a/third_party/blink/renderer/platform/audio/cpu/ppc64/delay_altivec.cc
-+++ b/third_party/blink/renderer/platform/audio/cpu/ppc64/delay_altivec.cc
+Index: chromium-155.0.8059.39/third_party/blink/renderer/platform/audio/cpu/ppc64/delay_altivec.cc
+===================================================================
+--- /dev/null
++++ chromium-155.0.8059.39/third_party/blink/renderer/platform/audio/cpu/ppc64/delay_altivec.cc
@@ -0,0 +1,183 @@
+// Copyright 2016 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
@@ -184,9 +186,11 @@
+}
+
+} // namespace blink
---- a/third_party/blink/renderer/platform/audio/delay.cc
-+++ b/third_party/blink/renderer/platform/audio/delay.cc
-@@ -99,7 +99,7 @@
+Index: chromium-155.0.8059.39/third_party/blink/renderer/platform/audio/delay.cc
+===================================================================
+--- chromium-155.0.8059.39.orig/third_party/blink/renderer/platform/audio/delay.cc
++++ chromium-155.0.8059.39/third_party/blink/renderer/platform/audio/delay.cc
+@@ -100,7 +100,7 @@ double Delay::DelayTime(float sample_rat
return desired_delay_frames_ / sample_rate;
}
@@ -195,10 +199,11 @@
// Default scalar versions if simd/neon are not available.
std::tuple<size_t, size_t> Delay::ProcessARateVector(
base::span<float> destination,
-diff -urN a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/renderer/platform/BUILD.gn
---- a/third_party/blink/renderer/platform/BUILD.gn
-+++ b/third_party/blink/renderer/platform/BUILD.gn
-@@ -1962,6 +1962,10 @@
+Index: chromium-155.0.8059.39/third_party/blink/renderer/platform/BUILD.gn
+===================================================================
+--- chromium-155.0.8059.39.orig/third_party/blink/renderer/platform/BUILD.gn
++++ chromium-155.0.8059.39/third_party/blink/renderer/platform/BUILD.gn
+@@ -1994,6 +1994,10 @@ component("platform") {
sources += [ "audio/cpu/arm/delay_neon.cc" ]
}
@@ -206,6 +211,6 @@ diff -urN a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/ren
+ sources += [ "audio/cpu/ppc64/delay_altivec.cc" ]
+ }
+
- if (!is_mac) {
- include_dirs += [ "//third_party/pffft/src" ]
- deps += [ "//third_party/pffft" ]
+ if (rtc_use_h265) {
+ sources += [
+ "peerconnection/h265_parameter_sets_tracker.cc",
diff --git a/build-with-wasm-rollup.patch b/build-with-wasm-rollup.patch
deleted file mode 100644
index e0f7dec..0000000
--- a/build-with-wasm-rollup.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/Images/BUILD.gn.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/Images/BUILD.gn
---- chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/Images/BUILD.gn.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
-+++ chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/Images/BUILD.gn 2026-09-23 16:40:40.895486247 +0200
-@@ -28,7 +28,7 @@ node_action("generate_css_vars") {
- }
-
- node_action("optimize_images") {
-- script = "node_modules/rollup/dist/bin/rollup"
-+ script = "../../node/node_modules/@rollup/wasm-node/dist/bin/rollup"
-
- _bundled_entrypoint = target_gen_dir + "/Images.prebundle.js"
- _output_file_location = target_gen_dir + "/Images.js"
-diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/models/live-metrics/web-vitals-injected/BUILD.gn.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/models/live-metrics/web-vitals-injected/BUILD.gn
---- chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/models/live-metrics/web-vitals-injected/BUILD.gn.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
-+++ chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/models/live-metrics/web-vitals-injected/BUILD.gn 2026-09-23 16:40:40.896352266 +0200
-@@ -26,7 +26,7 @@ devtools_module("web-vitals-injected") {
- }
-
- node_action("bundled_library") {
-- script = "node_modules/rollup/dist/bin/rollup"
-+ script = "../../node/node_modules/@rollup/wasm-node/dist/bin/rollup"
-
- _bundled_entrypoint = target_gen_dir + "/web-vitals-injected.js"
- _output_file_location = target_gen_dir + "/web-vitals-injected.generated.js"
-diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/panels/recorder/injected/BUILD.gn.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/panels/recorder/injected/BUILD.gn
---- chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/panels/recorder/injected/BUILD.gn.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
-+++ chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/panels/recorder/injected/BUILD.gn 2026-09-23 16:40:40.896634097 +0200
-@@ -57,7 +57,7 @@ devtools_entrypoint("bundle") {
- }
-
- node_action("bundled_library") {
-- script = "node_modules/rollup/dist/bin/rollup"
-+ script = "../../node/node_modules/@rollup/wasm-node/dist/bin/rollup"
-
- _bundled_entrypoint = target_gen_dir + "/injected.js"
- _output_file_location = target_gen_dir + "/injected.generated.js"
-diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/inspector_overlay/BUILD.gn.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/inspector_overlay/BUILD.gn
---- chromium-154.0.8037.57/third_party/devtools-frontend/src/inspector_overlay/BUILD.gn.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
-+++ chromium-154.0.8037.57/third_party/devtools-frontend/src/inspector_overlay/BUILD.gn 2026-09-23 16:40:40.896898910 +0200
-@@ -38,7 +38,7 @@ action("build_inspector_overlay") {
- "$target_gen_dir/tool_window_controls.css",
- "$target_gen_dir/main.js",
- devtools_location_prepend + "inspector_overlay/loadCSS.rollup.js",
-- devtools_location_prepend + "node_modules/rollup/dist/bin/rollup",
-+ devtools_location_prepend + "../../node/node_modules/@rollup/wasm-node/dist/bin/rollup",
- ]
-
- outputs = [ "$resources_out_dir/main.js" ]
-diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py
---- chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
-+++ chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py 2026-09-23 16:40:40.897130981 +0200
-@@ -56,7 +56,7 @@ def rollup(input_path, output_path, file
- [devtools_paths.node_path(),
- devtools_paths.rollup_path()] +
- ['--format', 'iife', '-n', 'InspectorOverlay'] + ['--input', target] +
-- ['--plugin', rollup_plugin, '--plugin', 'terser'],
-+ ['--plugin', rollup_plugin, '--plugin', path.join(devtools_paths.node_modules_path(), '@rollup', 'plugin-terser', 'dist', 'cjs', 'index.js')],
- stdout=subprocess.PIPE,
- stderr=subprocess.PIPE,
- universal_newlines=True,
-diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/ninja/bundle.gni.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/ninja/bundle.gni
---- chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/ninja/bundle.gni.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
-+++ chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/ninja/bundle.gni 2026-09-23 16:51:01.399321185 +0200
-@@ -11,7 +11,7 @@ template("bundle") {
- "You must define the 'entrypoint' for a bundle target")
-
- node_action(target_name) {
-- script = "scripts/build/esbuild.js"
-+ script = "../../node/node_modules/@rollup/wasm-node/dist/bin/rollup"
- _bundled_entrypoints_target =
- devtools_location_prepend + ":bundled_entrypoints"
- deps = [ _bundled_entrypoints_target ]
-@@ -31,22 +31,22 @@ template("bundle") {
- inputs = [
- invoker.entrypoint,
- _entrypoints_file,
-+ devtools_location_prepend + "scripts/build/rollup.config.mjs",
- devtools_location_prepend + "scripts/build/devtools_plugin.js",
- devtools_location_prepend + "scripts/devtools_paths.js",
- ]
-
-- _esbuild = devtools_location_prepend + "third_party/esbuild/esbuild"
-- if (host_os == "win") {
-- inputs += [ _esbuild + ".exe" ]
-- } else {
-- inputs += [ _esbuild ]
-- }
--
- _depfile = "$target_gen_dir/$target_name.d"
- depfile = _depfile
-
- args = [
-+ "--config",
-+ rebase_path(
-+ devtools_location_prepend + "scripts/build/rollup.config.mjs",
-+ root_build_dir),
-+ "--input",
- rebase_path(invoker.entrypoint, root_build_dir),
-+ "--file",
- rebase_path(invoker.output_file_location, root_build_dir),
- "--entrypointsFile",
- rebase_path(_entrypoints_file, root_build_dir),
-@@ -59,10 +59,6 @@ template("bundle") {
- rebase_path(_depfile, root_build_dir),
- ]
-
-- if (!is_debug) {
-- args += [ "--minify" ]
-- }
--
- outputs = [ invoker.output_file_location ]
- }
- }
-diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/devtools_paths.py.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/devtools_paths.py
---- chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/devtools_paths.py.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
-+++ chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/devtools_paths.py 2026-09-23 16:40:40.897786257 +0200
-@@ -65,8 +65,11 @@ def license_checker_path():
-
- def rollup_path():
- return path.join(
-- node_modules_path(),
-- 'rollup',
-+ third_party_path(),
-+ 'node',
-+ 'node_modules',
-+ '@rollup',
-+ 'wasm-node',
- 'dist',
- 'bin',
- 'rollup',
diff --git a/chromium-136-checkversion-nodejs.patch b/chromium-136-checkversion-nodejs.patch
deleted file mode 100644
index 58cc6d8..0000000
--- a/chromium-136-checkversion-nodejs.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -up chromium-136.0.7103.33/third_party/node/node.gni.than chromium-136.0.7103.33/third_party/node/node.gni
---- chromium-136.0.7103.33/third_party/node/node.gni.than 2025-04-21 17:53:06.742517984 +0200
-+++ chromium-136.0.7103.33/third_party/node/node.gni 2025-04-21 17:54:05.452645652 +0200
-@@ -35,16 +35,5 @@ template("node") {
- inputs += [ "//third_party/node/mac/node-darwin-x64/bin/node" ]
- }
- }
--
-- # Automatically add a dependency to ":check_version" to ensure NodeJS is
-- # always running the expected version, except when the ':check_version'
-- # target itself is running in which case it shouldn't depend on itself.
-- if (get_label_info(":" + target_name, "label_no_toolchain") !=
-- "//third_party/node:check_version") {
-- if (!defined(deps)) {
-- deps = []
-- }
-- deps += [ "//third_party/node:check_version" ]
-- }
- }
- }
diff --git a/chromium-154-ftbfs-crubit.patch b/chromium-154-ftbfs-crubit.patch
index bcdedf3..674ae69 100644
--- a/chromium-154-ftbfs-crubit.patch
+++ b/chromium-154-ftbfs-crubit.patch
@@ -1,4 +1,4 @@
-ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3966
+ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3983
--- a/components/cbor/BUILD.gn
+++ b/components/cbor/BUILD.gn
@@ -26,9 +26,9 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
]
- if (!is_cronet_build) {
+ if (enable_cpp_api_from_rust) {
- deps += [ "//components/cbor/rust:cbor_rust_unittests" ]
- }
-
+ deps += [
+ "//components/cbor/rust:cbor_rust_bindings",
+ "//components/cbor/rust:cbor_rust_unittests",
--- a/components/web_package/BUILD.gn
+++ b/components/web_package/BUILD.gn
@@ -40,7 +40,6 @@ static_library("web_package") {
@@ -593,46 +593,34 @@ ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chr
rust_static_library("rustfft_ffi") {
allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
crate_root = "audio/rustfft_ffi.rs"
-@@ -1792,7 +1804,6 @@ component("platform") {
+@@ -712,8 +724,6 @@ component("platform") {
+ "fonts/generic_font_family_settings.cc",
+ "fonts/generic_font_family_settings.h",
+ "fonts/glyph_metrics_map.h",
+- "fonts/ift/ift_patcher.cc",
+- "fonts/ift/ift_patcher.h",
+ "fonts/opentype/color_table_lookup.cc",
+ "fonts/opentype/color_table_lookup.h",
+ "fonts/opentype/font_format_check.cc",
+@@ -1792,7 +1802,6 @@ component("platform") {
":allow_discouraged_type",
":blink_platform_public_deps",
":platform_export",
- "//build/rust/crubit",
+ "//components/language_detection/core",
"//gpu/command_buffer/client:raster_interface",
"//media/capture:capture_lib",
- "//mojo/public/cpp/base",
-@@ -1819,8 +1830,8 @@ component("platform") {
+@@ -1819,9 +1828,8 @@ component("platform") {
"//ui/native_theme/features",
]
deps = [
+ ":font_format_check",
":rustfft_ffi",
- "fonts:font_format_bindings",
+- "fonts:ift_patcher_bindings",
"//base:base_static",
"//base/allocator:buildflags",
"//build:chromecast_buildflags",
---- a/third_party/blink/renderer/platform/fonts/BUILD.gn
-+++ /dev/null
-@@ -1,19 +0,0 @@
--# Copyright 2026 The Chromium Authors
--# Use of this source code is governed by a BSD-style license that can be
--# found in the LICENSE file.
--
--import("//build/rust/rust_static_library.gni")
--
--rust_static_library("font_format") {
-- crate_root = "opentype/format_check.rs"
-- sources = [ crate_root ]
-- cpp_api_from_rust = {
-- target_name = "font_format_bindings"
-- cpp_namespace = "font_format"
-- }
-- deps = [
-- "//third_party/rust/font_types/v0_12:lib",
-- "//third_party/rust/read_fonts/v0_43:lib",
-- "//third_party/rust/skrifa/v0_46:lib",
-- ]
--}
--- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
+++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
@@ -7,6 +7,7 @@
diff --git a/chromium-154-ftbfs-private-verification-tokens.patch b/chromium-154-ftbfs-private-verification-tokens.patch
index 90bfd61..151fde6 100644
--- a/chromium-154-ftbfs-private-verification-tokens.patch
+++ b/chromium-154-ftbfs-private-verification-tokens.patch
@@ -1,8 +1,8 @@
-ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3966
+ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3983
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
-@@ -1022,7 +1022,6 @@ source_set("core") {
+@@ -1015,7 +1015,6 @@ source_set("core") {
"//chrome/browser/preloading/search_preload:feature",
"//chrome/browser/privacy_sandbox:headers",
"//chrome/browser/private_ai",
@@ -10,7 +10,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//chrome/browser/profiles:misc",
"//chrome/browser/profiles:profile_io_data",
"//chrome/browser/profiles:profiles_extra_parts",
-@@ -2215,7 +2214,6 @@ source_set("browser") {
+@@ -2219,7 +2218,6 @@ source_set("browser") {
"//chrome/browser/preloading/search_preload",
"//chrome/browser/privacy",
"//chrome/browser/privacy_sandbox:impl",
@@ -28,7 +28,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//chrome/browser/profiles/keep_alive",
"//chrome/browser/reading_list",
"//chrome/browser/safe_browsing",
-@@ -267,7 +266,6 @@ source_set("unit_tests") {
+@@ -268,7 +267,6 @@ source_set("unit_tests") {
"//chrome/browser/payments/browser_binding:browser_bound_key_deleter",
"//chrome/browser/payments/browser_binding:test_support",
"//chrome/browser/permissions",
@@ -36,14 +36,14 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//chrome/browser/reading_list",
"//chrome/browser/safe_browsing:verdict_cache_manager_factory",
"//chrome/browser/segmentation_platform",
-@@ -295,7 +293,6 @@ source_set("unit_tests") {
+@@ -296,7 +294,6 @@ source_set("unit_tests") {
"//components/privacy_sandbox:privacy_sandbox_settings_headers",
"//components/privacy_sandbox/privacy_sandbox_attestations",
"//components/privacy_sandbox/privacy_sandbox_attestations:test_support",
- "//components/private_verification_tokens/common:private_verification_tokens_database",
"//components/reading_list/core:test_support",
+ "//components/safe_browsing/core/browser:suspicious_site_warning_allowlist",
"//components/safe_browsing/core/browser:verdict_cache_manager",
- "//components/site_engagement/content",
--- a/chrome/browser/browsing_data/chrome_browsing_data_model_delegate.cc
+++ b/chrome/browser/browsing_data/chrome_browsing_data_model_delegate.cc
@@ -127,15 +127,6 @@ void ChromeBrowsingDataModelDelegate::Ge
@@ -85,7 +85,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
}
--- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
+++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
-@@ -720,29 +720,6 @@ void ChromeBrowsingDataRemoverDelegate::
+@@ -721,29 +721,6 @@ void ChromeBrowsingDataRemoverDelegate::
#endif // BUILDFLAG(IS_CHROMEOS)
}
@@ -117,7 +117,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
// DATA_TYPE_CONTENT_SETTINGS
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
-@@ -6009,21 +6009,6 @@ ChromeContentBrowserClient::CreateURLLoa
+@@ -6089,21 +6089,6 @@ ChromeContentBrowserClient::CreateURLLoa
result.push_back(std::move(signin_throttle));
}
@@ -130,7 +130,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
- ->GetURLLoaderFactoryForBrowserProcess();
- if (auto pvt_throttle =
- PrivateVerificationTokensURLLoaderThrottle::Create(
-- pvt_service, profile->IsOffTheRecord(),
+- pvt_service, profile->GetWeakPtr(),
- std::move(url_loader_factory))) {
- result.push_back(std::move(pvt_throttle));
- }
@@ -141,7 +141,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
contextual_tasks::ContextualTasksURLLoaderThrottle::MaybeCreate(
--- a/chrome/browser/component_updater/BUILD.gn
+++ b/chrome/browser/component_updater/BUILD.gn
-@@ -147,7 +147,6 @@ source_set("impl") {
+@@ -152,7 +152,6 @@ source_set("impl") {
"//chrome/browser/net",
"//chrome/browser/page_load_metrics",
"//chrome/browser/permissions",
@@ -149,7 +149,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//chrome/browser/profiles:profile",
"//chrome/browser/update_client",
"//chrome/common",
-@@ -163,7 +162,6 @@ source_set("impl") {
+@@ -168,7 +167,6 @@ source_set("impl") {
"//components/permissions",
"//components/privacy_sandbox:features",
"//components/privacy_sandbox/privacy_sandbox_attestations",
@@ -206,31 +206,32 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//content/public/browser",
"//net",
"//services/network/public/cpp",
-@@ -49,9 +44,6 @@ source_set("browser_tests") {
+@@ -49,10 +44,6 @@ source_set("browser_tests") {
"//chrome/browser/content_settings:content_settings_factory",
"//chrome/test:test_support",
"//components/content_settings/core/common",
-- "//components/private_verification_tokens/common:athm_test_issuer",
- "//components/private_verification_tokens/common:private_verification_tokens_database",
- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+- "//components/private_verification_tokens/common:test_support",
+- "//components/private_verification_tokens/common/athm_ffi:athm_ffi_bindings",
"//net:test_support",
"//services/network:test_support",
"//url",
-@@ -72,11 +64,6 @@ source_set("unit_tests") {
+@@ -73,11 +64,6 @@ source_set("unit_tests") {
"//chrome/test:test_support",
"//components/content_settings/core/browser",
"//components/content_settings/core/common",
-- "//components/private_verification_tokens/common:athm_test_issuer",
- "//components/private_verification_tokens/common:private_verification_tokens_database",
- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
- "//components/private_verification_tokens/common:private_verification_tokens_parameters",
- "//components/private_verification_tokens/common:test_support",
+- "//components/private_verification_tokens/common/athm_ffi:athm_ffi_bindings",
"//content/test:test_support",
"//net",
"//services/network:test_support",
--- a/chrome/browser/profiles/BUILD.gn
+++ b/chrome/browser/profiles/BUILD.gn
-@@ -809,7 +809,6 @@ source_set("profiles_extra_parts_impl")
+@@ -808,7 +808,6 @@ source_set("profiles_extra_parts_impl")
"//chrome/browser/privacy_sandbox:headers",
"//chrome/browser/private_ai",
"//chrome/browser/private_insights",
@@ -240,7 +241,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//chrome/browser/reduce_accept_language",
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
-@@ -1371,7 +1371,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1366,7 +1366,6 @@ void ChromeBrowserMainExtraPartsProfiles
PrivacyMetricsServiceFactory::GetInstance();
PrivacySandboxServiceFactory::GetInstance();
PrivacySandboxSettingsFactory::GetInstance();
@@ -250,7 +251,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
ProfilePasswordStoreFactory::GetInstance();
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
-@@ -2137,7 +2137,6 @@ if (!is_android) {
+@@ -1884,7 +1884,6 @@ if (!is_android) {
"//chrome/browser/privacy_sandbox:headers",
"//chrome/browser/privacy_sandbox:test_support",
"//chrome/browser/private_ai",
@@ -258,7 +259,7 @@ ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-ch
"//chrome/browser/profile_resetter",
"//chrome/browser/profile_resetter:browser_tests",
"//chrome/browser/profiles",
-@@ -5401,7 +5400,6 @@ test("unit_tests") {
+@@ -5032,7 +5031,6 @@ test("unit_tests") {
"//chrome/browser/preloading/prerender:unit_tests",
"//chrome/browser/privacy_sandbox:unit_tests",
"//chrome/browser/private_ai:unit_tests",
diff --git a/chromium.spec b/chromium.spec
index ef641b7..5be9137 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -274,7 +274,7 @@
%endif
Name: chromium
-Version: 154.0.8037.97
+Version: 155.0.8059.39
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -543,8 +543,6 @@ Patch511: 0001-fips-disable-options.patch
%endif
# Patches from ungoogle chromium, https://github.com/ungoogled-software/ungoogled-chromium
-# remove rollup binary, build with wasm-rollup
-Patch520: build-with-wasm-rollup.patch
Patch521: disable-ai.patch
# Upstream patches
@@ -907,6 +905,7 @@ BuildRequires: simdutf-devel
# esbuild is needed
BuildRequires: golang-github-evanw-esbuild
+BuildRequires: nodejs-esbuild
# There is a hardcoded check for nss 3.26 in the chromium code (crypto/nss_util.cc)
Requires: nss%{_isa} >= 3.26
@@ -1209,7 +1208,7 @@ Qt6 UI for chromium.
%patch -P358 -p1 -b .rust-clang_lib
-%if 0%{?fedora} > 41 || (0%{?rhel} == 10 && 0%{?rhel_minor_version} > 2)
+%if 0%{?fedora} > 41 || (0%{?rhel} == 10 && 0%{?rhel_minor_version} > 2)
%patch -P359 -p1 -b .ftbfs-with-rustc-1.95
%endif
@@ -1262,7 +1261,6 @@ Qt6 UI for chromium.
%patch -P502 -p1 -b .flatpak-widevine
%endif
-%patch -P520 -p1 -b .build-with-wasm-rollup
%patch -P521 -p1 -b .disable-ai
# Upstream patches
@@ -1271,6 +1269,15 @@ Qt6 UI for chromium.
# See `man find` for how the `-exec command {} +` syntax works
find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{chromium_pybin}=' {} +
+# Hard code extra version
+sed -i 's/getenv("CHROME_VERSION_EXTRA")/"Fedora Project"/' chrome/common/channel_info_posix.cc
+
+# Fix hardcoded path in remoting code
+sed -i 's|/opt/google/chrome-remote-desktop|%{crd_path}|g' remoting/host/setup/daemon_controller_delegate_linux_single_process.cc
+
+# bz#2265957, add correct platform
+sed -i "s/Linux x86_64/Linux %{_arch}/" components/embedder_support/user_agent_utils.cc
+
# Add correct path for nodejs binary
mkdir -p third_party/node/linux/node-linux-x64/bin
%if ! %{system_nodejs}
@@ -1282,6 +1289,7 @@ mkdir -p third_party/node/linux/node-linux-x64/bin
# Add correct path for esbuild binary
mkdir -p third_party/devtools-frontend/src/third_party/esbuild
ln -s $(which esbuild) third_party/devtools-frontend/src/third_party/esbuild/esbuild
+cp -a /usr/lib/node_modules/*esbuild* third_party/devtools-frontend/src/node_modules/
# Remove bundle gn and replace it with a system gn or bootstrap gn as it is x86_64 and causes
# FTBFS on other arch like aarch64/ppc64le
@@ -1324,15 +1332,6 @@ rm -rf third_party/libusb/src/libusb/libusb.h
cp -a $(pkg-config --variable=includedir libusb-1.0)/libusb-1.0/libusb.h third_party/libusb/src/libusb/libusb.h
%endif
-# Hard code extra version
-sed -i 's/getenv("CHROME_VERSION_EXTRA")/"Fedora Project"/' chrome/common/channel_info_posix.cc
-
-# Fix hardcoded path in remoting code
-sed -i 's|/opt/google/chrome-remote-desktop|%{crd_path}|g' remoting/host/setup/daemon_controller_delegate_linux_single_process.cc
-
-# bz#2265957, add correct platform
-sed -i "s/Linux x86_64/Linux %{_arch}/" components/embedder_support/user_agent_utils.cc
-
%if ! %{bundlesimdutf}
ln -sf %{_includedir}/simdutf.h third_party/simdutf/simdutf.h
%endif
@@ -1356,6 +1355,7 @@ popd
FLAGS=' -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument'
FLAGS+=' -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-function -Wno-unused-variable'
FLAGS+=' -Wno-unused-const-variable -Wno-unneeded-internal-declaration -Wno-unknown-attributes -Wno-unknown-pragmas'
+LDFLAGS+=' -Wno-unused-command-line-argument'
%if %{system_build_flags}
CFLAGS=${CFLAGS/-fexceptions}
@@ -1440,7 +1440,7 @@ CHROMIUM_CORE_GN_DEFINES+=' google_default_client_secret="%{default_client_secre
CHROMIUM_CORE_GN_DEFINES+=' is_clang=true'
CHROMIUM_CORE_GN_DEFINES+=" clang_base_path=\"$clang_base_path\""
-CHROMIUM_CORE_GN_DEFINES+=" clang_version=$clang_version"
+CHROMIUM_CORE_GN_DEFINES+=" clang_version=\"$clang_version\""
CHROMIUM_CORE_GN_DEFINES+=' clang_use_chrome_plugins=false'
CHROMIUM_CORE_GN_DEFINES+=' use_lld=true'
@@ -1472,6 +1472,7 @@ CHROMIUM_CORE_GN_DEFINES+=' angle_has_histograms=false'
# drop unrar
CHROMIUM_CORE_GN_DEFINES+=' safe_browsing_use_unrar=false'
CHROMIUM_CORE_GN_DEFINES+=' v8_enable_backtrace=true'
+CHROMIUM_CORE_GN_DEFINES+=' v8_use_metagen_instance_types=false'
# disable devtools buildle
CHROMIUM_CORE_GN_DEFINES+=' devtools_bundle=false'
export CHROMIUM_CORE_GN_DEFINES
@@ -1953,6 +1954,256 @@ fi
%endif
%changelog
+* Sun Oct 11 2026 Than Ngo <than@redhat.com> - 155.0.8059.39-1
+- Update to 155.0.8059.39, includes 247 security fixes
+ * CVE-2026-102322: Incorrect Authorization in SiteIsolation
+ * CVE-2026-106179: UI misrepresentation in WebAppInstalls
+ * CVE-2026-106180: Observable discrepancy in Animation
+ * CVE-2026-106181: Incorrect reference resolution in DevTools
+ * CVE-2026-106182: UI misrepresentation in Paint
+ * CVE-2026-106183: Missing authorization in Chromoting
+ * CVE-2026-106184: Uninitialized resource in Media
+ * CVE-2026-106185: Improper input validation in Viz
+ * CVE-2026-106186: Uncontrolled search path element in CredentialProvider
+ * CVE-2026-106187: Missing authorization in Permissions
+ * CVE-2026-106188: Confused deputy in SignIn
+ * CVE-2026-106189: Code injection in ReaderMode
+ * CVE-2026-106190: Use after free in Media
+ * CVE-2026-106191: Missing authorization in Actor
+ * CVE-2026-106192: Information leak in Mobile
+ * CVE-2026-106193: Use after free in Parser
+ * CVE-2026-106194: Missing authorization in WebAppInstalls
+ * CVE-2026-106195: Incorrect authorization in Chromoting
+ * CVE-2026-106196: Missing authorization in Navigation
+ * CVE-2026-106197: Use after free in Browser
+ * CVE-2026-106198: Missing authorization in FileSystem
+ * CVE-2026-106199: Incorrect authorization in Actor
+ * CVE-2026-106200: Use after free in Track
+ * CVE-2026-106201: Race condition in V8
+ * CVE-2026-106202: Uninitialized resource in ANGLE
+ * CVE-2026-106203: Incomplete cleanup in Autofill
+ * CVE-2026-106204: Use after free in PDF
+ * CVE-2026-106205: Missing authorization in Passwords
+ * CVE-2026-106206: Improper input validation in Mobile
+ * CVE-2026-106207: Race condition in V8
+ * CVE-2026-106208: Missing authorization in API
+ * CVE-2026-106209: UI misrepresentation in Mobile
+ * CVE-2026-106210: Observable discrepancy in Scroll
+ * CVE-2026-106211: Use after free in TabStrip
+ * CVE-2026-106212: Incorrect authorization in Autofill
+ * CVE-2026-106213: Race condition in WebAudio
+ * CVE-2026-106214: Information leak in Proxy
+ * CVE-2026-106215: Uninitialized resource in ANGLE
+ * CVE-2026-106216: Cross-site request forgery in ReadingList
+ * CVE-2026-106217: Missing authorization in Google Lens
+ * CVE-2026-106220: Information leak in Passwords
+ * CVE-2026-106221: Confused deputy in WebAPKs
+ * CVE-2026-106222: Incorrect authorization in Sync
+ * CVE-2026-106223: Uninitialized resource in GPU
+ * CVE-2026-106224: Missing authorization in Google Lens
+ * CVE-2026-106225: Missing authorization in Autofill
+ * CVE-2026-106226: Improper input validation in Compositing
+ * CVE-2026-106227: Use after free in Core
+ * CVE-2026-106228: Confused deputy in Google Lens
+ * CVE-2026-106229: UI misrepresentation in FileSystem
+ * CVE-2026-106230: Incorrect reference resolution in Offline
+ * CVE-2026-106231: Uninitialized resource in Dawn
+ * CVE-2026-106232: UI misrepresentation in Browser
+ * CVE-2026-106233: Use after free in Metrics
+ * CVE-2026-106234: Use after free in Network
+ * CVE-2026-106235: Use after free in WebAudio
+ * CVE-2026-106236: UI misrepresentation in Chromoting
+ * CVE-2026-106237: Information leak in Permissions
+ * CVE-2026-106238: Race condition in Fonts
+ * CVE-2026-106239: Integer overflow in WebGL
+ * CVE-2026-106240: Type confusion in V8
+ * CVE-2026-106241: Incorrect authorization in Search
+ * CVE-2026-106242: Information leak in Omnibox
+ * CVE-2026-106243: Incomplete cleanup in Proxy Auth
+ * CVE-2026-106244: Incorrect authorization in Permissions
+ * CVE-2026-106245: Uninitialized resource in ANGLE
+ * CVE-2026-106246: Incorrect authorization in Browser
+ * CVE-2026-106247: Buffer overflow in ANGLE
+ * CVE-2026-106248: Use after free in Bindings
+ * CVE-2026-106249: Incorrect authorization in Autofill
+ * CVE-2026-106250: Missing authorization in Actor
+ * CVE-2026-106251: UI misrepresentation in Chromoting
+ * CVE-2026-106252: Incorrect comparison in Fonts
+ * CVE-2026-106253: Incorrect authorization in Extensions
+ * CVE-2026-106254: Information leak in Mobile
+ * CVE-2026-106255: Race condition in V8
+ * CVE-2026-106256: Information leak in Passwords
+ * CVE-2026-106257: Use after free in HTML
+ * CVE-2026-106258: Uninitialized resource in ANGLE
+ * CVE-2026-106259: Incorrect authorization in PermissionElement
+ * CVE-2026-106260: Incorrect authorization in DevTools
+ * CVE-2026-106261: Uninitialized resource in Video
+ * CVE-2026-106262: Incomplete cleanup in GetUserMedia
+ * CVE-2026-106263: Improper input validation in SignIn
+ * CVE-2026-106264: Missing authorization in Web Authentication (Passkeys & Security Keys)
+ * CVE-2026-106265: UI misrepresentation in File
+ * CVE-2026-106266: Confused deputy in Contextual Tasks
+ * CVE-2026-106267: Missing authorization in Network
+ * CVE-2026-106268: Use after free in WebRTC
+ * CVE-2026-106269: Use after free in CSS
+ * CVE-2026-106270: Incorrect authorization in WebAppInstalls
+ * CVE-2026-106271: Missing authorization in Workers
+ * CVE-2026-106272: UI misrepresentation in Chromoting
+ * CVE-2026-106273: Uninitialized resource in Video
+ * CVE-2026-106274: Incorrect reference resolution in Browser
+ * CVE-2026-106275: Uninitialized resource in GPU
+ * CVE-2026-106276: UI misrepresentation in Payments
+ * CVE-2026-106277: Information leak in Animation
+ * CVE-2026-106278: Use after free in Select
+ * CVE-2026-106279: Incorrect reference resolution in Passwords
+ * CVE-2026-106280: Incorrect authorization in PermissionElement
+ * CVE-2026-106281: Use after free in Tint
+ * CVE-2026-106282: UI misrepresentation in WebOTP
+ * CVE-2026-106283: Use after free in Streaming
+ * CVE-2026-106284: Out of bounds read in Printing
+ * CVE-2026-106285: UI misrepresentation in WebAppInstalls
+ * CVE-2026-106286: Confused deputy in Omnibox
+ * CVE-2026-106287: Information loss in CORS
+ * CVE-2026-106288: Missing authorization in Browser
+ * CVE-2026-106289: Missing authorization in FedCM
+ * CVE-2026-106290: Uninitialized resource in GPU
+ * CVE-2026-106291: Use after free in GarbageCollection
+ * CVE-2026-106292: Buffer overflow in Fonts
+ * CVE-2026-106293: Type confusion in ANGLE
+ * CVE-2026-106294: Incomplete cleanup in Chromoting
+ * CVE-2026-106295: Incorrect authorization in Unbounded Element
+ * CVE-2026-106296: Improper privilege management in UI
+ * CVE-2026-106297: Incorrect authorization in Scheduling
+ * CVE-2026-106298: Use after free in Chrome Tabs
+ * CVE-2026-106299: Improper input validation in WebAudio
+ * CVE-2026-106300: Race condition in CacheStorage
+ * CVE-2026-106301: Confused deputy in Contextual Tasks
+ * CVE-2026-106302: UI misrepresentation in PermissionElement
+ * CVE-2026-106303: Observable discrepancy in Autofill AI
+ * CVE-2026-106304: Out of bounds read in ANGLE
+ * CVE-2026-106305: UI misrepresentation in Mobile
+ * CVE-2026-106306: Incorrect authorization in DevTools
+ * CVE-2026-106307: Incorrect authorization in Network
+ * CVE-2026-106308: Incorrect reference resolution in Autofill
+ * CVE-2026-106309: Incorrect authorization in Selection
+ * CVE-2026-106310: Use of released resource in FontAccess
+ * CVE-2026-106311: Clickjacking in PermissionElement
+ * CVE-2026-106312: Missing authorization in SignIn
+ * CVE-2026-106313: Incorrect authorization in Browser
+ * CVE-2026-106314: Incorrect authorization in Bluetooth
+ * CVE-2026-106315: Use after free in Modularization
+ * CVE-2026-106316: UI misrepresentation in Chromoting
+ * CVE-2026-106317: UI misrepresentation in FullScreen
+ * CVE-2026-106318: Use after free in Media
+ * CVE-2026-106320: Use of released resource in UI
+ * CVE-2026-106321: Information leak in Editing
+ * CVE-2026-106322: Open redirect in AppManifest
+ * CVE-2026-106323: Missing authorization in Chrome for iOS
+ * CVE-2026-106324: Incorrect authorization in WebAppInstalls
+ * CVE-2026-106325: Incorrect reference resolution in Core
+ * CVE-2026-106326: Confused deputy in UI
+ * CVE-2026-106327: Incorrect authorization in Core
+ * CVE-2026-106328: Incorrect authorization in PDF
+ * CVE-2026-106329: Incorrect authorization in FileSystem
+ * CVE-2026-106330: Information leak in Paint
+ * CVE-2026-106331: Improper input validation in Extensions
+ * CVE-2026-106332: Integer overflow in Compositing
+ * CVE-2026-106333: Incorrect authorization in Input
+ * CVE-2026-106334: Information leak in Payments
+ * CVE-2026-106335: Use after free in Media
+ * CVE-2026-106336: Observable discrepancy in Paint
+ * CVE-2026-106337: UI misrepresentation in UI
+ * CVE-2026-106338: UI misrepresentation in PictureInPicture
+ * CVE-2026-106339: Use of released resource in Core
+ * CVE-2026-106340: Missing authorization in CredentialProvider
+ * CVE-2026-106341: Type confusion in V8
+ * CVE-2026-106342: Information leak in Autofill
+ * CVE-2026-106343: Improper state validation in Autofill AI
+ * CVE-2026-106344: Missing authorization in Permissions
+ * CVE-2026-106345: Use of released resource in Session
+ * CVE-2026-106346: Improper state validation in DevTools
+ * CVE-2026-106347: Use after free in Track
+ * CVE-2026-106348: Information leak in Animation
+ * CVE-2026-106349: Use after free in V8
+ * CVE-2026-106350: Incorrect authorization in Browser
+ * CVE-2026-106351: Observable discrepancy in Safebrowsing
+ * CVE-2026-106352: Incorrect authorization in WebProtect
+ * CVE-2026-106353: Improper input validation in Mobile
+ * CVE-2026-106354: Improper resource exposure in Extensions
+ * CVE-2026-106355: Missing authorization in Media
+ * CVE-2026-106356: Clickjacking in EVP
+ * CVE-2026-106357: Use after free in WebRTC
+ * CVE-2026-106358: Use after free in Navigation
+ * CVE-2026-106359: Confused deputy in DeviceBoundSessionCredentials
+ * CVE-2026-106360: Information leak in Payments
+ * CVE-2026-106361: Incorrect provision of specified functionality in Mobile
+ * CVE-2026-106362: Missing authorization in DevTools
+ * CVE-2026-106363: Missing authorization in FullScreen
+ * CVE-2026-106364: Incorrect authorization in Omnibox
+ * CVE-2026-106365: Missing authorization in Animation
+ * CVE-2026-106366: Incomplete cleanup in CustomTabs
+ * CVE-2026-106367: Missing authorization in Mobile
+ * CVE-2026-106368: UI misrepresentation in UI
+ * CVE-2026-106369: Missing authorization in Translate
+ * CVE-2026-106370: Uninitialized resource in GPU
+ * CVE-2026-106371: Incorrect authorization in Transactions Platform
+ * CVE-2026-106372: Incorrect authorization in UI
+ * CVE-2026-106373: Use after free in Fonts
+ * CVE-2026-106374: Type confusion in V8
+ * CVE-2026-106375: Incomplete cleanup in Dawn
+ * CVE-2026-106376: Uninitialized resource in ANGLE
+ * CVE-2026-106377: Race condition in Fonts
+ * CVE-2026-106378: Privilege elevation in Sandbox
+ * CVE-2026-106379: Uninitialized resource in Skia
+ * CVE-2026-106380: UI misrepresentation in UI
+ * CVE-2026-106381: Incorrect authorization in Passwords
+ * CVE-2026-106382: Use after free in Chromecast
+ * CVE-2026-106383: Use after free in Media
+ * CVE-2026-106384: Missing authorization in SiteIsolation
+ * CVE-2026-106385: Race condition in Chromoting
+ * CVE-2026-106386: Uninitialized resource in WebAudio
+ * CVE-2026-106387: Missing authorization in Mobile
+ * CVE-2026-106388: Missing authorization in DataTransfer
+ * CVE-2026-106389: Incorrect authorization in USB
+ * CVE-2026-106390: Incorrect provision of specified functionality in SanitizerAPI
+ * CVE-2026-106391: Incorrect authorization in WebShare
+ * CVE-2026-106392: Information leak in WebAudio
+ * CVE-2026-106393: Use after free in Storage
+ * CVE-2026-106394: Incomplete cleanup in Glic
+ * CVE-2026-106395: Uninitialized resource in Dawn
+ * CVE-2026-106396: Improper input validation in Omnibox
+ * CVE-2026-106397: Incorrect authorization in Mobile
+ * CVE-2026-106398: Incorrect authorization in Media
+ * CVE-2026-106399: Out of bounds read in Skia
+ * CVE-2026-106400: Clickjacking in Messages
+ * CVE-2026-106401: Out of bounds write in Media
+ * CVE-2026-106402: Incorrect authorization in Extensions
+ * CVE-2026-106403: Incorrect authorization in Accessibility
+ * CVE-2026-106404: Incorrect authorization in FontAccess
+ * CVE-2026-106405: Race condition in CustomTabs
+ * CVE-2026-106406: Missing authorization in Mobile
+ * CVE-2026-106407: Incorrect authorization in GetUserMedia
+ * CVE-2026-106408: Protection mechanism failure in Mobile
+ * CVE-2026-106409: Incorrect reference resolution in WebAppInstalls
+ * CVE-2026-106410: Missing authorization in Permissions
+ * CVE-2026-106411: Use after free in Parser
+ * CVE-2026-106412: Race condition in Core
+ * CVE-2026-106413: Race condition in Browser
+ * CVE-2026-106414: Improper input validation in Mobile
+ * CVE-2026-106415: Information leak in Enterprise
+ * CVE-2026-106416: Code injection in Extensions
+ * CVE-2026-106417: Integer overflow in Media
+ * CVE-2026-106418: Missing authorization in Network
+ * CVE-2026-106419: Use after free in ANGLE
+ * CVE-2026-106420: Incorrect calculation in API
+ * CVE-2026-106421: Use after free in PDF
+ * CVE-2026-106422: Incorrect authorization in API
+ * CVE-2026-106423: Use after free in Media
+ * CVE-2026-106424: Information leak in Audio
+ * CVE-2026-106425: Missing authorization in BrowserTag
+ * CVE-2026-106426: Race condition in Fonts
+ * CVE-2026-106427: Confused deputy in Mobile
+
* Sat Oct 03 2026 Than Ngo <than@redhat.com> - 154.0.8037.97-1
- Update to 154.0.8037.97
* CVE-2026-103621: Integer overflow in Compositing
diff --git a/disable-ai.patch b/disable-ai.patch
index 75d67ac..c2a2376 100644
--- a/disable-ai.patch
+++ b/disable-ai.patch
@@ -3,7 +3,7 @@
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
-@@ -2570,7 +2570,6 @@ source_set("browser") {
+@@ -2574,7 +2574,6 @@ source_set("browser") {
"//chrome/browser/profile_resetter:impl",
"//chrome/browser/record_replay",
"//chrome/browser/record_replay:impl",
@@ -11,7 +11,7 @@
"//chrome/browser/sharing_hub",
"//chrome/browser/sharing_hub:impl",
"//chrome/browser/smart_card",
-@@ -2619,7 +2618,6 @@ source_set("browser") {
+@@ -2623,7 +2622,6 @@ source_set("browser") {
"//chrome/browser/ui/waap:window_metrics_manager",
"//chrome/browser/ui/web_applications:impl",
"//chrome/browser/ui/webui/app_service_internals",
@@ -83,7 +83,7 @@
}
--- a/chrome/browser/actor/actor_keyed_service.cc
+++ b/chrome/browser/actor/actor_keyed_service.cc
-@@ -842,13 +842,6 @@ bool ActorKeyedService::IsActiveOnTab(co
+@@ -856,13 +856,6 @@ bool ActorKeyedService::IsActiveOnTab(co
ActorTask* ActorKeyedService::GetTaskFromTab(
const tabs::TabInterface& tab) const {
@@ -99,7 +99,7 @@
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
-@@ -333,8 +333,6 @@ class BrowserProcess {
+@@ -331,8 +331,6 @@ class BrowserProcess {
virtual void set_usb_system_tray_icon_for_test(
std::unique_ptr<UsbSystemTrayIcon> icon) = 0;
@@ -110,7 +110,7 @@
// Obtain the browser instance of OSCryptAsync, which should be used for data
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
-@@ -84,7 +84,6 @@
+@@ -85,7 +85,6 @@
#include "chrome/browser/serial/serial_policy_allowed_ports.h"
#include "chrome/browser/shell_integration.h"
#include "chrome/browser/site_isolation/prefs_observer.h"
@@ -118,7 +118,7 @@
#include "chrome/browser/ssl/secure_origin_prefs_observer.h"
#include "chrome/browser/startup_data.h"
#include "chrome/browser/status_icons/status_tray.h"
-@@ -260,12 +259,10 @@ void OnLocalStatePrefsLoaded();
+@@ -261,12 +260,10 @@ void OnLocalStatePrefsLoaded();
#if BUILDFLAG(IS_CHROMEOS)
#include "chrome/browser/chromeos/extensions/telemetry/chromeos_telemetry_extensions_browser_api_provider.h"
#include "chrome/browser/hid/hid_pinned_notification.h"
@@ -158,7 +158,7 @@
bool result = base::PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
-@@ -57,9 +57,6 @@ class SiteIsolationPrefsObserver;
+@@ -58,9 +58,6 @@ class SiteIsolationPrefsObserver;
class SystemNotificationHelper;
class StartupData;
@@ -168,7 +168,7 @@
namespace breadcrumbs {
class ApplicationBreadcrumbsLogger;
-@@ -99,9 +96,6 @@ namespace speech {
+@@ -101,9 +98,6 @@ namespace speech {
class SodaInstaller;
} // namespace speech
@@ -187,7 +187,7 @@
#endif
os_crypt_async::OSCryptAsync* os_crypt_async() override;
-@@ -468,12 +460,6 @@ class BrowserProcessImpl : public Browse
+@@ -467,12 +459,6 @@ class BrowserProcessImpl : public Browse
// to ensure that SodaInstallerImpl gets destructed first.
std::unique_ptr<speech::SodaInstaller> soda_installer_impl_;
@@ -211,7 +211,7 @@
#include "chrome/browser/web_applications/sub_apps/sub_apps_service_impl.h"
#endif
-@@ -392,27 +390,6 @@ void BindMediaFoundationPreferences(
+@@ -382,27 +380,6 @@ void BindMediaFoundationPreferences(
}
#endif // BUILDFLAG(IS_WIN)
@@ -239,7 +239,7 @@
void BindModelBroker(
content::RenderFrameHost* frame_host,
-@@ -586,10 +563,6 @@ void PopulateChromeFrameBinders(
+@@ -576,10 +553,6 @@ void PopulateChromeFrameBinders(
&web_app::SubAppsServiceImpl::CreateIfAllowed);
}
@@ -252,7 +252,7 @@
#if BUILDFLAG(IS_WIN)
--- a/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc
+++ b/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc
-@@ -523,9 +523,6 @@ void PopulateChromeWebUIFrameBindersPart
+@@ -527,9 +527,6 @@ void PopulateChromeWebUIFrameBindersPart
::mojom::app_service_internals::AppServiceInternalsPageHandler,
AppServiceInternalsUI>(map);
@@ -264,7 +264,7 @@
access_code_cast::mojom::PageHandlerFactory,
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
-@@ -5532,9 +5532,6 @@ ChromeContentBrowserClient::CreateCommit
+@@ -5591,9 +5591,6 @@ ChromeContentBrowserClient::CreateCommit
&conditions);
#endif
@@ -276,7 +276,7 @@
}
--- a/chrome/browser/component_updater/BUILD.gn
+++ b/chrome/browser/component_updater/BUILD.gn
-@@ -214,13 +214,6 @@ source_set("impl") {
+@@ -228,13 +228,6 @@ source_set("impl") {
]
}
@@ -292,7 +292,7 @@
sources += [ "hyphenation_component_installer.cc" ]
--- a/chrome/browser/component_updater/registration.cc
+++ b/chrome/browser/component_updater/registration.cc
-@@ -60,8 +60,6 @@
+@@ -65,8 +65,6 @@
#if BUILDFLAG(IS_ANDROID)
#include "chrome/browser/component_updater/real_time_url_checks_allowlist_component_installer.h"
@@ -301,7 +301,7 @@
#endif // BUILDFLAG(IS_ANDROID)
#if !BUILDFLAG(IS_ANDROID)
-@@ -202,9 +200,6 @@ void RegisterComponentsForUpdate() {
+@@ -207,9 +205,6 @@ void RegisterComponentsForUpdate() {
RegisterRealTimeUrlChecksAllowlistComponent(cus);
#endif // BUIDLFLAG(IS_ANDROID)
@@ -313,7 +313,7 @@
--- a/chrome/browser/glic/glic_selection_observer.cc
+++ b/chrome/browser/glic/glic_selection_observer.cc
-@@ -1092,20 +1092,6 @@ void GlicSelectionObserver::OnAskGeminiW
+@@ -1256,20 +1256,6 @@ void GlicSelectionObserver::OnAskGeminiW
}
std::string skill_prompt;
@@ -334,7 +334,7 @@
if (skill_prompt.empty()) {
Profile* profile =
-@@ -1127,28 +1113,6 @@ void GlicSelectionObserver::OnAskGeminiW
+@@ -1290,28 +1276,6 @@ void GlicSelectionObserver::OnAskGeminiW
std::vector<GlicSelectionWidgetDelegate::SkillOption>
GlicSelectionObserver::GetContextualSkills() {
std::vector<GlicSelectionWidgetDelegate::SkillOption> result;
@@ -365,7 +365,7 @@
--- a/chrome/browser/glic/host/glic_skills_manager_impl.cc
+++ b/chrome/browser/glic/host/glic_skills_manager_impl.cc
-@@ -497,39 +497,6 @@ bool GlicSkillsClientSession::Require1PS
+@@ -504,39 +504,6 @@ bool GlicSkillsClientSession::Require1PS
void GlicSkillsClientSession::UpdateSkillPreviews(
std::optional<tabs::TabInterface*> updated_tab) {
@@ -576,7 +576,7 @@
--- a/chrome/browser/password_manager/password_change_delegate_impl.cc
+++ b/chrome/browser/password_manager/password_change_delegate_impl.cc
-@@ -344,12 +344,6 @@ void PasswordChangeDelegateImpl::StartPa
+@@ -342,12 +342,6 @@ void PasswordChangeDelegateImpl::StartPa
&PasswordChangeDelegateImpl::OnLoginStateCheckedWithoutPIResult,
weak_ptr_factory_.GetWeakPtr()));
@@ -589,6 +589,18 @@
}
void PasswordChangeDelegateImpl::OnLoginStateCheckedWithoutPIResult(
+--- a/chrome/browser/pdf/BUILD.gn
++++ b/chrome/browser/pdf/BUILD.gn
+@@ -247,9 +247,6 @@ if (!is_android) {
+ deps += [
+ "//chrome/browser/download:test_support",
+ "//chrome/browser/permissions",
+- "//chrome/browser/screen_ai:screen_ai_install_state",
+- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
+- "//services/screen_ai/public/cpp:utilities",
+ "//ui/accessibility:test_support",
+ ]
+
--- a/chrome/browser/pdf/pdf_extension_util.cc
+++ b/chrome/browser/pdf/pdf_extension_util.cc
@@ -142,7 +142,6 @@ base::DictValue GetPdfViewerStrings() {
@@ -624,7 +636,7 @@
#include "chrome/browser/permissions/pref_based_quiet_permission_ui_selector.h"
#include "chrome/browser/permissions/quiet_notification_permission_ui_config.h"
#include "chrome/browser/permissions/system/system_permission_settings.h"
-@@ -551,8 +550,6 @@ ChromePermissionsClient::CreatePermissio
+@@ -553,8 +552,6 @@ ChromePermissionsClient::CreatePermissio
#endif
selectors.emplace_back(std::make_unique<PrefBasedQuietPermissionUiSelector>(
Profile::FromBrowserContext(browser_context)));
@@ -633,7 +645,7 @@
return selectors;
}
-@@ -574,8 +571,6 @@ void ChromePermissionsClient::OnPromptRe
+@@ -576,8 +573,6 @@ void ChromePermissionsClient::OnPromptRe
Profile* profile =
Profile::FromBrowserContext(web_contents->GetBrowserContext());
@@ -676,7 +688,7 @@
model_data.request_metadata.request_type;
--- a/chrome/browser/prefs/BUILD.gn
+++ b/chrome/browser/prefs/BUILD.gn
-@@ -387,7 +387,6 @@ source_set("impl") {
+@@ -388,7 +388,6 @@ source_set("impl") {
"//chrome/browser/desktop_to_mobile_promos:utils",
"//chrome/browser/device_identity",
"//chrome/browser/new_tab_page",
@@ -686,7 +698,7 @@
"//chrome/browser/sharing_hub",
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
-@@ -1727,9 +1727,6 @@ void RegisterLocalState(PrefRegistrySimp
+@@ -1680,9 +1680,6 @@ void RegisterLocalState(PrefRegistrySimp
DeviceOAuth2TokenStoreDesktop::RegisterPrefs(registry);
#endif
@@ -716,7 +728,7 @@
"//chrome/browser/sharing_hub",
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
-@@ -136,7 +136,6 @@
+@@ -135,7 +135,6 @@
#include "chrome/browser/metrics/profile_metrics_service_factory.h"
#include "chrome/browser/metrics/variations/google_groups_manager_factory.h"
#include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h"
@@ -724,7 +736,7 @@
#include "chrome/browser/navigation_predictor/search_engine_preconnector.h"
#include "chrome/browser/navigation_predictor/search_engine_preconnector_keyed_service_factory.h"
#include "chrome/browser/net/dns_probe_service_factory.h"
-@@ -397,7 +396,6 @@
+@@ -395,7 +394,6 @@
#include "chrome/browser/record_replay/task_parameters_extractor_factory.h"
#include "chrome/browser/record_replay/task_service_factory.h"
#include "chrome/browser/record_replay/task_store_factory.h"
@@ -732,7 +744,7 @@
#include "chrome/browser/search/instant_service_factory.h"
#include "chrome/browser/search_engine_choice/search_engine_choice_dialog_service_factory.h"
#include "chrome/browser/speech/speech_recognition_client_browser_interface_factory.h"
-@@ -1195,7 +1193,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1190,7 +1188,6 @@ void ChromeBrowserMainExtraPartsProfiles
#if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI)
net::ServerCertificateDatabaseServiceFactory::GetInstance();
#endif
@@ -740,7 +752,7 @@
#if BUILDFLAG(ENABLE_DICE_SUPPORT)
HistorySyncOptinServiceFactory::GetInstance();
ProfileManagementDisclaimerServiceFactory::GetInstance();
-@@ -1258,9 +1255,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1253,9 +1250,6 @@ void ChromeBrowserMainExtraPartsProfiles
// TODO(b/502297163): Implement for Android.
OneTimePermissionsTrackerFactory::GetInstance();
#endif
@@ -750,7 +762,7 @@
OptimizationGuideGlobalStateHolderKeyedServiceFactory::GetInstance();
OptimizationGuideKeyedServiceFactory::GetInstance();
OriginKeyedPermissionActionServiceFactory::GetInstance();
-@@ -1359,7 +1353,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1354,7 +1348,6 @@ void ChromeBrowserMainExtraPartsProfiles
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
policy::UserPolicyOidcSigninServiceFactory::GetInstance();
#endif
@@ -758,7 +770,7 @@
PredictionServiceFactory::GetInstance();
predictors::AutocompleteActionPredictorFactory::GetInstance();
predictors::LoadingPredictorFactory::GetInstance();
-@@ -1443,10 +1436,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1438,10 +1431,6 @@ void ChromeBrowserMainExtraPartsProfiles
SafetyHubMenuNotificationServiceFactory::GetInstance();
#if !BUILDFLAG(IS_ANDROID)
SafetyHubHatsServiceFactory::GetInstance();
@@ -769,7 +781,7 @@
#endif
#if BUILDFLAG(IS_CHROMEOS)
if (ash::features::IsScannerEnabled()) {
-@@ -1570,7 +1559,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1565,7 +1554,6 @@ void ChromeBrowserMainExtraPartsProfiles
TopSitesFactory::GetInstance();
translate::TranslateRankerFactory::GetInstance();
#if !BUILDFLAG(IS_ANDROID)
@@ -779,7 +791,7 @@
ttc::TtcKeyedServiceFactory::GetInstance();
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
-@@ -226,11 +226,6 @@ void OffTheRecordProfileImpl::Init() {
+@@ -225,11 +225,6 @@ void OffTheRecordProfileImpl::Init() {
// AccessibilityLabelsService has a default prefs behavior in incognito.
AccessibilityLabelsService::InitOffTheRecordPrefs(this);
@@ -793,7 +805,7 @@
// System Profile.
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
-@@ -924,11 +924,6 @@ void ProfileImpl::DoFinalInit(CreateMode
+@@ -923,11 +923,6 @@ void ProfileImpl::DoFinalInit(CreateMode
// The password settings service needs to start listening to settings
// changes from Google Mobile Services, as early as possible.
PasswordManagerSettingsServiceFactory::GetForProfile(this);
@@ -815,7 +827,7 @@
#include "chrome/browser/prefs/incognito_mode_prefs.h"
#include "chrome/browser/profiles/delete_profile_helper.h"
#include "chrome/browser/profiles/keep_alive/profile_keep_alive_types.h"
-@@ -1614,9 +1613,6 @@ void ProfileManager::DoFinalInitForServi
+@@ -1610,9 +1609,6 @@ void ProfileManager::DoFinalInitForServi
// Ensure NavigationPredictorKeyedService is started.
NavigationPredictorKeyedServiceFactory::GetForProfile(profile);
@@ -840,7 +852,7 @@
${this.showErrorDialog ? html`<viewer-error-dialog id="error-dialog">
--- a/chrome/browser/skills/BUILD.gn
+++ b/chrome/browser/skills/BUILD.gn
-@@ -61,13 +61,9 @@ source_set("public") {
+@@ -62,13 +62,9 @@ source_set("public") {
source_set("ui") {
sources = [
"skills_dialog_launcher.cc",
@@ -990,7 +1002,7 @@
is_installed = speech::SodaInstaller::GetInstance()->IsSodaInstalled(
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
-@@ -1475,7 +1475,6 @@ static_library("ui") {
+@@ -1666,7 +1666,6 @@ static_library("ui") {
"//chrome/browser/lens/region_search",
"//chrome/browser/reading_list",
"//chrome/browser/safe_browsing",
@@ -998,7 +1010,7 @@
"//chrome/browser/smart_card",
"//chrome/browser/support_tool",
"//chrome/browser/tab_group_sync:utils",
-@@ -2909,7 +2908,6 @@ static_library("ui") {
+@@ -3122,7 +3121,6 @@ static_library("ui") {
"//chrome/browser/ui/views/zoom",
"//chrome/browser/ui/webauthn:impl",
"//chrome/browser/ui/webui/app_service_internals",
@@ -1026,7 +1038,7 @@
"//chrome/common",
--- a/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc
+++ b/chrome/browser/ui/pdf/chrome_pdf_document_helper_client.cc
-@@ -199,22 +199,3 @@ void ChromePDFDocumentHelperClient::SetP
+@@ -189,22 +189,3 @@ void ChromePDFDocumentHelperClient::SetP
}
}
@@ -1061,7 +1073,7 @@
const std::u16string& text);
--- a/chrome/browser/ui/tabs/public/tab_features.h
+++ b/chrome/browser/ui/tabs/public/tab_features.h
-@@ -165,12 +165,6 @@ namespace webapps {
+@@ -173,12 +173,6 @@ namespace webapps {
class AppBannerManagerDesktop;
} // namespace webapps
@@ -1074,7 +1086,7 @@
namespace sync_sessions {
class SyncSessionsRouterTabHelper;
} // namespace sync_sessions
-@@ -679,10 +673,6 @@ class TabFeatures {
+@@ -691,10 +685,6 @@ class TabFeatures {
std::unique_ptr<contextual_tasks::ContextualTasksTabVisitTracker>
contextual_tasks_tab_visit_tracker_;
@@ -1087,7 +1099,7 @@
std::unique_ptr<enterprise_reporting::SaasUsageNavigationObserver>
--- a/chrome/browser/ui/tabs/tab_features.cc
+++ b/chrome/browser/ui/tabs/tab_features.cc
-@@ -428,11 +428,6 @@ void TabFeatures::Init(TabInterface& tab
+@@ -441,11 +441,6 @@ void TabFeatures::Init(TabInterface& tab
GetUserDataFactory().CreateInstance<actor::ui::ActorUiTabController>(
tab, tab, actor::ActorKeyedService::Get(profile));
}
@@ -1099,7 +1111,7 @@
} // IsInNormalWindow() end.
if (base::FeatureList::IsEnabled(features::kGlicActor)) {
-@@ -700,10 +695,6 @@ void TabFeatures::Init(TabInterface& tab
+@@ -719,10 +714,6 @@ void TabFeatures::Init(TabInterface& tab
}
#endif
@@ -1112,7 +1124,7 @@
std::make_unique<indigo::IndigoPageActionController>(
--- a/chrome/browser/ui/views/user_education/browser_user_education_service.cc
+++ b/chrome/browser/ui/views/user_education/browser_user_education_service.cc
-@@ -1109,40 +1109,6 @@ void MaybeRegisterChromeFeaturePromos(
+@@ -1081,40 +1081,6 @@ void MaybeRegisterChromeFeaturePromos(
"Triggered when the PDF Viewer opens.")));
#endif // BUILDFLAG(ENABLE_PDF_INK2)
@@ -1155,17 +1167,17 @@
registry.RegisterFeature(std::move(
--- a/chrome/browser/ui/webui/BUILD.gn
+++ b/chrome/browser/ui/webui/BUILD.gn
-@@ -113,7 +113,6 @@ source_set("configs") {
+@@ -114,7 +114,6 @@ source_set("configs") {
"//chrome/browser/actor/ui:actor_overlay_web_view",
"//chrome/browser/ui/webui/access_code_cast",
"//chrome/browser/ui/webui/app_service_internals",
- "//chrome/browser/ui/webui/autofill_ml_internals",
"//chrome/browser/ui/webui/color_pipeline_internals",
+ "//chrome/browser/ui/webui/critical_actions",
"//chrome/browser/ui/webui/history",
- "//chrome/browser/ui/webui/infobar_internals",
--- a/chrome/browser/ui/webui/chrome_web_ui_configs.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_configs.cc
-@@ -338,7 +338,6 @@ void RegisterChromeWebUIConfigs() {
+@@ -353,7 +353,6 @@ void RegisterChromeWebUIConfigs() {
map.AddWebUIConfig(std::make_unique<media_router::AccessCodeCastUIConfig>());
map.AddWebUIConfig(std::make_unique<actor::ui::ActorOverlayUIConfig>());
map.AddWebUIConfig(std::make_unique<AppServiceInternalsUIConfig>());
@@ -1302,7 +1314,7 @@
"//chrome/browser/ui:accelerator_table",
--- a/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc
+++ b/chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc
-@@ -24,8 +24,6 @@
+@@ -23,8 +23,6 @@
#include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
#include "chrome/browser/language/language_model_manager_factory.h"
#include "chrome/browser/profiles/profile.h"
@@ -1311,7 +1323,7 @@
#include "chrome/browser/speech/extension_api/tts_engine_extension_api.h"
#include "chrome/browser/translate/chrome_translate_client.h"
#include "chrome/browser/ui/read_anything/read_anything_controller.h"
-@@ -404,14 +402,6 @@ ReadAnythingUntrustedPageHandler::ReadAn
+@@ -405,14 +403,6 @@ ReadAnythingUntrustedPageHandler::ReadAn
prefs_lang = language::ExtractBaseLanguage(prefs_lang);
SetDefaultLanguageCode(prefs_lang);
@@ -1328,7 +1340,7 @@
!features::IsReadAnythingReadAloudPhraseHighlightingEnabled()) {
--- a/chrome/renderer/BUILD.gn
+++ b/chrome/renderer/BUILD.gn
-@@ -340,8 +340,6 @@ static_library("renderer") {
+@@ -344,8 +344,6 @@ static_library("renderer") {
deps += [ "//chrome/common/wallet:mojo_bindings" ]
} else {
sources += [
@@ -1337,7 +1349,7 @@
"accessibility/phrase_segmentation/base_phrase_segmenter.cc",
"accessibility/phrase_segmentation/base_phrase_segmenter.h",
"accessibility/phrase_segmentation/dependency_parser_model.cc",
-@@ -358,16 +356,6 @@ static_library("renderer") {
+@@ -362,21 +360,6 @@ static_library("renderer") {
"accessibility/phrase_segmentation/tokenized_sentence.h",
"accessibility/phrase_segmentation/tokenizer.cc",
"accessibility/phrase_segmentation/tokenizer.h",
@@ -1349,12 +1361,17 @@
- "accessibility/read_anything/read_anything_app_controller.h",
- "accessibility/read_anything/read_anything_app_model.cc",
- "accessibility/read_anything/read_anything_app_model.h",
+- "accessibility/read_anything/read_anything_distiller.h",
+- "accessibility/read_anything/read_anything_distiller_factory.cc",
+- "accessibility/read_anything/read_anything_distiller_factory.h",
- "accessibility/read_anything/read_anything_node_utils.cc",
- "accessibility/read_anything/read_anything_node_utils.h",
+- "accessibility/read_anything/screen2x_distiller.cc",
+- "accessibility/read_anything/screen2x_distiller.h",
"media/chrome_speech_recognition_client.cc",
"media/chrome_speech_recognition_client.h",
"password_manager/remote_actor_credential_sharing_extension.cc",
-@@ -385,7 +373,6 @@ static_library("renderer") {
+@@ -394,7 +377,6 @@ static_library("renderer") {
"//components/record_replay/content/renderer",
"//components/trusted_vault",
"//services/screen_ai/buildflags",
@@ -1364,15 +1381,15 @@
"//third_party/tensorflow-text",
--- a/chrome/renderer/chrome_render_frame_observer.cc
+++ b/chrome/renderer/chrome_render_frame_observer.cc
-@@ -84,7 +84,6 @@
- #include "url/gurl.h"
+@@ -88,7 +88,6 @@
+ #include "url/url_constants.h"
#if !BUILDFLAG(IS_ANDROID)
-#include "chrome/renderer/accessibility/read_anything/read_anything_app_controller.h"
#include "chrome/renderer/searchbox/searchbox_extension.h"
#endif // !BUILDFLAG(IS_ANDROID)
-@@ -375,14 +374,6 @@ void ChromeRenderFrameObserver::DidClear
+@@ -385,14 +384,6 @@ void ChromeRenderFrameObserver::DidClear
SearchBoxExtension::Install(render_frame()->GetWebFrame());
}
@@ -1389,7 +1406,7 @@
guest_view::SlimWebViewBindings::MaybeInstall(*render_frame());
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
-@@ -2160,9 +2160,6 @@ if (!is_android) {
+@@ -1907,9 +1907,6 @@ if (!is_android) {
"//chrome/browser/safe_browsing:blocking_page_platform_test_support",
"//chrome/browser/safe_browsing:browser_tests",
"//chrome/browser/safe_browsing:verdict_cache_manager_factory",
@@ -1399,7 +1416,7 @@
"//chrome/browser/search",
"//chrome/browser/search:browser_tests",
"//chrome/browser/search:test_support",
-@@ -2779,8 +2776,6 @@ if (!is_android) {
+@@ -2537,8 +2534,6 @@ if (!is_android) {
"//services/preferences/public/cpp",
"//services/preferences/public/cpp/tracked",
"//services/preferences/tracked:features",
@@ -1408,15 +1425,15 @@
"//services/service_manager/public/cpp",
"//services/strings",
"//services/test/echo/public/mojom",
-@@ -6713,7 +6708,6 @@ test("unit_tests") {
+@@ -6275,7 +6270,6 @@ test("unit_tests") {
# TODO(crbug.com/417513088): Maybe merge with the non-android `deps`
# declaration above?
deps += [
- "../browser/screen_ai:screen_ai_install_state",
"//chrome:packed_resources",
- "//chrome/browser/apps:icon_standardizer",
"//chrome/browser/apps/app_service",
-@@ -6754,7 +6748,6 @@ test("unit_tests") {
+ "//chrome/browser/apps/app_service:app_registry_cache_waiter",
+@@ -6315,7 +6309,6 @@ test("unit_tests") {
"//chrome/browser/profile_resetter:fake_profile_resetter",
"//chrome/browser/profile_resetter:unit_tests",
"//chrome/browser/resources/new_tab_page_instant:resources_grit",
@@ -1426,7 +1443,7 @@
"//chrome/browser/sensor:unit_tests",
--- a/chrome/utility/BUILD.gn
+++ b/chrome/utility/BUILD.gn
-@@ -149,7 +149,6 @@ static_library("utility") {
+@@ -151,7 +151,6 @@ static_library("utility") {
"//components/user_data_importer/content",
"//components/user_data_importer/utility:bookmarks",
"//services/proxy_resolver:lib",
@@ -1436,7 +1453,7 @@
--- a/chrome/utility/services.cc
+++ b/chrome/utility/services.cc
-@@ -68,8 +68,6 @@
+@@ -69,8 +69,6 @@
#include "components/mirroring/service/mirroring_service.h"
#include "services/proxy_resolver/proxy_resolver_factory_impl.h" // nogncheck
#include "services/proxy_resolver/public/mojom/proxy_resolver.mojom.h"
@@ -1445,7 +1462,7 @@
#endif // !BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(ENABLE_MEDIA_REMOTING_REDIRECTION)
-@@ -294,10 +292,6 @@ auto RunReadingModeMetricsService(
+@@ -295,10 +293,6 @@ auto RunReadingModeMetricsService(
std::move(receiver));
}
@@ -1456,7 +1473,7 @@
#endif
#if (BUILDFLAG(SAFE_BROWSING_DOWNLOAD_PROTECTION) && \
-@@ -496,7 +490,6 @@ void RegisterMainThreadServices(mojo::Se
+@@ -497,7 +491,6 @@ void RegisterMainThreadServices(mojo::Se
services.Add(RunProfileImporter);
services.Add(RunMirroringService);
services.Add(RunReadingModeMetricsService);
@@ -1466,7 +1483,7 @@
#if BUILDFLAG(ENABLE_MEDIA_REMOTING_REDIRECTION)
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
-@@ -639,7 +639,6 @@ test("components_unittests") {
+@@ -638,7 +638,6 @@ test("components_unittests") {
"//components/one_time_tokens/core/browser:unit_tests",
"//components/page_info:unit_tests",
"//components/password_manager/core/browser/actor_login:unit_tests",
@@ -1485,7 +1502,7 @@
GeoIpCountryCode country_code;
LanguageCode current_page_language;
std::unique_ptr<BufferingLogManager> log_manager;
-@@ -920,10 +918,8 @@ void AutofillManager::RunMlModels(
+@@ -878,10 +876,8 @@ void AutofillManager::RunMlModels(
}));
switch (source) {
case HeuristicSource::kAutofillMachineLearning:
@@ -1496,7 +1513,7 @@
break;
case HeuristicSource::kRegexes:
NOTREACHED();
-@@ -1137,12 +1133,6 @@ void AutofillManager::UpdateFormCache(
+@@ -1058,12 +1054,6 @@ void AutofillManager::UpdateFormCache(
auto apply_predictions = [](FormStructure& form_structure,
const AsyncContext& context, size_t i) {
@@ -1509,7 +1526,7 @@
if (!context.regex_predictions.empty()) {
context.regex_predictions[i].ApplyTo(form_structure.fields());
}
-@@ -1236,26 +1226,6 @@ void AutofillManager::LogCurrentFieldTyp
+@@ -1157,26 +1147,6 @@ void AutofillManager::LogCurrentFieldTyp
void AutofillManager::SubscribeToMlModelChanges(
FieldClassificationModelHandler& handler) {
diff --git a/sources b/sources
index d6690b6..e066e83 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae45081916878b023ca221d3008d5f00f5a1178274bc09640bc6e20251d2555c31310ded8d9dbf0d56e742288
-SHA512 (chromium-154.0.8037.97-clean.tar.xz) = a26bcc353077be818fab4a3b14dccd93caa2276e823e82d57b5d49d50e3b2054f403046955d8f48feca729523bae3ef17ccefa106d4274dc93bdc8bd36335307
+SHA512 (chromium-155.0.8059.39-clean.tar.xz) = 0c7b33f692b6665c642e0a9bc8e78769cc6f7e0be69593804591d47caf119498fc21f37441f1cfa82b719ffd92357c37b222bcc8e16a0c71ef7d516cb31fbf90
diff --git a/chromium.spec b/chromium.spec
index 4ed1c3b..5be9137 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2426,6 +2426,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-10-05 10:24 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-10-05 10:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 3a32cd577f07a859eca4dbe89495bf1cdbb7b6c1
Author : Than Ngo <than@redhat.com>
Date : 2026-10-05T12:24:15+02:00
Stats : +20/-6 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/3a32cd577f07a859eca4dbe89495bf1cdbb7b6c1?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium.spec b/chromium.spec
index 8604b2a..ef641b7 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -13,10 +13,6 @@
%global system_build_flags 0
%global numjobs %{_smp_build_ncpus}
-# Limit to 48 cpus due to OOM on x86_64 platform
-%ifarch x86_64
-%global numjobs 48
-%endif
# official builds have less debugging and go faster... but we have to shut some things off.
%global official_build 1
@@ -278,7 +274,7 @@
%endif
Name: chromium
-Version: 154.0.8037.92
+Version: 154.0.8037.97
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -1957,6 +1953,21 @@ fi
%endif
%changelog
+* Sat Oct 03 2026 Than Ngo <than@redhat.com> - 154.0.8037.97-1
+- Update to 154.0.8037.97
+ * CVE-2026-103621: Integer overflow in Compositing
+ * CVE-2026-103622: Use after free in SVG
+ * CVE-2026-103623: Use after free in MediaStream
+ * CVE-2026-103624: Use after free in Contextual Tasks
+ * CVE-2026-103625: Type confusion in V8
+ * CVE-2026-103626: Incorrect authorization in FileSystem
+ * CVE-2026-103627: Information leak in SVG
+ * CVE-2026-103628: Out of bounds write in WebGL
+ * CVE-2026-103629: Integer overflow in Skia
+ * CVE-2026-103630: Use after free in FedCM
+ * CVE-2026-103631: Buffer overflow in WebRTC
+
+
* Wed Sep 30 2026 Than Ngo <than@redhat.com> - 154.0.8037.92-1
- Update to 154.0.8037.92
* CVE-2026-102299: Type confusion in V8
diff --git a/sources b/sources
index f0fc6d5..d6690b6 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae45081916878b023ca221d3008d5f00f5a1178274bc09640bc6e20251d2555c31310ded8d9dbf0d56e742288
-SHA512 (chromium-154.0.8037.92-clean.tar.xz) = ad27be3a565af1983c8ccd6f805770a2b4c87bfcc5002ce0ec88f1c2077ff4e8b0ac397e367c82c8e25f6b3f0b59d3efd96a3cd211de5bff7915d36e6c88f693
+SHA512 (chromium-154.0.8037.97-clean.tar.xz) = a26bcc353077be818fab4a3b14dccd93caa2276e823e82d57b5d49d50e3b2054f403046955d8f48feca729523bae3ef17ccefa106d4274dc93bdc8bd36335307
diff --git a/chromium.spec b/chromium.spec
index bdbd1f8..ef641b7 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2175,6 +2175,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-09-30 18:24 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-09-30 18:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 604520a6a69cbed3cd152ba94c707bd539267fef
Author : Than Ngo <than@redhat.com>
Date : 2026-09-30T20:24:40+02:00
Stats : +97/-6 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/604520a6a69cbed3cd152ba94c707bd539267fef?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium-154-set-extension-content-verification-enforce_strict.patch b/chromium-154-set-extension-content-verification-enforce_strict.patch
new file mode 100644
index 0000000..cc68321
--- /dev/null
+++ b/chromium-154-set-extension-content-verification-enforce_strict.patch
@@ -0,0 +1,20 @@
+Author: Than Ngo <than@redhat.com>
+
+ Enable extension signature validation to prevent any modifications to extension contents
+ in chromium
+
+diff -up chromium-154.0.8037.92/chrome/browser/extensions/chrome_content_verifier_delegate.cc.me chromium-154.0.8037.92/chrome/browser/extensions/chrome_content_verifier_delegate.cc
+--- chromium-154.0.8037.92/chrome/browser/extensions/chrome_content_verifier_delegate.cc.me 2026-09-30 16:04:51.168474332 +0200
++++ chromium-154.0.8037.92/chrome/browser/extensions/chrome_content_verifier_delegate.cc 2026-09-30 16:04:59.493101635 +0200
+@@ -103,11 +103,7 @@ ChromeContentVerifierDelegate::GetDefaul
+ #endif // BUILDFLAG(PLATFORM_CFM)
+
+ VerifyInfo::Mode experiment_value;
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ experiment_value = VerifyInfo::Mode::ENFORCE_STRICT;
+-#else
+- experiment_value = VerifyInfo::Mode::NONE;
+-#endif
+ const std::string group =
+ base::FieldTrialList::FindFullName(kContentVerificationExperimentName);
+ if (group == "EnforceStrict")
diff --git a/chromium-154-widevine-no-download.patch b/chromium-154-widevine-no-download.patch
new file mode 100644
index 0000000..001b548
--- /dev/null
+++ b/chromium-154-widevine-no-download.patch
@@ -0,0 +1,18 @@
+Author: Than Ngo <than@redhat.com>
+
+ Disable auto-download of widevine binary
+
+diff -up chromium-154.0.8037.92/chrome/browser/component_updater/registration.cc.me chromium-154.0.8037.92/chrome/browser/component_updater/registration.cc
+--- chromium-154.0.8037.92/chrome/browser/component_updater/registration.cc.me 2026-09-30 16:52:54.363835630 +0200
++++ chromium-154.0.8037.92/chrome/browser/component_updater/registration.cc 2026-09-30 16:53:56.806333646 +0200
+@@ -143,10 +143,6 @@ void RegisterComponentsForUpdate() {
+ RegisterRecoveryImprovedComponent(cus, g_browser_process->local_state());
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+
+-#if BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
+- RegisterWidevineCdmComponent(cus);
+-#endif // BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
+-
+ RegisterSubresourceFilterComponent(cus);
+ RegisterOnDeviceHeadSuggestComponent(
+ cus, g_browser_process->GetApplicationLocale());
diff --git a/chromium.conf b/chromium.conf
index 46e002d..f1ff1f3 100644
--- a/chromium.conf
+++ b/chromium.conf
@@ -1,3 +1,7 @@
+#
+# Author: Than Ngo <than@redhat.com>
+#
+
# system wide chromium flags
ARCH="$(arch)"
@@ -54,7 +58,6 @@ esac
if [ "$MODE" != "none" ] ; then
# chromium in VM, running with standard setting
CHROMIUM_FLAGS=""
- DISABLE_FEATURES=""
ENABLE_FEATURES=""
fi
diff --git a/chromium.spec b/chromium.spec
index cd491f6..8604b2a 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -30,8 +30,11 @@
# enable|disble bootstrap
%global bootstrap 0
-# workaround for old gn on el9, it causes build error: unknown function filter_labels_include()
-%if 0%{?rhel} == 9
+# workaround for old gn on el9 and el10.2, it causes build errors:
+# unknown function filter_labels_include()
+# ERROR at //third_party/devtools-frontend/src/scripts/build/typescript/ts_library_split.gni:316:21: Assignment had no effect.
+# public_inputs = filter_include(_all_sources, [ "*.ts" ])
+%if 0%{?rhel} == 9 || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 3)
%global bootstrap 1
%endif
@@ -275,7 +278,7 @@
%endif
Name: chromium
-Version: 154.0.8037.57
+Version: 154.0.8037.92
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -287,6 +290,12 @@ Patch1: chromium-115-initial_prefs-etc-path.patch
# Try to load widevine from other places
Patch8: chromium-117-widevine-other-locations.patch
+# Disable downloading Widevine CDM component
+Patch9: chromium-154-widevine-no-download.patch
+
+# Set extension-content-verification to enforce_strict by default
+Patch10: chromium-154-set-extension-content-verification-enforce_strict.patch
+
# debian patches
# disable font-test
Patch20: chromium-disable-font-tests.patch
@@ -1083,12 +1092,15 @@ Qt6 UI for chromium.
### Chromium Fedora Patches ###
%patch -P1 -p1 -b .etc
%patch -P8 -p1 -b .widevine-other-locations
-
+%patch -P9 -p1 -b .widevine-no-download
+%patch -P10 -p1 -b .set-extension-content-verification-enforce_strict
%patch -P20 -p1 -b .disable-font-test
%patch -P21 -p1 -b .screen-ai-service
+
%if ! %{use_custom_libcxx}
%patch -P22 -p1 -b .fix-qt-ui
%endif
+
%patch -P23 -p1 -b .build-error-libpng_for_testonly
%if 0%{?fedora} || 0%{?rhel} && 0%{?rhel} > 10
%patch -P24 -p1 -b .glibc-2.42-baud-rate-fix
@@ -1945,6 +1957,41 @@ fi
%endif
%changelog
+* Wed Sep 30 2026 Than Ngo <than@redhat.com> - 154.0.8037.92-1
+- Update to 154.0.8037.92
+ * CVE-2026-102299: Type confusion in V8
+ * CVE-2026-102300: Uninitialized resource in WebGPU
+ * CVE-2026-102301: Out of bounds write in GPU
+ * CVE-2026-102302: Buffer overflow in V8
+ * CVE-2026-102303: Uninitialized resource in GPU
+ * CVE-2026-102304: Use after free in Passwords
+ * CVE-2026-102305: UI misrepresentation in SignIn
+ * CVE-2026-102306: Use after free in Bluetooth
+ * CVE-2026-102307: Uninitialized resource in Dawn
+ * CVE-2026-102308: Use after free in Views
+ * CVE-2026-102309: Use after free in FullScreen
+ * CVE-2026-102310: Missing authorization in Payments
+ * CVE-2026-102311: Uninitialized resource in GPU
+ * CVE-2026-102312: UI misrepresentation in Omnibox
+ * CVE-2026-102313: Uninitialized resource in ANGLE
+ * CVE-2026-102314: UI misrepresentation in TabStrip
+ * CVE-2026-102315: Uninitialized resource in Media
+ * CVE-2026-102316: Use after free in Views
+ * CVE-2026-102317: Improper privilege management in Mojo
+ * CVE-2026-102318: Out of bounds read in WebGL
+ * CVE-2026-102319: Uninitialized resource in GPU
+ * CVE-2026-102320: Missing authorization in CORS
+ * CVE-2026-102321: Type confusion in V8
+ * CVE-2026-102323: Type confusion in V8
+ * CVE-2026-102324: Use after free in PictureInPicture
+ * CVE-2026-102325: Uninitialized resource in Skia
+ * CVE-2026-102326: Type confusion in V8
+ * CVE-2026-102327: Incorrect authorization in WebView
+ * CVE-2026-102328: Type confusion in V8
+ * CVE-2026-102329: Cross-site scripting in WebUI
+ * CVE-2026-102330: Incorrect authorization in SiteIsolation
+ * CVE-2026-102331: Buffer overflow in ANGLE
+
* Wed Sep 23 2026 Than Ngo <than@redhat.com> - 154.0.8037.57-1
- Update to 154.0.8037.57
* CVE-2026-95274: Improper output encoding in DevTools
diff --git a/sources b/sources
index d937031..f0fc6d5 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae45081916878b023ca221d3008d5f00f5a1178274bc09640bc6e20251d2555c31310ded8d9dbf0d56e742288
-SHA512 (chromium-154.0.8037.57-clean.tar.xz) = eb7a7b907067a62b9565f9534dc23e61e1436067c57ceab098caa735c908c7643a76336c4606d45917e77a340a1629d23d92123d7ac6bb9ed3d01e29b61c4476
+SHA512 (chromium-154.0.8037.92-clean.tar.xz) = ad27be3a565af1983c8ccd6f805770a2b4c87bfcc5002ce0ec88f1c2077ff4e8b0ac397e367c82c8e25f6b3f0b59d3efd96a3cd211de5bff7915d36e6c88f693
diff --git a/chromium.spec b/chromium.spec
index 11082c4..8604b2a 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2164,6 +2164,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-09-23 18:20 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-09-23 18:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : eb305529925f4942eac1beafd8f9441183a1cd72
Author : Than Ngo <than@redhat.com>
Date : 2026-09-23T20:20:22+02:00
Stats : +997/-153 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/eb305529925f4942eac1beafd8f9441183a1cd72?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium-154-ftbfs-crubit.patch b/chromium-154-ftbfs-crubit.patch
index b4137f5..bcdedf3 100644
--- a/chromium-154-ftbfs-crubit.patch
+++ b/chromium-154-ftbfs-crubit.patch
@@ -1,169 +1,711 @@
-commit 493e6c3911e33cc356856bafbffc6cf95521266b
-Author: Dominik Röttsches <drott@chromium.org>
-Date: Thu Aug 13 08:42:15 2026 -0700
+ungoogle chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3966
- Migrate OpenType format check bindings to Crubit
-
- We can remove the Box<> wrapped typing of FontFormatInfo along the way.
-
- DEPS checks for the generated output header files requires us to move
- the format_check target into the fonts subdirectory. This is a good
- opportunity to move more font specific build rules to the font subdir in
- the future and reduce the weight of the platform/BUILD.gn build dir.
-
- Exercise in using the Crubit bindings mechanism.
-
- No functional change.
-
- Change-Id: I9440c7285bb707b325b80ee074de51e714ee4884
- Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8244248
- Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
- Commit-Queue: Dominik Röttsches <drott@chromium.org>
- Cr-Commit-Position: refs/heads/main@{#1678858}
-
-diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/renderer/platform/BUILD.gn
-index d5e81a3f07a3c..6a5d275460122 100644
---- a/third_party/blink/renderer/platform/BUILD.gn
-+++ b/third_party/blink/renderer/platform/BUILD.gn
-@@ -186,18 +186,6 @@ group("make_platform_generated") {
+--- a/components/cbor/BUILD.gn
++++ b/components/cbor/BUILD.gn
+@@ -12,7 +12,7 @@ buildflag_header("buildflags") {
+ # TODO(crbug.com/535682335): Remove `USE_CBOR_RUST` buildflag entirely,
+ # unconditionally enable Rust CBOR parser, and drop `is_cronet_build` check
+ # once Cronet supports Crubit dependencies.
+- flags = [ "USE_CBOR_RUST=!$is_cronet_build" ]
++ flags = [ "USE_CBOR_RUST=$enable_cpp_api_from_rust" ]
+ }
+
+ component("cbor") {
+@@ -35,7 +35,7 @@ component("cbor") {
+ "//base",
+ ]
+
+- if (!is_cronet_build) {
++ if (enable_cpp_api_from_rust) {
+ public_deps = [
+ "//build/rust/crubit",
+ "//components/cbor/rust:cbor_rust_bindings",
+@@ -62,7 +62,7 @@ source_set("unit_tests") {
+ "//testing/gtest",
+ "//third_party/fuzztest",
+ ]
+- if (!is_cronet_build) {
++ if (enable_cpp_api_from_rust) {
+ deps += [ "//components/cbor/rust:cbor_rust_unittests" ]
+ }
+
+--- a/components/web_package/BUILD.gn
++++ b/components/web_package/BUILD.gn
+@@ -40,7 +40,6 @@ static_library("web_package") {
+ "//base",
+ "//components/base32",
+ "//components/cbor",
+- "//components/web_package/signed_web_bundles/rust:signed_web_bundles_rust_bindings",
+ "//mojo/public/cpp/bindings",
+ "//net",
+ "//services/network/public/mojom",
+@@ -70,7 +69,6 @@ source_set("mojom_mapped_types") {
+
+ deps = [
+ "//base",
+- "//components/web_package/signed_web_bundles/rust:signed_web_bundles_rust_bindings",
+ "//crypto",
+ "//mojo/public/cpp/bindings",
]
+@@ -98,7 +96,6 @@ source_set("unit_tests") {
+ ":web_package",
+ "//base/test:test_support",
+ "//components/cbor",
+- "//components/web_package/signed_web_bundles/rust:signed_web_bundles_rust_unittests",
+ "//components/web_package/test_support",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/test_support:test_utils",
+--- a/components/web_package/signed_web_bundles/ecdsa_p256_sha256_signature.cc
++++ b/components/web_package/signed_web_bundles/ecdsa_p256_sha256_signature.cc
+@@ -9,7 +9,8 @@
+ #include "base/strings/stringprintf.h"
+ #include "base/types/expected.h"
+ #include "components/web_package/signed_web_bundles/ecdsa_p256_public_key.h"
+-#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
++#include "crypto/keypair.h"
++#include "crypto/sign.h"
+
+ namespace web_package {
+
+@@ -50,8 +51,9 @@ EcdsaP256SHA256Signature::EcdsaP256SHA25
+ [[nodiscard]] bool EcdsaP256SHA256Signature::Verify(
+ base::span<const uint8_t> message,
+ const EcdsaP256PublicKey& public_key) const {
+- return signed_web_bundles::rust::verify_ecdsa_p256_signature(
+- public_key.bytes(), bytes(), message);
++ auto key = crypto::keypair::PublicKey::FromEcP256Point(public_key.bytes());
++ return crypto::sign::Verify(crypto::sign::ECDSA_SHA256, *key, message,
++ bytes());
}
--rust_static_library("font_format_check") {
-- allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
-- crate_root = "fonts/opentype/format_check.rs"
-- sources = [ crate_root ]
-- cxx_bindings = [ crate_root ]
-- deps = [
-- "//third_party/rust/font_types/v0_12:lib",
-- "//third_party/rust/read_fonts/v0_41:lib",
-- "//third_party/rust/skrifa/v0_44:lib",
-- ]
+ } // namespace web_package
+--- a/components/web_package/signed_web_bundles/ed25519_signature.cc
++++ b/components/web_package/signed_web_bundles/ed25519_signature.cc
+@@ -7,7 +7,6 @@
+ #include <algorithm>
+
+ #include "base/strings/stringprintf.h"
+-#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
+ #include "third_party/boringssl/src/include/openssl/curve25519.h"
+
+ namespace web_package {
+@@ -43,8 +42,11 @@ Ed25519Signature::Ed25519Signature(std::
+ [[nodiscard]] bool Ed25519Signature::Verify(
+ base::span<const uint8_t> message,
+ const Ed25519PublicKey& public_key) const {
+- return signed_web_bundles::rust::verify_ed25519_signature(public_key.bytes(),
+- bytes(), message);
++ const std::array<uint8_t, ED25519_PUBLIC_KEY_LEN>& public_key_bytes =
++ public_key.bytes();
++ const std::array<uint8_t, ED25519_SIGNATURE_LEN>& signature_bytes = bytes();
++ return ED25519_verify(message.data(), message.size(), signature_bytes.data(),
++ public_key_bytes.data());
+ }
+
+ } // namespace web_package
+--- a/components/web_package/signed_web_bundles/integrity_block_parser.cc
++++ b/components/web_package/signed_web_bundles/integrity_block_parser.cc
+@@ -4,17 +4,19 @@
+
+ #include "components/web_package/signed_web_bundles/integrity_block_parser.h"
+
++#include <algorithm>
+ #include <string>
+-#include <string_view>
+ #include <vector>
+
+-#include "base/check.h"
+-#include "base/containers/span.h"
++#include "base/containers/map_util.h"
+ #include "base/functional/bind.h"
+ #include "base/strings/stringprintf.h"
++#include "base/strings/to_string.h"
+ #include "base/types/expected.h"
+ #include "base/types/expected_macros.h"
+ #include "components/cbor/reader.h"
++#include "components/cbor/writer.h"
++#include "components/web_package/mojom/web_bundle_parser.mojom-forward.h"
+ #include "components/web_package/mojom/web_bundle_parser.mojom.h"
+ #include "components/web_package/signed_web_bundles/constants.h"
+ #include "components/web_package/signed_web_bundles/ecdsa_p256_public_key.h"
+@@ -22,56 +24,11 @@
+ #include "components/web_package/signed_web_bundles/ed25519_public_key.h"
+ #include "components/web_package/signed_web_bundles/ed25519_signature.h"
+ #include "components/web_package/signed_web_bundles/integrity_block_attributes.h"
+-#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_id.h"
+ #include "components/web_package/signed_web_bundles/types.h"
+
+ namespace web_package {
+
+-namespace {
+-
+-using SignatureType = signed_web_bundles::rust::SignatureType::Tag;
+-using signed_web_bundles::rust::parse_integrity_block;
+-
+-base::expected<mojom::BundleIntegrityBlockSignatureStackEntryPtr, std::string>
+-CreateSignatureStackEntry(
+- const signed_web_bundles::rust::SignatureStackEntry& entry) {
+- auto parsed_sig = mojom::BundleIntegrityBlockSignatureStackEntry::New();
+-
+- switch (entry.signature_type.tag) {
+- case SignatureType::Ed25519: {
+- ASSIGN_OR_RETURN(auto public_key,
+- Ed25519PublicKey::Create(entry.public_key.to_span()));
+- ASSIGN_OR_RETURN(auto signature,
+- Ed25519Signature::Create(entry.signature.to_span()));
+- parsed_sig->signature_info = mojom::SignatureInfo::NewEd25519(
+- mojom::SignatureInfoEd25519::New(public_key, signature));
+- break;
+- }
+- case SignatureType::EcdsaP256SHA256: {
+- ASSIGN_OR_RETURN(auto public_key,
+- EcdsaP256PublicKey::Create(entry.public_key.to_span()));
+- ASSIGN_OR_RETURN(auto signature, EcdsaP256SHA256Signature::Create(
+- entry.signature.to_span()));
+- parsed_sig->signature_info = mojom::SignatureInfo::NewEcdsaP256Sha256(
+- mojom::SignatureInfoEcdsaP256SHA256::New(public_key, signature));
+- break;
+- }
+- case SignatureType::Unknown: {
+- parsed_sig->signature_info =
+- mojom::SignatureInfo::NewUnknown(mojom::SignatureInfoUnknown::New());
+- break;
+- }
+- }
+-
+- parsed_sig->attributes_cbor =
+- BinaryData(entry.attributes_cbor.begin(), entry.attributes_cbor.end());
+-
+- return parsed_sig;
-}
-
+-} // namespace
+-
+ IntegrityBlockParser::IntegrityBlockParser(
+ mojom::BundleDataSource& data_source,
+ WebBundleParser::ParseIntegrityBlockCallback callback)
+@@ -103,37 +60,103 @@ void IntegrityBlockParser::OnIntegrityBl
+ RunErrorCallback("Error reading the integrity block.");
+ return;
+ }
++ // This structure is built during parsing and returned by the final callback
++ mojom::BundleIntegrityBlockPtr integrity_block =
++ mojom::BundleIntegrityBlock::New();
++
++ size_t consumed_bytes = 0;
++ cbor::Reader::DecoderError error;
++ cbor::Reader::Config config;
++ config.num_bytes_consumed = &consumed_bytes;
++ config.error_code_out = &error;
++
++ // When config `bytes_consumed` are assigned the CBOR parser reads only to the
++ // end of a structure. It parses only Integrity Block even if Web Bundle part
++ // starts just after.
++ std::optional<cbor::Value> value = cbor::Reader::Read(*data, config);
++ if (!value) {
++ RunErrorCallback("Error parsing integrity block as CBOR: " +
++ std::string(cbor::Reader::ErrorCodeToString(error)));
++ return;
++ }
++ integrity_block->size = consumed_bytes;
++
++ if (!value->is_array()) {
++ RunErrorCallback("Integrity block is not a CBOR array.");
++ return;
++ }
+
+- const auto parse_res = parse_integrity_block(*data);
+- if (!parse_res.has_value()) {
+- const auto& error = parse_res.error();
+- RunErrorCallback(std::string(error.message.as_str()),
+- error.is_version_error
+- ? mojom::BundleParseErrorType::kVersionError
+- : mojom::BundleParseErrorType::kFormatError);
++ const cbor::Value::ArrayValue& top_array = value->GetArray();
++ if (top_array.size() != kIntegrityBlockV2TopLevelArrayLength) {
++ RunErrorCallback(base::StringPrintf(
++ "Invalid integrity block array length: expected %u, got %zu.",
++ kIntegrityBlockV2TopLevelArrayLength, top_array.size()));
+ return;
+ }
+
+- const auto& parsed_ib = *parse_res;
+- auto integrity_block = mojom::BundleIntegrityBlock::New();
+- integrity_block->size = parsed_ib.size;
+-
+- const std::string_view web_bundle_id_str =
+- parsed_ib.web_bundle_id.to_string_view();
+- RETURN_IF_ERROR(
+- SignedWebBundleId::Create(web_bundle_id_str),
+- [&](std::string error) { RunErrorCallback(std::move(error)); });
+-
+- integrity_block->attributes =
+- IntegrityBlockAttributes(std::string(web_bundle_id_str),
+- BinaryData(parsed_ib.attributes_cbor.begin(),
+- parsed_ib.attributes_cbor.end()));
++ // 1. Magic bytes
++ if (!top_array[0].is_bytestring() ||
++ !std::ranges::equal(top_array[0].GetBytestring(),
++ kIntegrityBlockMagicBytes)) {
++ RunErrorCallback("Unexpected magic bytes.");
++ return;
++ }
++
++ // 2. Version
++ if (!top_array[1].is_bytestring() ||
++ !std::ranges::equal(top_array[1].GetBytestring(),
++ kIntegrityBlockV2VersionBytes)) {
++ RunErrorCallback("Unexpected version bytes.",
++ mojom::BundleParseErrorType::kVersionError);
++ return;
++ }
+
+- for (const auto& entry : parsed_ib.signature_stack) {
++ // 3. Attributes
++ if (!top_array[2].is_map()) {
++ RunErrorCallback("Integrity block attributes must be a map.");
++ return;
++ }
++ const cbor::Value::MapValue& attributes_map = top_array[2].GetMap();
++ const cbor::Value* web_bundle_id =
++ base::FindOrNull(attributes_map, cbor::Value(kWebBundleIdAttributeName));
++ if (!web_bundle_id || !web_bundle_id->is_string()) {
++ RunErrorCallback(
++ "`webBundleId` integrity block attribute is missing or malformed.");
++ return;
++ }
++
++ // Check if web_bundle_id is correct
++ RETURN_IF_ERROR(SignedWebBundleId::Create(web_bundle_id->GetString()),
++ [&](const std::string& error) { RunErrorCallback(error); });
++
++ BinaryData attributes_cbor = *cbor::Writer::Write(top_array[2]);
++ integrity_block->attributes = IntegrityBlockAttributes(
++ web_bundle_id->GetString(), std::move(attributes_cbor));
++
++ // 4. Signature Stack
++ if (!top_array[3].is_array()) {
++ RunErrorCallback("Signature stack must be an array.");
++ return;
++ }
++ const cbor::Value::ArrayValue& signatures = top_array[3].GetArray();
++ if (signatures.empty()) {
++ RunErrorCallback(
++ "The signature stack must contain at least one signature.");
++ return;
++ }
++
++ for (const auto& signature_info_raw : signatures) {
+ ASSIGN_OR_RETURN(
+- auto parsed_sig, CreateSignatureStackEntry(entry),
+- [&](std::string error) { RunErrorCallback(std::move(error)); });
+- integrity_block->signature_stack.push_back(std::move(parsed_sig));
++ auto parsed_signature_info, ParseSignatureInfo(signature_info_raw),
++ [&](const std::string& error) { this->RunErrorCallback(error); });
++
++ if (integrity_block->signature_stack.empty() &&
++ parsed_signature_info->signature_info->is_unknown()) {
++ RunErrorCallback("Unknown cipher type of the first signature.");
++ return;
++ }
++ integrity_block->signature_stack.push_back(
++ std::move(parsed_signature_info));
+ }
+
+ std::move(complete_callback_)
+@@ -141,13 +164,74 @@ void IntegrityBlockParser::OnIntegrityBl
+ std::move(integrity_block), nullptr));
+ }
+
++base::expected<mojom::BundleIntegrityBlockSignatureStackEntryPtr, std::string>
++IntegrityBlockParser::ParseSignatureInfo(
++ const cbor::Value& signature_info_raw) {
++ if (!signature_info_raw.is_array() ||
++ signature_info_raw.GetArray().size() != 2) {
++ return base::unexpected(
++ "Each signature stack entry must contain exactly two elements.");
++ }
++
++ const cbor::Value::ArrayValue& signature_info_array =
++ signature_info_raw.GetArray();
++ if (!signature_info_array[0].is_map() ||
++ !signature_info_array[1].is_bytestring()) {
++ return base::unexpected("Malformed signature stack entry.");
++ }
++
++ mojom::BundleIntegrityBlockSignatureStackEntryPtr parsed_signature_info =
++ mojom::BundleIntegrityBlockSignatureStackEntry::New();
++ parsed_signature_info->attributes_cbor =
++ *cbor::Writer::Write(signature_info_array[0]);
++
++ const cbor::Value::MapValue& signature_attributes =
++ signature_info_array[0].GetMap();
++ const BinaryData& signature_bytes = signature_info_array[1].GetBytestring();
++
++ const cbor::Value* ed25519_key = base::FindOrNull(
++ signature_attributes, cbor::Value(kEd25519PublicKeyAttributeName));
++ const cbor::Value* ecdsa_key = base::FindOrNull(
++ signature_attributes, cbor::Value(kEcdsaP256PublicKeyAttributeName));
++
++ if (ed25519_key && ecdsa_key) {
++ return base::unexpected("Multiple key types for one signature.");
++ } else if (ed25519_key && !ed25519_key->is_bytestring()) {
++ return base::unexpected("Invalid ED25519 key.");
++ } else if (ecdsa_key && !ecdsa_key->is_bytestring()) {
++ return base::unexpected("Invalid ECDSA key.");
++
++ } else if (ed25519_key && ed25519_key->is_bytestring()) {
++ ASSIGN_OR_RETURN(auto public_key,
++ Ed25519PublicKey::Create(ed25519_key->GetBytestring()));
++ ASSIGN_OR_RETURN(auto signature, Ed25519Signature::Create(signature_bytes));
++ parsed_signature_info->signature_info = mojom::SignatureInfo::NewEd25519(
++ mojom::SignatureInfoEd25519::New(public_key, signature));
++
++ } else if (ecdsa_key && ecdsa_key->is_bytestring()) {
++ ASSIGN_OR_RETURN(auto public_key,
++ EcdsaP256PublicKey::Create(ecdsa_key->GetBytestring()));
++ ASSIGN_OR_RETURN(auto signature,
++ EcdsaP256SHA256Signature::Create(signature_bytes));
++ parsed_signature_info->signature_info =
++ mojom::SignatureInfo::NewEcdsaP256Sha256(
++ mojom::SignatureInfoEcdsaP256SHA256::New(public_key, signature));
++
++ } else {
++ parsed_signature_info->signature_info =
++ mojom::SignatureInfo::NewUnknown(mojom::SignatureInfoUnknown::New());
++ }
++
++ return parsed_signature_info;
++}
++
+ void IntegrityBlockParser::RunErrorCallback(
+- std::string message,
++ const std::string& message,
+ mojom::BundleParseErrorType error_type) {
+ std::move(complete_callback_)
+- .Run(base::BindOnce(std::move(result_callback_), nullptr,
+- mojom::BundleIntegrityBlockParseError::New(
+- error_type, std::move(message))));
++ .Run(base::BindOnce(
++ std::move(result_callback_), nullptr,
++ mojom::BundleIntegrityBlockParseError::New(error_type, message)));
+ }
+
+ } // namespace web_package
+--- a/components/web_package/signed_web_bundles/integrity_block_parser.h
++++ b/components/web_package/signed_web_bundles/integrity_block_parser.h
+@@ -5,13 +5,8 @@
+ #ifndef COMPONENTS_WEB_PACKAGE_SIGNED_WEB_BUNDLES_INTEGRITY_BLOCK_PARSER_H_
+ #define COMPONENTS_WEB_PACKAGE_SIGNED_WEB_BUNDLES_INTEGRITY_BLOCK_PARSER_H_
+
+-#include <optional>
+-#include <string>
+-
+-#include "base/compiler_specific.h"
+-#include "base/memory/raw_ref.h"
+-#include "base/memory/weak_ptr.h"
+ #include "components/web_package/mojom/web_bundle_parser.mojom-forward.h"
++#include "components/web_package/signed_web_bundles/integrity_block_attributes.h"
+ #include "components/web_package/signed_web_bundles/types.h"
+ #include "components/web_package/web_bundle_parser.h"
+
+@@ -20,7 +15,7 @@ namespace web_package {
+ class IntegrityBlockParser : public WebBundleParser::WebBundleSectionParser {
+ public:
+ explicit IntegrityBlockParser(
+- mojom::BundleDataSource& data_source LIFETIME_BOUND,
++ mojom::BundleDataSource& data_source,
+ WebBundleParser::ParseIntegrityBlockCallback callback);
+
+ IntegrityBlockParser(const IntegrityBlockParser&) = delete;
+@@ -35,7 +30,10 @@ class IntegrityBlockParser : public WebB
+ private:
+ void OnIntegrityBlockRead(const std::optional<BinaryData>& data);
+
+- void RunErrorCallback(std::string message,
++ base::expected<mojom::BundleIntegrityBlockSignatureStackEntryPtr, std::string>
++ ParseSignatureInfo(const cbor::Value& attributes_map);
++
++ void RunErrorCallback(const std::string& message,
+ mojom::BundleParseErrorType error_type =
+ mojom::BundleParseErrorType::kFormatError);
+
+--- a/components/web_package/signed_web_bundles/rust/BUILD.gn
++++ b/components/web_package/signed_web_bundles/rust/BUILD.gn
+@@ -10,7 +10,6 @@ rust_static_library("signed_web_bundles_
+ sources = [
+ "constants.rs",
+ "integrity_block.rs",
+- "signature_verifier.rs",
+ "types.rs",
+ crate_root,
+ ]
+--- a/components/web_package/signed_web_bundles/signed_web_bundle_signature_verifier.cc
++++ b/components/web_package/signed_web_bundles/signed_web_bundle_signature_verifier.cc
+@@ -20,14 +20,17 @@
+ #include "base/task/thread_pool.h"
+ #include "base/types/expected.h"
+ #include "base/types/expected_macros.h"
++#include "components/cbor/values.h"
++#include "components/cbor/writer.h"
++#include "components/web_package/signed_web_bundles/constants.h"
+ #include "components/web_package/signed_web_bundles/identity_validator.h"
+ #include "components/web_package/signed_web_bundles/integrity_block_parser.h"
+-#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_id.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_integrity_block.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_signature_stack.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_signature_stack_entry.h"
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_utils.h"
++#include "crypto/hash.h"
+ #include "third_party/abseil-cpp/absl/functional/overload.h"
+ #include "third_party/boringssl/src/include/openssl/sha.h"
+
+@@ -37,10 +40,32 @@ namespace {
+
+ std::vector<uint8_t> CreateIntegrityBlockCbor(
+ const SignedWebBundleIntegrityBlock& integrity_block) {
+- auto ib_cbor_rust =
+- signed_web_bundles::rust::create_empty_integrity_block_cbor(
+- integrity_block.attributes_cbor());
+- return std::vector<uint8_t>(ib_cbor_rust.begin(), ib_cbor_rust.end());
++ // This function looks like it should use a cbor::Value::ArrayValue to build
++ // the outer array, but it can't: one of the elements is a pre-encoded CBOR
++ // value which we can't safely decode because it's untrusted input. This is
++ // obviously undesirable, because there's no guarantee at all that the
++ // pre-encoded value is actually valid CBOR.
++ //
++ // TODO(https://crbug.com/454485901): once there's a memory-safe CBOR parser,
++ // re-parse the pre-encoded value, then re-encode it here instead of
++ // constructing a CBOR array by hand so that we're guaranteed that the result
++ // of this function is valid.
++ std::vector<uint8_t> ib_cbor;
++
++ // 0x84 is the encoding byte for an array of length 4.
++ ib_cbor.push_back(0x84);
++ base::Extend(ib_cbor,
++ *cbor::Writer::Write(cbor::Value(kIntegrityBlockMagicBytes)));
++ base::Extend(ib_cbor, *cbor::Writer::Write(
++ cbor::Value(kIntegrityBlockV2VersionBytes)));
++ // We cannot parse `attributes().cbor()` back to a cbor::Value as they
++ // technically represent untrusted input.
++ base::Extend(ib_cbor, integrity_block.attributes_cbor());
++ // Encode an empty signature array.
++ base::Extend(ib_cbor,
++ *cbor::Writer::Write(cbor::Value(cbor::Value::ArrayValue())));
++
++ return ib_cbor;
+ }
+
+ base::expected<void, SignedWebBundleSignatureVerifier::Error>
+@@ -104,7 +129,7 @@ SignedWebBundleSignatureVerifier::Calcul
+ return base::unexpected(base::File::ErrorToString(file.GetLastFileError()));
+ }
+
+- signed_web_bundles::rust::Sha512Hasher hasher;
++ crypto::hash::Hasher hash(crypto::hash::kSha512);
+
+ // Calculate the hash of the Signed Web Bundle excluding its integrity block.
+ // The file might be too big to read it into memory all at once, which is why
+@@ -121,14 +146,15 @@ SignedWebBundleSignatureVerifier::Calcul
+ base::File::ErrorToString(file.GetLastFileError()));
+ }
+ data.resize(*bytes_read);
+- hasher.update(data);
++ hash.Update(data);
+
+ if (!base::CheckAdd(offset, *bytes_read).AssignIfValid(&offset)) {
+ return base::unexpected("The Signed Web Bundle is too large.");
+ }
+ }
+
+- SHA512Digest digest = std::move(hasher).finish();
++ SHA512Digest digest;
++ hash.Finish(digest);
+ return digest;
+ }
+
+--- a/components/web_package/signed_web_bundles/signed_web_bundle_utils.cc
++++ b/components/web_package/signed_web_bundles/signed_web_bundle_utils.cc
+@@ -5,18 +5,37 @@
+ #include "components/web_package/signed_web_bundles/signed_web_bundle_utils.h"
+
+ #include <cstdint>
+-#include <vector>
+
+-#include "components/web_package/signed_web_bundles/rust/signed_web_bundles_rust.h"
++#include "base/containers/extend.h"
++#include "base/containers/span.h"
++#include "base/containers/span_writer.h"
+
+ namespace web_package {
+
++namespace {
++
++void AddItemToPayload(std::vector<uint8_t>& payload,
++ base::span<const uint8_t> item) {
++ // Each item that is part of the payload is prefixed with its length encoded
++ // as a 64 bit unsigned integer.
++ std::array<uint8_t, sizeof(uint64_t)> length;
++ auto writer = base::SpanWriter(base::span(length));
++ CHECK(writer.WriteU64BigEndian(item.size()));
++
++ base::Extend(payload, base::span(length));
++ base::Extend(payload, item);
++}
++
++} // namespace
++
+ std::vector<uint8_t> CreateSignaturePayload(
+ const SignedWebBundleSignatureData& data) {
+- auto payload_rust = signed_web_bundles::rust::create_signature_payload(
+- data.unsigned_web_bundle_hash, data.integrity_block_cbor,
+- data.attributes_cbor);
+- return std::vector<uint8_t>(payload_rust.begin(), payload_rust.end());
++ std::vector<uint8_t> payload;
++ AddItemToPayload(payload, data.unsigned_web_bundle_hash);
++ AddItemToPayload(payload, data.integrity_block_cbor);
++ AddItemToPayload(payload, data.attributes_cbor);
++
++ return payload;
+ }
+
+ } // namespace web_package
+--- a/third_party/blink/renderer/platform/BUILD.gn
++++ b/third_party/blink/renderer/platform/BUILD.gn
+@@ -186,6 +186,18 @@ group("make_platform_generated") {
+ ]
+ }
+
++rust_static_library("font_format_check") {
++ allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
++ crate_root = "fonts/opentype/format_check.rs"
++ sources = [ crate_root ]
++ cxx_bindings = [ crate_root ]
++ deps = [
++ "//third_party/rust/font_types/v0_12:lib",
++ "//third_party/rust/read_fonts/v0_43:lib",
++ "//third_party/rust/skrifa/v0_46:lib",
++ ]
++}
++
rust_static_library("rustfft_ffi") {
allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
crate_root = "audio/rustfft_ffi.rs"
-@@ -1806,6 +1794,7 @@ component("platform") {
+@@ -1792,7 +1804,6 @@ component("platform") {
":allow_discouraged_type",
":blink_platform_public_deps",
":platform_export",
-+ "//build/rust/crubit",
+- "//build/rust/crubit",
"//gpu/command_buffer/client:raster_interface",
"//media/capture:capture_lib",
"//mojo/public/cpp/base",
-@@ -1832,8 +1821,8 @@ component("platform") {
+@@ -1819,8 +1830,8 @@ component("platform") {
"//ui/native_theme/features",
]
deps = [
-- ":font_format_check",
++ ":font_format_check",
":rustfft_ffi",
-+ "fonts:font_format_bindings",
+- "fonts:font_format_bindings",
"//base:base_static",
"//base/allocator:buildflags",
"//build:chromecast_buildflags",
-diff --git a/third_party/blink/renderer/platform/fonts/BUILD.gn b/third_party/blink/renderer/platform/fonts/BUILD.gn
-new file mode 100644
-index 0000000000000..51b9b03ba7c85
---- /dev/null
-+++ b/third_party/blink/renderer/platform/fonts/BUILD.gn
-@@ -0,0 +1,19 @@
-+# Copyright 2026 The Chromium Authors
-+# Use of this source code is governed by a BSD-style license that can be
-+# found in the LICENSE file.
-+
-+import("//build/rust/rust_static_library.gni")
-+
-+rust_static_library("font_format") {
-+ crate_root = "opentype/format_check.rs"
-+ sources = [ crate_root ]
-+ cpp_api_from_rust = {
-+ target_name = "font_format_bindings"
-+ cpp_namespace = "font_format"
-+ }
-+ deps = [
-+ "//third_party/rust/font_types/v0_12:lib",
-+ "//third_party/rust/read_fonts/v0_43:lib",
-+ "//third_party/rust/skrifa/v0_46:lib",
-+ ]
-+}
-diff --git a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
-index b9d2639822bc0..f58e9433d39f4 100644
+--- a/third_party/blink/renderer/platform/fonts/BUILD.gn
++++ /dev/null
+@@ -1,19 +0,0 @@
+-# Copyright 2026 The Chromium Authors
+-# Use of this source code is governed by a BSD-style license that can be
+-# found in the LICENSE file.
+-
+-import("//build/rust/rust_static_library.gni")
+-
+-rust_static_library("font_format") {
+- crate_root = "opentype/format_check.rs"
+- sources = [ crate_root ]
+- cpp_api_from_rust = {
+- target_name = "font_format_bindings"
+- cpp_namespace = "font_format"
+- }
+- deps = [
+- "//third_party/rust/font_types/v0_12:lib",
+- "//third_party/rust/read_fonts/v0_43:lib",
+- "//third_party/rust/skrifa/v0_46:lib",
+- ]
+-}
--- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
+++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
-@@ -7,7 +7,6 @@
+@@ -7,6 +7,7 @@
#include "base/containers/span.h"
#include "base/containers/span_rust.h"
#include "base/numerics/byte_conversions.h"
--#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
++#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
#include "third_party/skia/include/core/SkTypeface.h"
-@@ -15,35 +14,37 @@
+@@ -14,37 +15,35 @@
namespace blink {
FontFormatCheck::FontFormatCheck(sk_sp<SkData> sk_data)
-- : format_info_(font_format_check::get_font_format_info(
-+ : format_info_(font_format::get_font_format_info(
+- : format_info_(font_format::get_font_format_info(
++ : format_info_(font_format_check::get_font_format_info(
base::SpanToRustSlice(sk_data->byteSpan()))) {}
-+FontFormatCheck::~FontFormatCheck() = default;
-+
+-FontFormatCheck::~FontFormatCheck() = default;
+-
bool FontFormatCheck::IsVariableFont() const {
-- return font_format_check::is_variable(*format_info_);
-+ return font_format::is_variable(format_info_);
+- return font_format::is_variable(format_info_);
++ return font_format_check::is_variable(*format_info_);
}
bool FontFormatCheck::IsCbdtCblcColorFont() const {
-- return font_format_check::is_cbdt_cblc(*format_info_);
-+ return font_format::is_cbdt_cblc(format_info_);
+- return font_format::is_cbdt_cblc(format_info_);
++ return font_format_check::is_cbdt_cblc(*format_info_);
}
bool FontFormatCheck::IsEbdtEblcMonochromeFont() const {
-- return font_format_check::is_ebdt_eblc(*format_info_);
-+ return font_format::is_ebdt_eblc(format_info_);
+- return font_format::is_ebdt_eblc(format_info_);
++ return font_format_check::is_ebdt_eblc(*format_info_);
}
bool FontFormatCheck::IsColrCpalColorFontV0() const {
-- return font_format_check::is_colrv0(*format_info_);
-+ return font_format::is_colrv0(format_info_);
+- return font_format::is_colrv0(format_info_);
++ return font_format_check::is_colrv0(*format_info_);
}
bool FontFormatCheck::IsColrCpalColorFontV1() const {
-- return font_format_check::is_colrv1(*format_info_);
-+ return font_format::is_colrv1(format_info_);
+- return font_format::is_colrv1(format_info_);
++ return font_format_check::is_colrv1(*format_info_);
}
bool FontFormatCheck::IsSbixColorFont() const {
-- return font_format_check::is_sbix(*format_info_);
-+ return font_format::is_sbix(format_info_);
+- return font_format::is_sbix(format_info_);
++ return font_format_check::is_sbix(*format_info_);
}
bool FontFormatCheck::IsCff2OutlineFont() const {
-- return font_format_check::is_cff2(*format_info_);
-+ return font_format::is_cff2(format_info_);
+- return font_format::is_cff2(format_info_);
++ return font_format_check::is_cff2(*format_info_);
}
bool FontFormatCheck::IsVariableColrV0Font() const {
-@@ -57,7 +58,7 @@ bool FontFormatCheck::IsColorFont() const {
+@@ -58,7 +57,7 @@ bool FontFormatCheck::IsColorFont() cons
bool FontFormatCheck::IsAvar2Font() const {
return RuntimeEnabledFeatures::FontFormatAvar2Enabled() &&
-- font_format_check::is_avar2(*format_info_);
-+ font_format::is_avar2(format_info_);
+- font_format::is_avar2(format_info_);
++ font_format_check::is_avar2(*format_info_);
}
FontFormatCheck::VariableFontSubType FontFormatCheck::ProbeVariableFont(
-diff --git a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
-index 19d2639233b07..af50dbdf74d00 100644
--- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
+++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
@@ -5,7 +5,7 @@
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_OPENTYPE_FONT_FORMAT_CHECK_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_OPENTYPE_FONT_FORMAT_CHECK_H_
--#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
-+#include "third_party/blink/renderer/platform/fonts/font_format.h"
+-#include "third_party/blink/renderer/platform/fonts/font_format.h"
++#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
#include "third_party/blink/renderer/platform/platform_export.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
#include "third_party/skia/include/core/SkData.h"
@@ -171,8 +713,8 @@ index 19d2639233b07..af50dbdf74d00 100644
public:
explicit FontFormatCheck(sk_sp<SkData>);
-- virtual ~FontFormatCheck() = default;
-+ virtual ~FontFormatCheck();
+- virtual ~FontFormatCheck();
++ virtual ~FontFormatCheck() = default;
virtual bool IsVariableFont() const;
virtual bool IsCbdtCblcColorFont() const;
virtual bool IsEbdtEblcMonochromeFont() const;
@@ -180,103 +722,101 @@ index 19d2639233b07..af50dbdf74d00 100644
enum class COLRVersion { kCOLRV0, kCOLRV1, kNoCOLR };
private:
-- rust::Box<font_format_check::FontFormatInfo> format_info_;
-+ font_format::FontFormatInfo format_info_;
+- font_format::FontFormatInfo format_info_;
++ rust::Box<font_format_check::FontFormatInfo> format_info_;
};
} // namespace blink
-diff --git a/third_party/blink/renderer/platform/fonts/opentype/format_check.rs b/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
-index eda8e6b2b8188..b99f0ec8655e6 100644
--- a/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
+++ b/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
@@ -23,7 +23,7 @@ pub struct FontFormatInfo {
format_flags: Option<FontFormatFlags>,
}
--pub fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo> {
-+pub fn get_font_format_info(font_bytes: &[u8]) -> FontFormatInfo {
+-pub fn get_font_format_info(font_bytes: &[u8]) -> FontFormatInfo {
++pub fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo> {
let file_ref = make_font_ref_internal(font_bytes, 0);
match file_ref {
-@@ -32,11 +32,11 @@ pub fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo> {
+@@ -32,11 +32,11 @@ pub fn get_font_format_info(font_bytes:
font.table_directory().table_records().iter().map(|e| e.tag()).collect();
let color_version = get_colr_version(&font);
let avar_version = get_avar_version(&font);
-- Box::new(FontFormatInfo {
-+ FontFormatInfo {
+- FontFormatInfo {
++ Box::new(FontFormatInfo {
format_flags: Some(FontFormatFlags { table_tags, color_version, avar_version }),
-- })
-+ }
+- }
++ })
}
-- _ => Box::new(FontFormatInfo::default()),
-+ _ => FontFormatInfo::default(),
+- _ => FontFormatInfo::default(),
++ _ => Box::new(FontFormatInfo::default()),
}
}
-@@ -44,10 +44,10 @@ fn get_colr_version(font_ref: &FontRef) -> Option<u16> {
+@@ -44,10 +44,10 @@ fn get_colr_version(font_ref: &FontRef)
Some(font_ref.colr().ok()?.version())
}
--fn is_colrv1(format_info: &FontFormatInfo) -> bool {
-+pub fn is_colrv1(format_info: &FontFormatInfo) -> bool {
+-pub fn is_colrv1(format_info: &FontFormatInfo) -> bool {
++fn is_colrv1(format_info: &FontFormatInfo) -> bool {
matches!(&format_info.format_flags, Some(FontFormatFlags { color_version: Some(1), .. }),)
}
--fn is_colrv0(format_info: &FontFormatInfo) -> bool {
-+pub fn is_colrv0(format_info: &FontFormatInfo) -> bool {
+-pub fn is_colrv0(format_info: &FontFormatInfo) -> bool {
++fn is_colrv0(format_info: &FontFormatInfo) -> bool {
matches!(&format_info.format_flags, Some(FontFormatFlags { color_version: Some(0), .. }),)
}
-@@ -56,7 +56,7 @@ fn get_avar_version(font_ref: &FontRef) -> Option<(u16, u16)> {
+@@ -56,7 +56,7 @@ fn get_avar_version(font_ref: &FontRef)
Some((version.major, version.minor))
}
--fn is_avar2(format_info: &FontFormatInfo) -> bool {
-+pub fn is_avar2(format_info: &FontFormatInfo) -> bool {
+-pub fn is_avar2(format_info: &FontFormatInfo) -> bool {
++fn is_avar2(format_info: &FontFormatInfo) -> bool {
matches!(&format_info.format_flags, Some(FontFormatFlags { avar_version: Some((2, _)), .. }),)
}
-@@ -69,39 +69,22 @@ fn has_tags(format_info: &FontFormatInfo, query: &[Tag]) -> bool {
+@@ -69,22 +69,39 @@ fn has_tags(format_info: &FontFormatInfo
}
}
--fn is_variable(format_info: &FontFormatInfo) -> bool {
-+pub fn is_variable(format_info: &FontFormatInfo) -> bool {
+-pub fn is_variable(format_info: &FontFormatInfo) -> bool {
++fn is_variable(format_info: &FontFormatInfo) -> bool {
has_tags(format_info, &[Tag::new(b"fvar")])
}
--fn is_sbix(format_info: &FontFormatInfo) -> bool {
-+pub fn is_sbix(format_info: &FontFormatInfo) -> bool {
+-pub fn is_sbix(format_info: &FontFormatInfo) -> bool {
++fn is_sbix(format_info: &FontFormatInfo) -> bool {
has_tags(format_info, &[Tag::new(b"sbix")])
}
--fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
-+pub fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
+-pub fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
++fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
has_tags(format_info, &[Tag::new(b"CBDT"), Tag::new(b"CBLC")])
}
--fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
-+pub fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
+-pub fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
++fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
has_tags(format_info, &[Tag::new(b"EBDT"), Tag::new(b"EBLC")])
}
--fn is_cff2(format_info: &FontFormatInfo) -> bool {
-+pub fn is_cff2(format_info: &FontFormatInfo) -> bool {
+-pub fn is_cff2(format_info: &FontFormatInfo) -> bool {
++fn is_cff2(format_info: &FontFormatInfo) -> bool {
has_tags(format_info, &[Tag::new(b"CFF2")])
}
--
--#[cxx::bridge(namespace = "font_format_check")]
--pub mod ffi {
-- extern "Rust" {
-- type FontFormatInfo;
--
-- fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo>;
-- fn is_colrv1(format_info: &FontFormatInfo) -> bool;
-- fn is_colrv0(format_info: &FontFormatInfo) -> bool;
-- fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool;
-- fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool;
-- fn is_variable(format_info: &FontFormatInfo) -> bool;
-- fn is_sbix(format_info: &FontFormatInfo) -> bool;
-- fn is_cff2(format_info: &FontFormatInfo) -> bool;
-- fn is_avar2(format_info: &FontFormatInfo) -> bool;
-- }
--}
++
++#[cxx::bridge(namespace = "font_format_check")]
++pub mod ffi {
++ extern "Rust" {
++ type FontFormatInfo;
++
++ fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo>;
++ fn is_colrv1(format_info: &FontFormatInfo) -> bool;
++ fn is_colrv0(format_info: &FontFormatInfo) -> bool;
++ fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool;
++ fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool;
++ fn is_variable(format_info: &FontFormatInfo) -> bool;
++ fn is_sbix(format_info: &FontFormatInfo) -> bool;
++ fn is_cff2(format_info: &FontFormatInfo) -> bool;
++ fn is_avar2(format_info: &FontFormatInfo) -> bool;
++ }
++}
diff --git a/chromium-154-ftbfs-private-verification-tokens.patch b/chromium-154-ftbfs-private-verification-tokens.patch
new file mode 100644
index 0000000..90bfd61
--- /dev/null
+++ b/chromium-154-ftbfs-private-verification-tokens.patch
@@ -0,0 +1,297 @@
+ungoogled chromium patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3966
+
+--- a/chrome/browser/BUILD.gn
++++ b/chrome/browser/BUILD.gn
+@@ -1022,7 +1022,6 @@ source_set("core") {
+ "//chrome/browser/preloading/search_preload:feature",
+ "//chrome/browser/privacy_sandbox:headers",
+ "//chrome/browser/private_ai",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/profiles:misc",
+ "//chrome/browser/profiles:profile_io_data",
+ "//chrome/browser/profiles:profiles_extra_parts",
+@@ -2215,7 +2214,6 @@ source_set("browser") {
+ "//chrome/browser/preloading/search_preload",
+ "//chrome/browser/privacy",
+ "//chrome/browser/privacy_sandbox:impl",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/profiles:misc",
+ "//chrome/browser/profiles:profile_util_impl",
+ "//chrome/browser/profiles:profiles_extra_parts_impl",
+--- a/chrome/browser/browsing_data/BUILD.gn
++++ b/chrome/browser/browsing_data/BUILD.gn
+@@ -125,7 +125,6 @@ source_set("impl") {
+ "//chrome/browser/preloading/prefetch/no_state_prefetch",
+ "//chrome/browser/preloading/prefetch/search_prefetch",
+ "//chrome/browser/privacy_sandbox:headers",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/profiles/keep_alive",
+ "//chrome/browser/reading_list",
+ "//chrome/browser/safe_browsing",
+@@ -267,7 +266,6 @@ source_set("unit_tests") {
+ "//chrome/browser/payments/browser_binding:browser_bound_key_deleter",
+ "//chrome/browser/payments/browser_binding:test_support",
+ "//chrome/browser/permissions",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/reading_list",
+ "//chrome/browser/safe_browsing:verdict_cache_manager_factory",
+ "//chrome/browser/segmentation_platform",
+@@ -295,7 +293,6 @@ source_set("unit_tests") {
+ "//components/privacy_sandbox:privacy_sandbox_settings_headers",
+ "//components/privacy_sandbox/privacy_sandbox_attestations",
+ "//components/privacy_sandbox/privacy_sandbox_attestations:test_support",
+- "//components/private_verification_tokens/common:private_verification_tokens_database",
+ "//components/reading_list/core:test_support",
+ "//components/safe_browsing/core/browser:verdict_cache_manager",
+ "//components/site_engagement/content",
+--- a/chrome/browser/browsing_data/chrome_browsing_data_model_delegate.cc
++++ b/chrome/browser/browsing_data/chrome_browsing_data_model_delegate.cc
+@@ -127,15 +127,6 @@ void ChromeBrowsingDataModelDelegate::Ge
+
+ GetAllMediaDeviceSaltDataKeys(concurrent.CreateCallback(), {});
+
+- if (base::FeatureList::IsEnabled(
+- net::features::kEnablePrivateVerificationTokens)) {
+- if (auto* pvt_service =
+- PrivateVerificationTokensServiceFactory::GetForProfile(profile_)) {
+- pvt_service->GetTokenIssuers(
+- base::BindOnce(&PrivateVerificationTokenBrowsingDataToDelegateEntries)
+- .Then(concurrent.CreateCallback()));
+- }
+- }
+
+ // TODO(crbug.com/40205603): Implement data retrieval for remaining data
+ // types.
+@@ -180,20 +171,6 @@ void ChromeBrowsingDataModelDelegate::Re
+ }
+ #endif // !BUILDFLAG(IS_ANDROID)
+
+- if (base::FeatureList::IsEnabled(
+- net::features::kEnablePrivateVerificationTokens) &&
+- storage_types.Has(static_cast<BrowsingDataModel::StorageType>(
+- StorageType::kPrivateVerificationTokens))) {
+- if (const url::Origin* origin = std::get_if<url::Origin>(&data_key)) {
+- if (auto* pvt_service =
+- PrivateVerificationTokensServiceFactory::GetForProfile(
+- profile_)) {
+- pvt_service->DeleteTokens(base::Time(), base::Time::Max(),
+- concurrent.CreateClosure(),
+- std::vector<url::Origin>{*origin});
+- }
+- }
+- }
+
+ std::move(concurrent).Done(std::move(callback));
+ }
+--- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
++++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
+@@ -720,29 +720,6 @@ void ChromeBrowsingDataRemoverDelegate::
+ #endif // BUILDFLAG(IS_CHROMEOS)
+ }
+
+- //////////////////////////////////////////////////////////////////////////////
+- // DATA_TYPE_PRIVATE_VERIFICATION_TOKENS
+- if (remove_mask & constants::DATA_TYPE_PRIVATE_VERIFICATION_TOKENS) {
+- if (base::FeatureList::IsEnabled(
+- net::features::kEnablePrivateVerificationTokens)) {
+- if (auto* pvt_service =
+- PrivateVerificationTokensServiceFactory::GetForProfile(
+- profile_)) {
+- auto done_closure = CreateTaskCompletionClosure(
+- TracingDataType::kPrivateVerificationTokens);
+-
+- if (filter_builder->MatchesAllOriginsAndDomains()) {
+- pvt_service->DeleteTokens(delete_begin_, delete_end_,
+- std::move(done_closure),
+- /*issuers=*/std::nullopt);
+- } else {
+- pvt_service->DeleteTokensByFilter(
+- delete_begin_, delete_end_,
+- filter_builder->BuildStorageKeyFilter(), std::move(done_closure));
+- }
+- }
+- }
+- }
+
+ //////////////////////////////////////////////////////////////////////////////
+ // DATA_TYPE_CONTENT_SETTINGS
+--- a/chrome/browser/chrome_content_browser_client.cc
++++ b/chrome/browser/chrome_content_browser_client.cc
+@@ -6009,21 +6009,6 @@ ChromeContentBrowserClient::CreateURLLoa
+ result.push_back(std::move(signin_throttle));
+ }
+
+- if (base::FeatureList::IsEnabled(
+- net::features::kEnablePrivateVerificationTokens) &&
+- request.is_outermost_main_frame) {
+- if (auto* pvt_service =
+- PrivateVerificationTokensServiceFactory::GetForProfile(profile)) {
+- auto url_loader_factory = profile->GetDefaultStoragePartition()
+- ->GetURLLoaderFactoryForBrowserProcess();
+- if (auto pvt_throttle =
+- PrivateVerificationTokensURLLoaderThrottle::Create(
+- pvt_service, profile->IsOffTheRecord(),
+- std::move(url_loader_factory))) {
+- result.push_back(std::move(pvt_throttle));
+- }
+- }
+- }
+
+ if (auto contextual_tasks_throttle =
+ contextual_tasks::ContextualTasksURLLoaderThrottle::MaybeCreate(
+--- a/chrome/browser/component_updater/BUILD.gn
++++ b/chrome/browser/component_updater/BUILD.gn
+@@ -147,7 +147,6 @@ source_set("impl") {
+ "//chrome/browser/net",
+ "//chrome/browser/page_load_metrics",
+ "//chrome/browser/permissions",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/profiles:profile",
+ "//chrome/browser/update_client",
+ "//chrome/common",
+@@ -163,7 +162,6 @@ source_set("impl") {
+ "//components/permissions",
+ "//components/privacy_sandbox:features",
+ "//components/privacy_sandbox/privacy_sandbox_attestations",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+ "//components/safe_browsing/core/common:features",
+ "//components/search",
+ "//components/security_interstitials/content:security_interstitial_page",
+--- a/chrome/browser/component_updater/private_verification_tokens_installer.cc
++++ b/chrome/browser/component_updater/private_verification_tokens_installer.cc
+@@ -25,32 +25,6 @@ namespace component_updater {
+
+ void RegisterPrivateVerificationTokensComponentIfEnabled(
+ ComponentUpdateService* cus) {
+- if (!base::FeatureList::IsEnabled(
+- net::features::kEnablePrivateVerificationTokens)) {
+- return;
+- }
+-
+- auto installer = base::MakeRefCounted<ComponentInstaller>(
+- std::make_unique<PrivateVerificationTokensInstallerPolicy>(
+- base::BindRepeating(
+- [](scoped_refptr<private_verification_tokens::
+- PrivateVerificationTokensIssuerConfig>
+- issuer_config) {
+- PrivateVerificationTokensServiceFactory::SetGlobalIssuerConfig(
+- issuer_config);
+- if (g_browser_process && g_browser_process->profile_manager()) {
+- for (Profile* profile : g_browser_process->profile_manager()
+- ->GetLoadedProfiles()) {
+- if (PrivateVerificationTokensService* service =
+- PrivateVerificationTokensServiceFactory::
+- GetForProfileIfExists(profile)) {
+- service->SetIssuerConfig(issuer_config);
+- }
+- }
+- }
+- })));
+-
+- installer->Register(cus, base::OnceClosure());
+ }
+
+ } // namespace component_updater
+--- a/chrome/browser/private_verification_tokens/BUILD.gn
++++ b/chrome/browser/private_verification_tokens/BUILD.gn
+@@ -26,11 +26,6 @@ static_library("private_verification_tok
+ "//chrome/browser/profiles:profile",
+ "//components/content_settings/core/browser",
+ "//components/keyed_service/core",
+- "//components/private_verification_tokens/common:privacy_pass_athm_batch_request",
+- "//components/private_verification_tokens/common:private_verification_tokens_fetcher",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+- "//components/private_verification_tokens/common:private_verification_tokens_parameters",
+- "//components/private_verification_tokens/common:private_verification_tokens_store",
+ "//content/public/browser",
+ "//net",
+ "//services/network/public/cpp",
+@@ -49,9 +44,6 @@ source_set("browser_tests") {
+ "//chrome/browser/content_settings:content_settings_factory",
+ "//chrome/test:test_support",
+ "//components/content_settings/core/common",
+- "//components/private_verification_tokens/common:athm_test_issuer",
+- "//components/private_verification_tokens/common:private_verification_tokens_database",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+ "//net:test_support",
+ "//services/network:test_support",
+ "//url",
+@@ -72,11 +64,6 @@ source_set("unit_tests") {
+ "//chrome/test:test_support",
+ "//components/content_settings/core/browser",
+ "//components/content_settings/core/common",
+- "//components/private_verification_tokens/common:athm_test_issuer",
+- "//components/private_verification_tokens/common:private_verification_tokens_database",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+- "//components/private_verification_tokens/common:private_verification_tokens_parameters",
+- "//components/private_verification_tokens/common:test_support",
+ "//content/test:test_support",
+ "//net",
+ "//services/network:test_support",
+--- a/chrome/browser/profiles/BUILD.gn
++++ b/chrome/browser/profiles/BUILD.gn
+@@ -809,7 +809,6 @@ source_set("profiles_extra_parts_impl")
+ "//chrome/browser/privacy_sandbox:headers",
+ "//chrome/browser/private_ai",
+ "//chrome/browser/private_insights",
+- "//chrome/browser/private_verification_tokens",
+ "//chrome/browser/push_messaging",
+ "//chrome/browser/reading_list",
+ "//chrome/browser/reduce_accept_language",
+--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
++++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+@@ -1371,7 +1371,6 @@ void ChromeBrowserMainExtraPartsProfiles
+ PrivacyMetricsServiceFactory::GetInstance();
+ PrivacySandboxServiceFactory::GetInstance();
+ PrivacySandboxSettingsFactory::GetInstance();
+- PrivateVerificationTokensServiceFactory::GetInstance();
+ private_ai::PrivateAiServiceFactory::GetInstance();
+ ProfileNetworkContextServiceFactory::GetInstance();
+ ProfilePasswordStoreFactory::GetInstance();
+--- a/chrome/test/BUILD.gn
++++ b/chrome/test/BUILD.gn
+@@ -2137,7 +2137,6 @@ if (!is_android) {
+ "//chrome/browser/privacy_sandbox:headers",
+ "//chrome/browser/privacy_sandbox:test_support",
+ "//chrome/browser/private_ai",
+- "//chrome/browser/private_verification_tokens:browser_tests",
+ "//chrome/browser/profile_resetter",
+ "//chrome/browser/profile_resetter:browser_tests",
+ "//chrome/browser/profiles",
+@@ -5401,7 +5400,6 @@ test("unit_tests") {
+ "//chrome/browser/preloading/prerender:unit_tests",
+ "//chrome/browser/privacy_sandbox:unit_tests",
+ "//chrome/browser/private_ai:unit_tests",
+- "//chrome/browser/private_verification_tokens:unit_tests",
+ "//chrome/browser/profiles",
+ "//chrome/browser/profiles:misc",
+ "//chrome/browser/profiles:profile_downloader",
+--- a/components/BUILD.gn
++++ b/components/BUILD.gn
+@@ -314,7 +314,6 @@ test("components_unittests") {
+ "//components/power_metrics:unit_tests",
+ "//components/prefs:unit_tests",
+ "//components/privacy_sandbox:unit_tests",
+- "//components/private_verification_tokens:unit_tests",
+ "//components/profile_metrics:unit_tests",
+ "//components/proto_extras:unit_tests",
+ "//components/proxy_config:unit_tests",
+--- a/components/component_updater/installer_policies/BUILD.gn
++++ b/components/component_updater/installer_policies/BUILD.gn
+@@ -38,7 +38,6 @@ static_library("installer_policies_no_co
+ "//components/lookalikes/core:proto",
+ "//components/lookalikes/core:safety_tips",
+ "//components/prefs",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+ "//components/update_client",
+ "//mojo/public/cpp/base:protobuf_support",
+ "//services/network/public/cpp",
+@@ -106,8 +105,6 @@ source_set("unit_tests") {
+ "//components/history_embeddings/core",
+ "//components/optimization_guide/core",
+ "//components/optimization_guide/proto:optimization_guide_proto",
+- "//components/private_verification_tokens/common:private_verification_tokens_issuer_config",
+- "//components/private_verification_tokens/common:test_support",
+ "//mojo/public/cpp/base:protobuf_support",
+ "//services/network/public/cpp",
+ "//testing/gmock",
diff --git a/chromium.spec b/chromium.spec
index eefa4de..cd491f6 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -327,8 +327,7 @@ Patch93: chromium-141-csss_style_sheet.patch
# revert the patch to fix the build error: "ld.lld: error: undefined symbol: __sanitizer_set_death_callback"
Patch94: chromium-148-v8-sanitize-build-error.patch
-# Fix rust build error
-Patch95: chromium-152-build-error-rust-cbor.patch
+
# FTBFS - error: cannot find attribute `sanitize` in this scope
# --> ../../third_party/crabbyavif/src/src/capi/io.rs:210:41
# |
@@ -403,8 +402,14 @@ Patch311: chromium-123-fstack-protector-strong.patch
# ERROR at //build/rust/crubit/BUILD.gn:12:5:
# Unable to load third_party/rust-toolchain/lib/third_party/crubit/support/rs_std/BUILD.gn
# "$crubit_src_dir/support/rs_std:rs_std_cpp",
+# Patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3966
Patch312: chromium-154-ftbfs-crubit.patch
+# Fix FTBFS:
+# ERROR Unresolved dependencies
+# Patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/3966
+Patch313: chromium-154-ftbfs-private-verification-tokens.patch
+
# old rust version causes build error on el8:
# error[E0599]: no method named `is_none_or` found for enum `Option` in the current scope
Patch314: chromium-136-rust-skrifa-build-error.patch
@@ -1108,7 +1113,6 @@ Qt6 UI for chromium.
%patch -P92 -p1 -b .nodejs-checkversion
%patch -P93 -p1 -b .ftbfs-csss_style_sheet
%patch -P94 -p1 -R -b .v8-sanitize-build-error
-%patch -P95 -p1 -b .build-error-rust-cbor
%patch -P96 -p1 -b .crabbyavif-ftbfs-old-rust
%if ! %{bundleffmpegfree}
@@ -1162,7 +1166,8 @@ Qt6 UI for chromium.
%patch -P315 -p1 -b .rustc-ftbfs
%patch -P310 -p1 -b .rust-FTBFS-suppress-warnings
%patch -P311 -p1 -b .fstack-protector-strong
-%patch -P312 -p1 -R -b .ftbfs-crubit
+%patch -P312 -p1 -b .ftbfs-crubit
+%patch -P313 -p1 -b .ftbfs-private-verification-tokens
%if 0%{?rhel} && 0%{?rhel} < 10
%patch -P354 -p1 -b .split-threshold-for-reg-with-hint
@@ -1403,7 +1408,6 @@ CHROMIUM_CORE_GN_DEFINES+=' host_toolchain="//build/toolchain/linux/unbundle:def
CHROMIUM_BROWSER_GN_DEFINES+=' use_custom_libcxx=false'
%endif
CHROMIUM_CORE_GN_DEFINES+=' is_debug=false dcheck_always_on=false dcheck_is_configurable=false'
-CHROMIUM_CORE_GN_DEFINES+=' enable_enterprise_companion=false'
CHROMIUM_CORE_GN_DEFINES+=' system_libdir="%{_lib}"'
%if %{official_build}
diff --git a/chromium.spec b/chromium.spec
index 6e71491..cd491f6 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2117,6 +2117,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-09-23 15:13 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-09-23 15:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : c4fb99e99ac47b61450d05ab53edcb5049b54351
Author : Than Ngo <than@redhat.com>
Date : 2026-09-23T17:13:16+02:00
Stats : +27756/-25655 in 11 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/c4fb99e99ac47b61450d05ab53edcb5049b54351?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/0002-regenerate-xnn-buildgn.patch b/0002-regenerate-xnn-buildgn.patch
index b4e6962..799c948 100644
--- a/0002-regenerate-xnn-buildgn.patch
+++ b/0002-regenerate-xnn-buildgn.patch
@@ -6,11 +6,10 @@ This causes various toolchain failures of the form:
While resolving toolchains for target @@rules_python+//python:current_py_toolchain
@@bazel_tools//tools/python:toolchain_type
-
-Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+Index: chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
===================================================================
---- chromium-153.0.8010.36.orig/third_party/xnnpack/BUILD.gn
-+++ chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+--- chromium-154.0.8037.44.orig/third_party/xnnpack/BUILD.gn
++++ chromium-154.0.8037.44/third_party/xnnpack/BUILD.gn
@@ -34,10 +34,10 @@ config("xnnpack_public_config") {
}
@@ -26,7 +25,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
}
config("xnnpack_private_config") {
-@@ -48,2160 +48,2452 @@ config("xnnpack_private_config") {
+@@ -48,2186 +48,2484 @@ config("xnnpack_private_config") {
]
}
@@ -42,11 +41,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
+ ":bf16-qu8-vcvt_x64",
+ ":bf16-rminmax_x64",
++ ":bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
++ ":bf16-vunary_x64",
+ ":configs_x64",
+ ":enums_x64",
+ ":f16-avgpool_f16c-no-avx2-no-fma",
++ ":f16-avgpool_x64",
+ ":f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
+ ":f16-dwconv_f16c-fma-no-avx2",
++ ":f16-dwconv_x64",
+ ":f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma",
+ ":f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
+ ":f16-f32-vcvt_f16c-no-avx2-no-fma",
@@ -307,6 +310,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":f32-vunary_x64",
+ ":operators_x64",
+ ":qd8-bf16-qb4w-gemm_f16c-fma-avx2",
++ ":qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
+ ":qd8-bf16-qb4w-gemm_x64",
+ ":qd8-f16-qb4w-gemm_f16c-fma-avx2",
+ ":qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni",
@@ -571,6 +575,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":u8-vclamp_sse2-no-sse3",
+ ":u8-vclamp_x64",
+ ":x16-packw_f16c-fma-avx2",
++ ":x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
+ ":x16-packw_x64",
+ ":x16-transposec_f16c-fma-avx2",
+ ":x16-transposec_sse2-no-sse3",
@@ -619,11 +624,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
+ ":bf16-qu8-vcvt_x64_standalone",
+ ":bf16-rminmax_x64_standalone",
++ ":bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
++ ":bf16-vunary_x64_standalone",
+ ":configs_x64_standalone",
+ ":enums_x64_standalone",
+ ":f16-avgpool_f16c-no-avx2-no-fma_standalone",
++ ":f16-avgpool_x64_standalone",
+ ":f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
+ ":f16-dwconv_f16c-fma-no-avx2_standalone",
++ ":f16-dwconv_x64_standalone",
+ ":f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
+ ":f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
+ ":f16-f32-vcvt_f16c-no-avx2-no-fma_standalone",
@@ -884,6 +893,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":f32-vunary_x64_standalone",
+ ":operators_x64_standalone",
+ ":qd8-bf16-qb4w-gemm_f16c-fma-avx2_standalone",
++ ":qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
+ ":qd8-bf16-qb4w-gemm_x64_standalone",
+ ":qd8-f16-qb4w-gemm_f16c-fma-avx2_standalone",
+ ":qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
@@ -1148,6 +1158,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":u8-vclamp_sse2-no-sse3_standalone",
+ ":u8-vclamp_x64_standalone",
+ ":x16-packw_f16c-fma-avx2_standalone",
++ ":x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
+ ":x16-packw_x64_standalone",
+ ":x16-transposec_f16c-fma-avx2_standalone",
+ ":x16-transposec_sse2-no-sse3_standalone",
@@ -1198,11 +1209,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
- ":bf16-qu8-vcvt_x64",
- ":bf16-rminmax_x64",
+- ":bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
+- ":bf16-vunary_x64",
- ":configs_x64",
- ":enums_x64",
- ":f16-avgpool_f16c-no-avx2-no-fma",
+- ":f16-avgpool_x64",
- ":f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16",
- ":f16-dwconv_f16c-fma-no-avx2",
+- ":f16-dwconv_x64",
- ":f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma",
- ":f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
- ":f16-f32-vcvt_f16c-no-avx2-no-fma",
@@ -1463,6 +1478,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":f32-vunary_x64",
- ":operators_x64",
- ":qd8-bf16-qb4w-gemm_f16c-fma-avx2",
+- ":qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni",
- ":qd8-bf16-qb4w-gemm_x64",
- ":qd8-f16-qb4w-gemm_f16c-fma-avx2",
- ":qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni",
@@ -1727,6 +1743,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":u8-vclamp_sse2-no-sse3",
- ":u8-vclamp_x64",
- ":x16-packw_f16c-fma-avx2",
+- ":x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl",
- ":x16-packw_x64",
- ":x16-transposec_f16c-fma-avx2",
- ":x16-transposec_sse2-no-sse3",
@@ -1767,12 +1784,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":bf16-qs8-vcvt_arm64",
+ ":bf16-qu8-vcvt_arm64",
+ ":bf16-rminmax_arm64",
++ ":bf16-vunary_arm64",
+ ":configs_arm64",
+ ":enums_arm64",
+ ":f16-avgpool_arch=armv8.2-a+fp16",
++ ":f16-avgpool_arm64",
+ ":f16-conv-hwc2chw_arch=armv8.2-a+fp16",
+ ":f16-dwconv2d-chw_arch=armv8.2-a+fp16",
+ ":f16-dwconv_arch=armv8.2-a+fp16",
++ ":f16-dwconv_arm64",
+ ":f16-f32-vcvt_arm64",
+ ":f16-f32acc-rdsum2_arch=armv8.2-a+fp16",
+ ":f16-f32acc-rdsum_arch=armv8.2-a+fp16",
@@ -1913,6 +1933,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod",
+ ":qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16",
+ ":qd8-f32-qc8w-igemm_arm64",
++ ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2",
+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod",
+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16",
+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod",
@@ -2015,11 +2036,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
- ":bf16-qu8-vcvt_x64_standalone",
- ":bf16-rminmax_x64_standalone",
+- ":bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
+- ":bf16-vunary_x64_standalone",
- ":configs_x64_standalone",
- ":enums_x64_standalone",
- ":f16-avgpool_f16c-no-avx2-no-fma_standalone",
+- ":f16-avgpool_x64_standalone",
- ":f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone",
- ":f16-dwconv_f16c-fma-no-avx2_standalone",
+- ":f16-dwconv_x64_standalone",
- ":f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone",
- ":f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
- ":f16-f32-vcvt_f16c-no-avx2-no-fma_standalone",
@@ -2280,6 +2305,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":f32-vunary_x64_standalone",
- ":operators_x64_standalone",
- ":qd8-bf16-qb4w-gemm_f16c-fma-avx2_standalone",
+- ":qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone",
- ":qd8-bf16-qb4w-gemm_x64_standalone",
- ":qd8-f16-qb4w-gemm_f16c-fma-avx2_standalone",
- ":qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone",
@@ -2544,6 +2570,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":u8-vclamp_sse2-no-sse3_standalone",
- ":u8-vclamp_x64_standalone",
- ":x16-packw_f16c-fma-avx2_standalone",
+- ":x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone",
- ":x16-packw_x64_standalone",
- ":x16-transposec_f16c-fma-avx2_standalone",
- ":x16-transposec_sse2-no-sse3_standalone",
@@ -2584,12 +2611,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":bf16-qs8-vcvt_arm64_standalone",
+ ":bf16-qu8-vcvt_arm64_standalone",
+ ":bf16-rminmax_arm64_standalone",
++ ":bf16-vunary_arm64_standalone",
+ ":configs_arm64_standalone",
+ ":enums_arm64_standalone",
+ ":f16-avgpool_arch=armv8.2-a+fp16_standalone",
++ ":f16-avgpool_arm64_standalone",
+ ":f16-conv-hwc2chw_arch=armv8.2-a+fp16_standalone",
+ ":f16-dwconv2d-chw_arch=armv8.2-a+fp16_standalone",
+ ":f16-dwconv_arch=armv8.2-a+fp16_standalone",
++ ":f16-dwconv_arm64_standalone",
+ ":f16-f32-vcvt_arm64_standalone",
+ ":f16-f32acc-rdsum2_arch=armv8.2-a+fp16_standalone",
+ ":f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone",
@@ -2730,6 +2760,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
+ ":qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone",
+ ":qd8-f32-qc8w-igemm_arm64_standalone",
++ ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
+ ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
+ ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone",
@@ -2832,12 +2863,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":bf16-qs8-vcvt_arm64",
- ":bf16-qu8-vcvt_arm64",
- ":bf16-rminmax_arm64",
+- ":bf16-vunary_arm64",
- ":configs_arm64",
- ":enums_arm64",
- ":f16-avgpool_arch=armv8.2-a+fp16",
+- ":f16-avgpool_arm64",
- ":f16-conv-hwc2chw_arch=armv8.2-a+fp16",
- ":f16-dwconv2d-chw_arch=armv8.2-a+fp16",
- ":f16-dwconv_arch=armv8.2-a+fp16",
+- ":f16-dwconv_arm64",
- ":f16-f32-vcvt_arm64",
- ":f16-f32acc-rdsum2_arch=armv8.2-a+fp16",
- ":f16-f32acc-rdsum_arch=armv8.2-a+fp16",
@@ -2978,6 +3012,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod",
- ":qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16",
- ":qd8-f32-qc8w-igemm_arm64",
+- ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2",
- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod",
- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16",
- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod",
@@ -3072,10 +3107,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":bf16-qs8-vcvt_riscv64",
+ ":bf16-qu8-vcvt_riscv64",
+ ":bf16-rminmax_riscv64",
++ ":bf16-vunary_riscv64",
+ ":configs_riscv64",
+ ":enums_riscv64",
+ ":f16-avgpool_arch=rv64gc_zvfh-abi=lp64d",
++ ":f16-avgpool_riscv64",
+ ":f16-dwconv_arch=rv64gc_zvfh-abi=lp64d",
++ ":f16-dwconv_riscv64",
+ ":f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d",
+ ":f16-f32-vcvt_riscv64",
+ ":f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d",
@@ -3328,12 +3366,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":bf16-qs8-vcvt_arm64_standalone",
- ":bf16-qu8-vcvt_arm64_standalone",
- ":bf16-rminmax_arm64_standalone",
+- ":bf16-vunary_arm64_standalone",
- ":configs_arm64_standalone",
- ":enums_arm64_standalone",
- ":f16-avgpool_arch=armv8.2-a+fp16_standalone",
+- ":f16-avgpool_arm64_standalone",
- ":f16-conv-hwc2chw_arch=armv8.2-a+fp16_standalone",
- ":f16-dwconv2d-chw_arch=armv8.2-a+fp16_standalone",
- ":f16-dwconv_arch=armv8.2-a+fp16_standalone",
+- ":f16-dwconv_arm64_standalone",
- ":f16-f32-vcvt_arm64_standalone",
- ":f16-f32acc-rdsum2_arch=armv8.2-a+fp16_standalone",
- ":f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone",
@@ -3474,6 +3515,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone",
- ":qd8-f32-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone",
- ":qd8-f32-qc8w-igemm_arm64_standalone",
+- ":qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone",
- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone",
- ":qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone",
- ":qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone",
@@ -3568,10 +3610,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":bf16-qs8-vcvt_riscv64_standalone",
+ ":bf16-qu8-vcvt_riscv64_standalone",
+ ":bf16-rminmax_riscv64_standalone",
++ ":bf16-vunary_riscv64_standalone",
+ ":configs_riscv64_standalone",
+ ":enums_riscv64_standalone",
+ ":f16-avgpool_arch=rv64gc_zvfh-abi=lp64d_standalone",
++ ":f16-avgpool_riscv64_standalone",
+ ":f16-dwconv_arch=rv64gc_zvfh-abi=lp64d_standalone",
++ ":f16-dwconv_riscv64_standalone",
+ ":f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone",
+ ":f16-f32-vcvt_riscv64_standalone",
+ ":f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d_standalone",
@@ -3827,10 +3872,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":bf16-qs8-vcvt_riscv64",
- ":bf16-qu8-vcvt_riscv64",
- ":bf16-rminmax_riscv64",
+- ":bf16-vunary_riscv64",
- ":configs_riscv64",
- ":enums_riscv64",
- ":f16-avgpool_arch=rv64gc_zvfh-abi=lp64d",
+- ":f16-avgpool_riscv64",
- ":f16-dwconv_arch=rv64gc_zvfh-abi=lp64d",
+- ":f16-dwconv_riscv64",
- ":f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d",
- ":f16-f32-vcvt_riscv64",
- ":f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d",
@@ -4078,8 +4126,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":bf16-qs8-vcvt_ppc64",
+ ":bf16-qu8-vcvt_ppc64",
+ ":bf16-rminmax_ppc64",
++ ":bf16-vunary_ppc64",
+ ":configs_ppc64",
+ ":enums_ppc64",
++ ":f16-avgpool_ppc64",
++ ":f16-dwconv_ppc64",
+ ":f16-f32-vcvt_ppc64",
+ ":f16-qs8-vcvt_ppc64",
+ ":f16-qu8-vcvt_ppc64",
@@ -4220,10 +4271,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ":bf16-qs8-vcvt_riscv64_standalone",
- ":bf16-qu8-vcvt_riscv64_standalone",
- ":bf16-rminmax_riscv64_standalone",
+- ":bf16-vunary_riscv64_standalone",
- ":configs_riscv64_standalone",
- ":enums_riscv64_standalone",
- ":f16-avgpool_arch=rv64gc_zvfh-abi=lp64d_standalone",
+- ":f16-avgpool_riscv64_standalone",
- ":f16-dwconv_arch=rv64gc_zvfh-abi=lp64d_standalone",
+- ":f16-dwconv_riscv64_standalone",
- ":f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone",
- ":f16-f32-vcvt_riscv64_standalone",
- ":f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d_standalone",
@@ -4471,8 +4525,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ":bf16-qs8-vcvt_ppc64_standalone",
+ ":bf16-qu8-vcvt_ppc64_standalone",
+ ":bf16-rminmax_ppc64_standalone",
++ ":bf16-vunary_ppc64_standalone",
+ ":configs_ppc64_standalone",
+ ":enums_ppc64_standalone",
++ ":f16-avgpool_ppc64_standalone",
++ ":f16-dwconv_ppc64_standalone",
+ ":f16-f32-vcvt_ppc64_standalone",
+ ":f16-qs8-vcvt_ppc64_standalone",
+ ":f16-qu8-vcvt_ppc64_standalone",
@@ -4607,7 +4664,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
]
}
} else {
-@@ -2211,6 +2503,7 @@ if (current_cpu == "x64" || current_cpu
+@@ -2237,6 +2535,7 @@ if (current_cpu == "x64" || current_cpu
}
}
@@ -4615,7 +4672,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
if (build_with_chromium) {
source_set("xnnpack") {
public = [ "src/include/xnnpack.h" ]
-@@ -2221,39 +2514,39 @@ if (build_with_chromium) {
+@@ -2247,39 +2546,39 @@ if (build_with_chromium) {
configs += [ ":xnnpack_private_config" ]
sources = [
@@ -4684,7 +4741,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
public_configs = [ ":xnnpack_public_config" ]
}
-@@ -2270,39 +2563,39 @@ if (build_with_internal_optimization_gui
+@@ -2296,39 +2595,39 @@ if (build_with_internal_optimization_gui
configs += [ ":xnnpack_private_config" ]
sources = [
@@ -4753,7 +4810,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
public_configs = [ ":xnnpack_public_config" ]
-@@ -2313,66399 +2606,76963 @@ if (build_with_internal_optimization_gui
+@@ -2339,67192 +2638,77971 @@ if (build_with_internal_optimization_gui
}
if (current_cpu == "x64" || current_cpu == "x86") {
@@ -5224,16 +5281,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_chromium) {
- source_set("bf16-qu8-vcvt_x64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -5252,20 +5299,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-avx512skx-u128.c"
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -5273,50 +5319,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-qu8-vcvt_x64_standalone") {
-- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
++ public_configs = [ ":xnnpack_public_config" ]
+
- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- if (build_with_chromium) {
-- source_set("bf16-rminmax_x64") {
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("bf16-qu8-vcvt_x64_standalone") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
-- ]
+if (build_with_chromium) {
+ source_set("bf16-qs8-vcvt_x64") {
+ cflags = [
@@ -5328,21 +5349,38 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
+- ]
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("bf16-rminmax_x64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -5350,16 +5388,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
+- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
+- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-rminmax_x64_standalone") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-qs8-vcvt_x64_standalone") {
@@ -5372,40 +5414,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- if (build_with_chromium) {
-- source_set("configs_x64") {
-- cflags = []
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -5413,32 +5435,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("bf16-rminmax_x64_standalone") {
+- cflags = []
++ public_configs = [ ":xnnpack_public_config" ]
+
- sources = [
- "src/include/xnnpack.h",
-- "src/src/configs/argmaxpool-config.c",
-- "src/src/configs/avgpool-config.c",
-- "src/src/configs/binary-elementwise-config.c",
-- "src/src/configs/cmul-config.c",
-- "src/src/configs/conv-hwc2chw-config.c",
-- "src/src/configs/dwconv-config.c",
-- "src/src/configs/dwconv2d-chw-config.c",
-- "src/src/configs/gemm-config.c",
-- "src/src/configs/hardware-config.c",
-- "src/src/configs/ibilinear-chw-config.c",
-- "src/src/configs/ibilinear-config.c",
-- "src/src/configs/lut32norm-config.c",
-- "src/src/configs/maxpool-config.c",
-- "src/src/configs/pack-lh-config.c",
-- "src/src/configs/raddstoreexpminusmax-config.c",
-- "src/src/configs/reduce-config.c",
-- "src/src/configs/spmm-config.c",
-- "src/src/configs/transpose-config.c",
-- "src/src/configs/unary-elementwise-config.c",
-- "src/src/configs/unpool-config.c",
-- "src/src/configs/vmulcaddc-config.c",
-- "src/src/configs/x8-lut-config.c",
-- "src/src/configs/xx-fill-config.c",
-- "src/src/configs/xx-pad-config.c",
+- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
+- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
+- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -5450,48 +5457,36 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
+-
- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("configs_x64_standalone") {
-- cflags = []
+- if (build_with_chromium) {
+- source_set(
+- "bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/configs/argmaxpool-config.c",
-- "src/src/configs/avgpool-config.c",
-- "src/src/configs/binary-elementwise-config.c",
-- "src/src/configs/cmul-config.c",
-- "src/src/configs/conv-hwc2chw-config.c",
-- "src/src/configs/dwconv-config.c",
-- "src/src/configs/dwconv2d-chw-config.c",
-- "src/src/configs/gemm-config.c",
-- "src/src/configs/hardware-config.c",
-- "src/src/configs/ibilinear-chw-config.c",
-- "src/src/configs/ibilinear-config.c",
-- "src/src/configs/lut32norm-config.c",
-- "src/src/configs/maxpool-config.c",
-- "src/src/configs/pack-lh-config.c",
-- "src/src/configs/raddstoreexpminusmax-config.c",
-- "src/src/configs/reduce-config.c",
-- "src/src/configs/spmm-config.c",
-- "src/src/configs/transpose-config.c",
-- "src/src/configs/unary-elementwise-config.c",
-- "src/src/configs/unpool-config.c",
-- "src/src/configs/vmulcaddc-config.c",
-- "src/src/configs/x8-lut-config.c",
-- "src/src/configs/xx-fill-config.c",
-- "src/src/configs/xx-pad-config.c",
+- "src/src/bf16-vunary/gen/bf16-vunary-avx512skx.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -5503,16 +5498,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
+if (build_with_chromium) {
+ source_set("bf16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
@@ -5530,21 +5517,31 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-avx512skx-u128.c"
+ ]
-- if (build_with_chromium) {
-- source_set("enums_x64") {
-- cflags = []
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/enums/allocation-type.c",
-- "src/src/enums/datatype-strings.c",
-- "src/src/enums/microkernel-type.c",
-- "src/src/enums/node-type.c",
-- "src/src/enums/operator-type.c",
+- "src/src/bf16-vunary/gen/bf16-vunary-avx512skx.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -5556,24 +5553,28 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("enums_x64_standalone") {
+- if (build_with_chromium) {
+- source_set("bf16-vunary_x64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -5595,6 +5596,253 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
+- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("bf16-vunary_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("bf16-qu8-vcvt_x64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("configs_x64") {
+- cflags = []
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/configs/argmaxpool-config.c",
+- "src/src/configs/avgpool-config.c",
+- "src/src/configs/binary-elementwise-config.c",
+- "src/src/configs/cmul-config.c",
+- "src/src/configs/conv-hwc2chw-config.c",
+- "src/src/configs/dwconv-config.c",
+- "src/src/configs/dwconv2d-chw-config.c",
+- "src/src/configs/gemm-config.c",
+- "src/src/configs/hardware-config.c",
+- "src/src/configs/ibilinear-chw-config.c",
+- "src/src/configs/ibilinear-config.c",
+- "src/src/configs/lut32norm-config.c",
+- "src/src/configs/maxpool-config.c",
+- "src/src/configs/pack-lh-config.c",
+- "src/src/configs/raddstoreexpminusmax-config.c",
+- "src/src/configs/reduce-config.c",
+- "src/src/configs/spmm-config.c",
+- "src/src/configs/transpose-config.c",
+- "src/src/configs/unary-elementwise-config.c",
+- "src/src/configs/unpool-config.c",
+- "src/src/configs/vmulcaddc-config.c",
+- "src/src/configs/x8-lut-config.c",
+- "src/src/configs/xx-fill-config.c",
+- "src/src/configs/xx-pad-config.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("configs_x64_standalone") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("bf16-qu8-vcvt_x64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/configs/argmaxpool-config.c",
+- "src/src/configs/avgpool-config.c",
+- "src/src/configs/binary-elementwise-config.c",
+- "src/src/configs/cmul-config.c",
+- "src/src/configs/conv-hwc2chw-config.c",
+- "src/src/configs/dwconv-config.c",
+- "src/src/configs/dwconv2d-chw-config.c",
+- "src/src/configs/gemm-config.c",
+- "src/src/configs/hardware-config.c",
+- "src/src/configs/ibilinear-chw-config.c",
+- "src/src/configs/ibilinear-config.c",
+- "src/src/configs/lut32norm-config.c",
+- "src/src/configs/maxpool-config.c",
+- "src/src/configs/pack-lh-config.c",
+- "src/src/configs/raddstoreexpminusmax-config.c",
+- "src/src/configs/reduce-config.c",
+- "src/src/configs/spmm-config.c",
+- "src/src/configs/transpose-config.c",
+- "src/src/configs/unary-elementwise-config.c",
+- "src/src/configs/unpool-config.c",
+- "src/src/configs/vmulcaddc-config.c",
+- "src/src/configs/x8-lut-config.c",
+- "src/src/configs/xx-fill-config.c",
+- "src/src/configs/xx-pad-config.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("enums_x64") {
+- cflags = []
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/enums/allocation-type.c",
+- "src/src/enums/datatype-strings.c",
+- "src/src/enums/microkernel-type.c",
+- "src/src/enums/node-type.c",
+- "src/src/enums/operator-type.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("enums_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
- "src/src/enums/allocation-type.c",
- "src/src/enums/datatype-strings.c",
- "src/src/enums/microkernel-type.c",
@@ -5621,10 +5869,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("bf16-rminmax_x64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
++ ]
- if (build_with_chromium) {
- source_set("f16-avgpool_f16c-no-avx2-no-fma") {
@@ -5650,18 +5906,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-avgpool_f16c-no-avx2-no-fma_standalone") {
@@ -5693,12 +5952,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f16-avgpool_x64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("bf16-rminmax_x64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-avgpool_x64_standalone") {
+- cflags = []
++if (build_with_chromium) {
++ source_set("bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-vunary/gen/bf16-vunary-avx512skx.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- if (build_with_chromium) {
- source_set(
- "f16-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
@@ -5718,6 +6078,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-dwconv/gen/f16-dwconv-25p32c-minmax-avx512fp16-acc2.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-3p32c-minmax-avx512fp16.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-4p32c-minmax-avx512fp16.c",
- "src/src/f16-dwconv/gen/f16-dwconv-9p32c-minmax-avx512fp16.c",
- ]
-
@@ -5732,24 +6094,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (build_with_chromium) {
-+ source_set("bf16-qu8-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -5771,6 +6127,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-dwconv/gen/f16-dwconv-25p32c-minmax-avx512fp16-acc2.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-3p32c-minmax-avx512fp16.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-4p32c-minmax-avx512fp16.c",
- "src/src/f16-dwconv/gen/f16-dwconv-9p32c-minmax-avx512fp16.c",
- ]
-
@@ -5792,16 +6150,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
+- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("bf16-vunary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-vunary/gen/bf16-vunary-avx512skx.c"
+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
- if (build_with_chromium) {
- source_set("f16-dwconv_f16c-fma-no-avx2") {
@@ -5830,26 +6196,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qu8-vcvt_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-dwconv_f16c-fma-no-avx2_standalone") {
@@ -5884,15 +6245,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f16-dwconv_x64") {
+- cflags = []
++if (build_with_chromium) {
++ source_set("bf16-vunary_x64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-dwconv_x64_standalone") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("bf16-vunary_x64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
+ ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- if (build_with_chromium) {
- source_set("f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
- cflags = [
@@ -5918,14 +6377,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -5959,20 +6421,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("bf16-rminmax_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
-+ ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set(
@@ -6003,20 +6456,47 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("configs_x64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/configs/argmaxpool-config.c",
++ "src/src/configs/avgpool-config.c",
++ "src/src/configs/binary-elementwise-config.c",
++ "src/src/configs/cmul-config.c",
++ "src/src/configs/conv-hwc2chw-config.c",
++ "src/src/configs/dwconv-config.c",
++ "src/src/configs/dwconv2d-chw-config.c",
++ "src/src/configs/gemm-config.c",
++ "src/src/configs/hardware-config.c",
++ "src/src/configs/ibilinear-chw-config.c",
++ "src/src/configs/ibilinear-config.c",
++ "src/src/configs/lut32norm-config.c",
++ "src/src/configs/maxpool-config.c",
++ "src/src/configs/pack-lh-config.c",
++ "src/src/configs/raddstoreexpminusmax-config.c",
++ "src/src/configs/reduce-config.c",
++ "src/src/configs/spmm-config.c",
++ "src/src/configs/transpose-config.c",
++ "src/src/configs/unary-elementwise-config.c",
++ "src/src/configs/unpool-config.c",
++ "src/src/configs/vmulcaddc-config.c",
++ "src/src/configs/x8-lut-config.c",
++ "src/src/configs/xx-fill-config.c",
++ "src/src/configs/xx-pad-config.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -6055,6 +6535,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -6085,16 +6572,37 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-rminmax_x64_standalone") {
++ source_set("configs_x64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
++ "src/src/configs/argmaxpool-config.c",
++ "src/src/configs/avgpool-config.c",
++ "src/src/configs/binary-elementwise-config.c",
++ "src/src/configs/cmul-config.c",
++ "src/src/configs/conv-hwc2chw-config.c",
++ "src/src/configs/dwconv-config.c",
++ "src/src/configs/dwconv2d-chw-config.c",
++ "src/src/configs/gemm-config.c",
++ "src/src/configs/hardware-config.c",
++ "src/src/configs/ibilinear-chw-config.c",
++ "src/src/configs/ibilinear-config.c",
++ "src/src/configs/lut32norm-config.c",
++ "src/src/configs/maxpool-config.c",
++ "src/src/configs/pack-lh-config.c",
++ "src/src/configs/raddstoreexpminusmax-config.c",
++ "src/src/configs/reduce-config.c",
++ "src/src/configs/spmm-config.c",
++ "src/src/configs/transpose-config.c",
++ "src/src/configs/unary-elementwise-config.c",
++ "src/src/configs/unpool-config.c",
++ "src/src/configs/vmulcaddc-config.c",
++ "src/src/configs/x8-lut-config.c",
++ "src/src/configs/xx-fill-config.c",
++ "src/src/configs/xx-pad-config.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -6210,37 +6718,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("configs_x64") {
++ source_set("enums_x64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
++ "src/src/enums/allocation-type.c",
++ "src/src/enums/datatype-strings.c",
++ "src/src/enums/microkernel-type.c",
++ "src/src/enums/node-type.c",
++ "src/src/enums/operator-type.c"
+ ]
- if (build_with_chromium) {
@@ -6321,37 +6810,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("configs_x64_standalone") {
++ source_set("enums_x64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/configs/argmaxpool-config.c",
-+ "src/src/configs/avgpool-config.c",
-+ "src/src/configs/binary-elementwise-config.c",
-+ "src/src/configs/cmul-config.c",
-+ "src/src/configs/conv-hwc2chw-config.c",
-+ "src/src/configs/dwconv-config.c",
-+ "src/src/configs/dwconv2d-chw-config.c",
-+ "src/src/configs/gemm-config.c",
-+ "src/src/configs/hardware-config.c",
-+ "src/src/configs/ibilinear-chw-config.c",
-+ "src/src/configs/ibilinear-config.c",
-+ "src/src/configs/lut32norm-config.c",
-+ "src/src/configs/maxpool-config.c",
-+ "src/src/configs/pack-lh-config.c",
-+ "src/src/configs/raddstoreexpminusmax-config.c",
-+ "src/src/configs/reduce-config.c",
-+ "src/src/configs/spmm-config.c",
-+ "src/src/configs/transpose-config.c",
-+ "src/src/configs/unary-elementwise-config.c",
-+ "src/src/configs/unpool-config.c",
-+ "src/src/configs/vmulcaddc-config.c",
-+ "src/src/configs/x8-lut-config.c",
-+ "src/src/configs/xx-fill-config.c",
-+ "src/src/configs/xx-pad-config.c"
++ "src/src/enums/allocation-type.c",
++ "src/src/enums/datatype-strings.c",
++ "src/src/enums/microkernel-type.c",
++ "src/src/enums/node-type.c",
++ "src/src/enums/operator-type.c"
+ ]
- sources = [
@@ -6393,7 +6863,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-f32-vcvt_x64_standalone") {
- cflags = []
--
++if (build_with_chromium) {
++ source_set("f16-avgpool_f16c-no-avx2-no-fma") {
++ cflags = [
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-f16c.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
@@ -6418,20 +6900,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("enums_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f16-f32acc-gemm_f16c-fma-avx2") {
@@ -6458,14 +6930,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -6473,6 +6937,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-f32acc-gemm_f16c-fma-avx2_standalone") {
@@ -6506,9 +6976,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-avgpool_f16c-no-avx2-no-fma_standalone") {
++ cflags = [
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-f16c.c"
++ ]
- if (build_with_chromium) {
- source_set(
@@ -6540,30 +7021,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("enums_x64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set(
@@ -6601,52 +7073,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- if (build_with_chromium) {
-- source_set("f16-f32acc-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x16-minmax-avx2-broadcast.c",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x16-minmax-avx2-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-igemm_f16c-fma-avx2_standalone") {
+- if (build_with_chromium) {
+- source_set("f16-f32acc-igemm_f16c-fma-avx2") {
- cflags = [
- "-mavx2",
- "-mf16c",
@@ -6668,92 +7104,40 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
+if (build_with_chromium) {
-+ source_set("f16-avgpool_f16c-no-avx2-no-fma") {
++ source_set("f16-avgpool_x64") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-f16c.c"
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
-- if (build_with_chromium) {
-- source_set(
-- "f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x32-minmax-avx512skx-broadcast.c",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- source_set("f16-f32acc-igemm_f16c-fma-avx2_standalone") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
+- "-mavx2",
- "-mf16c",
- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x32-minmax-avx512skx-broadcast.c",
-- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c",
+- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x16-minmax-avx2-broadcast.c",
+- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x16-minmax-avx2-broadcast.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -6774,13 +7158,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set(
-- "f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- "f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
- cflags = [
- "-mavx512bw",
- "-mavx512cd",
@@ -6793,7 +7184,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c",
+- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x32-minmax-avx512skx-broadcast.c",
+- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -6809,16 +7201,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-avgpool_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-avgpool_x64_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-f16c.c"
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -6832,7 +7222,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set(
-- "f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- "f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
- cflags = [
- "-mavx512bw",
- "-mavx512cd",
@@ -6845,7 +7235,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c",
+- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x32-minmax-avx512skx-broadcast.c",
+- "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -6875,16 +7266,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
- if (build_with_chromium) {
-- source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma") {
+- source_set(
+- "f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
+- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c",
+- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -6909,16 +7305,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma_standalone") {
+- source_set(
+- "f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
+- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c",
+- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -6958,25 +7359,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ sources = [
+ "src/include/xnnpack.h",
+ "src/src/f16-dwconv/gen/f16-dwconv-25p32c-minmax-avx512fp16-acc2.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-3p32c-minmax-avx512fp16.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-4p32c-minmax-avx512fp16.c",
+ "src/src/f16-dwconv/gen/f16-dwconv-9p32c-minmax-avx512fp16.c"
+ ]
- if (build_with_chromium) {
-- source_set(
-- "f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
- "-mf16c",
-- "-mfma",
+- "-mno-avx2",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-avx512skx-u64.c",
+- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7007,21 +7405,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma_standalone") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
- "-mf16c",
-- "-mfma",
+- "-mno-avx2",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-avx512skx-u64.c",
+- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7047,16 +7440,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma") {
+- source_set(
+- "f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
+- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c",
+- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-avx512skx-u64.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7089,6 +7487,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ sources = [
+ "src/include/xnnpack.h",
+ "src/src/f16-dwconv/gen/f16-dwconv-25p32c-minmax-avx512fp16-acc2.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-3p32c-minmax-avx512fp16.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-4p32c-minmax-avx512fp16.c",
+ "src/src/f16-dwconv/gen/f16-dwconv-9p32c-minmax-avx512fp16.c"
+ ]
@@ -7102,16 +7502,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma_standalone") {
+- source_set(
+- "f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
+- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c",
+- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-avx512skx-u64.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7141,21 +7546,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
- if (build_with_chromium) {
-- source_set(
-- "f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
- "-mf16c",
-- "-mfma",
+- "-mno-avx2",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c",
+- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7180,21 +7580,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma_standalone") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
- "-mf16c",
-- "-mfma",
+- "-mno-avx2",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c",
+- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7233,16 +7628,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
- if (build_with_chromium) {
-- source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma") {
+- source_set(
+- "f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
+- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c",
+- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7273,16 +7673,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma_standalone") {
+- source_set(
+- "f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
+- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c",
+- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7308,21 +7713,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set(
-- "f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
- "-mf16c",
-- "-mfma",
+- "-mno-avx2",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c",
+- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7363,21 +7763,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma_standalone") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
- "-mf16c",
-- "-mfma",
+- "-mno-avx2",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c",
+- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7407,16 +7802,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
- if (build_with_chromium) {
-- source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma") {
+- source_set(
+- "f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
+- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c",
+- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7441,16 +7841,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma_standalone") {
+- source_set(
+- "f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
- "-mf16c",
-- "-mno-avx2",
-- "-mno-fma",
+- "-mfma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c",
+- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7473,39 +7878,30 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
++ source_set("f16-dwconv_x64") {
+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx-int16-u16.c"
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
+ ]
- if (build_with_chromium) {
-- source_set(
-- "f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+- source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
- "-mf16c",
-- "-mfma",
-- "-mgfni",
+- "-mno-avx2",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
-- "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c",
+- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7536,25 +7932,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set(
-- "f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+- source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma_standalone") {
- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512fp16",
-- "-mavx512vl",
-- "-mavx512vnni",
- "-mf16c",
-- "-mfma",
-- "-mgfni",
+- "-mno-avx2",
+- "-mno-fma",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
-- "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c",
+- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7580,16 +7967,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f16-ibilinear_f16c-fma-no-avx2") {
+- source_set(
+- "f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512fp16",
+- "-mavx512vl",
+- "-mavx512vnni",
- "-mf16c",
- "-mfma",
-- "-mno-avx2",
+- "-mgfni",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c",
+- "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
+- "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7605,17 +8001,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
++ source_set("f16-dwconv_x64_standalone") {
+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx-int16-u16.c"
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -7628,16 +8024,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-ibilinear_f16c-fma-no-avx2_standalone") {
+- source_set(
+- "f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512fp16",
+- "-mavx512vl",
+- "-mavx512vnni",
- "-mf16c",
- "-mfma",
-- "-mno-avx2",
+- "-mgfni",
- ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c",
+- "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
+- "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -7667,6 +8072,86 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
- if (build_with_chromium) {
+- source_set("f16-ibilinear_f16c-fma-no-avx2") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-ibilinear_f16c-fma-no-avx2_standalone") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
++ cflags = [
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx-int16-u16.c"
++ ]
+
+- if (build_with_chromium) {
- source_set(
- "f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
- cflags = [
@@ -7699,14 +8184,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -7749,23 +8240,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx512skx-u16.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- if (build_with_chromium) {
- source_set("f16-maxpool_f16c-fma-avx2") {
@@ -7791,20 +8268,28 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
++ cflags = [
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx-int16-u16.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -7838,9 +8323,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
- if (build_with_chromium) {
- source_set("f16-maxpool_sse4.1-no-sse4.2") {
@@ -7865,27 +8354,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
--
++ public_configs = [ ":xnnpack_public_config" ]
+
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx512skx-u16.c"
-+ ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -7919,10 +8395,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx512skx-u16.c"
++ ]
- if (build_with_chromium) {
- source_set(
@@ -7953,18 +8441,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set(
@@ -8001,58 +8492,64 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f16-qs8-vcvt_x64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_f16c-no-avx2-no-fma") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-f16c-u16.c"
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-avx512skx-u16.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -8060,20 +8557,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-qs8-vcvt_x64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-f16c-u16.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c",
@@ -8098,10 +8582,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f16-f32-vcvt_f16c-no-avx2-no-fma") {
++ cflags = [
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-f16c-u16.c"
++ ]
- if (build_with_chromium) {
- source_set(
@@ -8132,18 +8624,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set(
@@ -8180,57 +8675,60 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f16-qu8-vcvt_x64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_sse2-no-sse3") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32-vcvt_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse2-int16-u32.c"
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-f16c-u16.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -8238,19 +8736,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-qu8-vcvt_x64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_sse2-no-sse3_standalone") {
-+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse2-int16-u32.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c",
@@ -8275,10 +8761,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f16-f32-vcvt_sse2-no-sse3") {
++ cflags = [
++ "-mno-sse3",
++ "-msse2"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse2-int16-u32.c"
++ ]
- if (build_with_chromium) {
- source_set("f16-raddstoreexpminusmax_f16c-fma-avx2") {
@@ -8304,18 +8797,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-raddstoreexpminusmax_f16c-fma-avx2_standalone") {
@@ -8347,64 +8843,68 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f16-rdminmax_x64") {
- cflags = []
--
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32-vcvt_sse2-no-sse3_standalone") {
++ cflags = [
++ "-mno-sse3",
++ "-msse2"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse2-int16-u32.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
- "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c",
- ]
--
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_sse4.1-no-sse4.2") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse41-int16-u16.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-rdminmax_x64_standalone") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
@@ -8429,9 +8929,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++if (build_with_chromium) {
++ source_set("f16-f32-vcvt_sse4.1-no-sse4.2") {
++ cflags = [
++ "-mno-sse4.2",
++ "-msse4.1"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse41-int16-u16.c"
++ ]
- if (build_with_chromium) {
- source_set(
@@ -8464,27 +8973,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse41-int16-u16.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set(
@@ -8524,13 +9027,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- if (build_with_chromium) {
- source_set(
@@ -8566,14 +9065,26 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32-vcvt_sse4.1-no-sse4.2_standalone") {
++ cflags = [
++ "-mno-sse4.2",
++ "-msse4.1"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-sse41-int16-u16.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -8618,15 +9129,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_x64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
- if (build_with_chromium) {
@@ -8653,20 +9160,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -8700,21 +9201,43 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++if (build_with_chromium) {
++ source_set("f16-f32-vcvt_x64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
++ ]
- if (build_with_chromium) {
- source_set("f16-rminmax_x64") {
- cflags = []
--
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
- "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
- "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c",
- ]
--
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
+
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
@@ -9129,7 +9652,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-vapproxgelu_x64_standalone") {
- cflags = []
--
++if (build_with_chromium) {
++ source_set("f16-f32acc-igemm_f16c-fma-avx2") {
++ cflags = [
++ "-mavx2",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x16-minmax-avx2-broadcast.c",
++ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x16-minmax-avx2-broadcast.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
@@ -9154,19 +9690,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-igemm_f16c-fma-avx2") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x16-minmax-avx2-broadcast.c"
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set(
@@ -9218,14 +9745,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -9233,6 +9752,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set(
@@ -9291,9 +9816,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32acc-igemm_f16c-fma-avx2_standalone") {
++ cflags = [
++ "-mavx2",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x16-minmax-avx2-broadcast.c",
++ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x16-minmax-avx2-broadcast.c"
++ ]
- if (build_with_chromium) {
- source_set("f16-vbinary_f16c-no-avx2-no-fma") {
@@ -9337,23 +9874,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
--
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-igemm_f16c-fma-avx2_standalone") {
-+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x16-minmax-avx2-broadcast.c",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x16-minmax-avx2-broadcast.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
- # This is a target that cannot depend on //base.
@@ -9405,12 +9938,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("f16-vclamp_f16c-no-avx2-no-fma") {
@@ -9436,17 +9970,31 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++if (build_with_chromium) {
++ source_set("f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x32-minmax-avx512skx-broadcast.c",
++ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -9479,22 +10027,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f16-vcos_avx512f") {
- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-avx512f-poly-3.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+ cflags = [
+ "-mavx512bw",
+ "-mavx512cd",
@@ -9511,31 +10061,38 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-vcos/gen/f16-f32acc-vcos-avx512f-poly-3.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -9543,9 +10100,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-vcos_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++if (build_with_chromium) {
++ source_set("f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
+ "-mavx512bw",
+ "-mavx512cd",
@@ -9558,8 +10114,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-1x32-minmax-avx512skx-broadcast.c",
-+ "src/src/f16-f32acc-igemm/gen/f16-f32acc-igemm-4x32-minmax-avx512skx-broadcast.c"
++ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c"
+ ]
- sources = [
@@ -9627,13 +10182,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
-- }
+ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -9674,11 +10230,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c"
++ ]
- if (build_with_chromium) {
- source_set("f16-vcos_f16c-no-avx2-no-fma") {
@@ -9704,31 +10274,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c"
-+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-vcos_f16c-no-avx2-no-fma_standalone") {
@@ -9760,58 +10320,43 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("f16-vcos_x64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
+- ]
++if (build_with_chromium) {
++ source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-avx512skx.c"
++ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- deps = [
- "//third_party/cpuinfo",
@@ -9819,12 +10364,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -9832,7 +10381,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-vcos_x64_standalone") {
- cflags = []
--
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma_standalone") {
++ cflags = [
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c",
@@ -9857,18 +10419,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c"
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f16-velu_f16c-fma-avx2") {
@@ -9894,21 +10448,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-velu_f16c-fma-avx2_standalone") {
@@ -9940,47 +10491,45 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("f16-vexp_avx512f") {
- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum2_f16c-no-avx2-no-fma_standalone") {
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-vexp/gen/f16-f32acc-vexp-avx512f-poly-3.c",
+- ]
++if (build_with_chromium) {
++ source_set("f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-f16c.c"
++ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-avx512skx-u64.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vexp/gen/f16-f32acc-vexp-avx512f-poly-3.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- deps = [
- "//third_party/cpuinfo",
@@ -9988,12 +10537,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -10001,8 +10554,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f16-vexp_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+ cflags = [
+ "-mavx512bw",
+ "-mavx512cd",
@@ -10083,14 +10637,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -10131,25 +10684,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-avx512skx-u64.c"
-+ ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("f16-vexp_f16c-no-avx2-no-fma") {
@@ -10175,20 +10714,26 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma") {
++ cflags = [
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -10221,64 +10766,89 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ public_configs = [ ":xnnpack_public_config" ]
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("f16-vexp_x64") {
- cflags = []
--
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma_standalone") {
++ cflags = [
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c",
- ]
--
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-vexp_x64_standalone") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++if (build_with_chromium) {
++ source_set("f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c"
+ ]
- sources = [
@@ -10304,45 +10874,50 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f16-vgelu_x64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum_f16c-no-avx2-no-fma_standalone") {
-+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-f16c-u32.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c"
+ ]
- deps = [
@@ -10351,20 +10926,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-vgelu_x64_standalone") {
- cflags = []
--
++ public_configs = [ ":xnnpack_public_config" ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c",
@@ -10387,24 +10969,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c"
-+ ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("f16-vhswish_f16c-no-avx2-no-fma") {
@@ -10430,20 +10999,26 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma") {
++ cflags = [
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -10477,6 +11052,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -10486,20 +11068,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum2_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++ source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-avx512skx.c"
++ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c"
+ ]
- sources = [
@@ -10542,16 +11120,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vlog_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma") {
++ source_set("f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c"
++ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c"
+ ]
- sources = [
@@ -10671,16 +11253,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum2_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-f16c.c"
++ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c"
+ ]
- if (build_with_chromium) {
@@ -10770,20 +11356,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++ source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c"
++ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -10820,20 +11402,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++ source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-avx512skx-u32-acc2.c"
++ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c"
+ ]
- sources = [
@@ -10963,16 +11541,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma") {
++ source_set("f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c"
++ "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
++ "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -11055,16 +11641,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-f16c-u32-acc4.c"
++ "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
++ "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -11185,24 +11779,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
++ source_set("f16-ibilinear_f16c-fma-no-avx2") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
++ "-mf16c",
+ "-mfma",
-+ "-mgfni"
++ "-mno-avx2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
-+ "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c"
++ "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c"
+ ]
- if (build_with_chromium) {
@@ -11285,24 +11871,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
++ source_set("f16-ibilinear_f16c-fma-no-avx2_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
++ "-mf16c",
+ "-mfma",
-+ "-mgfni"
++ "-mno-avx2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x32-minmax-avx512fp16-broadcast.c",
-+ "src/src/f16-gemm/gen/f16-gemm-8x32-minmax-avx512fp16-broadcast.c"
++ "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c"
+ ]
- sources = [
@@ -11345,16 +11923,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vsin_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f16-ibilinear_f16c-fma-no-avx2") {
++ source_set("f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+ cflags = [
-+ "-mf16c",
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
+ "-mfma",
-+ "-mno-avx2"
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c"
++ "src/src/f16-igemm/gen/f16-igemm-1x32-minmax-avx512fp16-broadcast.c",
++ "src/src/f16-igemm/gen/f16-igemm-8x32-minmax-avx512fp16-broadcast.c"
+ ]
- sources = [
@@ -11474,16 +12060,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-ibilinear_f16c-fma-no-avx2_standalone") {
++ source_set("f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+ cflags = [
-+ "-mf16c",
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
+ "-mfma",
-+ "-mno-avx2"
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear/gen/f16-ibilinear-fma3-u8.c"
++ "src/src/f16-igemm/gen/f16-igemm-1x32-minmax-avx512fp16-broadcast.c",
++ "src/src/f16-igemm/gen/f16-igemm-8x32-minmax-avx512fp16-broadcast.c"
+ ]
- if (build_with_chromium) {
@@ -11573,24 +12167,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c",
- ]
+if (build_with_chromium) {
-+ source_set("f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
++ source_set("f16-maxpool_f16c-fma-avx2") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
++ "-mavx2",
+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x32-minmax-avx512fp16-broadcast.c",
-+ "src/src/f16-igemm/gen/f16-igemm-8x32-minmax-avx512fp16-broadcast.c"
++ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-avx2-u16.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -11627,24 +12213,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
++ source_set("f16-maxpool_f16c-fma-avx2_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
++ "-mavx2",
+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x32-minmax-avx512fp16-broadcast.c",
-+ "src/src/f16-igemm/gen/f16-igemm-8x32-minmax-avx512fp16-broadcast.c"
++ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-avx2-u16.c"
+ ]
- sources = [
@@ -11770,16 +12348,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-maxpool_f16c-fma-avx2") {
++ source_set("f16-maxpool_sse4.1-no-sse4.2") {
+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
++ "-mno-sse4.2",
++ "-msse4.1"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-avx2-u16.c"
++ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-sse41-u8.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -11833,16 +12410,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-maxpool_f16c-fma-avx2_standalone") {
++ source_set("f16-maxpool_sse4.1-no-sse4.2_standalone") {
+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
++ "-mno-sse4.2",
++ "-msse4.1"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-avx2-u16.c"
++ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-sse41-u8.c"
+ ]
- sources = [
@@ -11885,15 +12461,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vtanh_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f16-maxpool_sse4.1-no-sse4.2") {
++ source_set("f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-sse41-u8.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-avx512skx-u128.c"
+ ]
- sources = [
@@ -12013,15 +12594,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-maxpool_sse4.1-no-sse4.2_standalone") {
++ source_set("f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+ cflags = [
-+ "-mno-sse4.2",
-+ "-msse4.1"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-sse41-u8.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-avx512skx-u128.c"
+ ]
- if (build_with_chromium) {
@@ -12123,20 +12709,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++ source_set("f16-qs8-vcvt_x64") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-avx512skx-u128.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -12211,20 +12791,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++ source_set("f16-qs8-vcvt_x64_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-avx512skx-u128.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -12342,14 +12916,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_x64") {
++ source_set("f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
-+
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-avx512skx-u128.c"
+ ]
- if (build_with_chromium) {
@@ -12430,14 +13010,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_x64_standalone") {
++ source_set("f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+ cflags = [
-+
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-avx512skx-u128.c"
+ ]
- sources = [
@@ -12505,20 +13091,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++ source_set("f16-qu8-vcvt_x64") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-avx512skx-u128.c"
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
- if (build_with_chromium) {
@@ -12603,20 +13183,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++ source_set("f16-qu8-vcvt_x64_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mf16c",
-+ "-mfma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-avx512skx-u128.c"
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
- sources = [
@@ -12684,14 +13258,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-qu8-vcvt_x64") {
++ source_set("f16-raddstoreexpminusmax_f16c-fma-avx2") {
+ cflags = [
-+
++ "-mavx2",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-avx2-rr1-p2-u32.c"
+ ]
- if (build_with_chromium) {
@@ -12772,14 +13348,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qu8-vcvt_x64_standalone") {
++ source_set("f16-raddstoreexpminusmax_f16c-fma-avx2_standalone") {
+ cflags = [
-+
++ "-mavx2",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-avx2-rr1-p2-u32.c"
+ ]
- sources = [
@@ -12822,16 +13400,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-avgpool_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-raddstoreexpminusmax_f16c-fma-avx2") {
++ source_set("f16-rdminmax_x64") {
+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-avx2-rr1-p2-u32.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
+ ]
- sources = [
@@ -12945,16 +13522,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-raddstoreexpminusmax_f16c-fma-avx2_standalone") {
++ source_set("f16-rdminmax_x64_standalone") {
+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-avx2-rr1-p2-u32.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
+ ]
- if (build_with_chromium) {
@@ -13060,15 +13636,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
- ]
+if (build_with_chromium) {
-+ source_set("f16-rdminmax_x64") {
++ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
-+
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
++ "src/src/f16-rminmax/gen/f16-rmax-avx512skx-u64-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rmin-avx512skx-u64-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-avx512skx-u64-acc4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -13105,15 +13688,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_x64_standalone") {
++ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+ cflags = [
-+
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
++ "src/src/f16-rminmax/gen/f16-rmax-avx512skx-u64-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rmin-avx512skx-u64-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-avx512skx-u64-acc4.c"
+ ]
- sources = [
@@ -13237,22 +13827,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+ cflags = [
+ "-mavx512bw",
+ "-mavx512cd",
+ "-mavx512dq",
+ "-mavx512f",
++ "-mavx512fp16",
+ "-mavx512vl",
++ "-mavx512vnni",
+ "-mf16c",
-+ "-mfma"
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-avx512skx-u64-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-avx512skx-u64-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-avx512skx-u64-acc4.c"
++ "src/src/f16-rminmax/gen/f16-rmax-avx512fp16-u128-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rmin-avx512fp16-u128-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-avx512fp16-u128-acc4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -13329,22 +13922,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+ cflags = [
+ "-mavx512bw",
+ "-mavx512cd",
+ "-mavx512dq",
+ "-mavx512f",
++ "-mavx512fp16",
+ "-mavx512vl",
++ "-mavx512vnni",
+ "-mf16c",
-+ "-mfma"
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-avx512skx-u64-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-avx512skx-u64-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-avx512skx-u64-acc4.c"
++ "src/src/f16-rminmax/gen/f16-rmax-avx512fp16-u128-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rmin-avx512fp16-u128-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-avx512fp16-u128-acc4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -13462,25 +14058,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
++ source_set("f16-rminmax_f16c-no-avx2-no-fma") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-avx512fp16-u128-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-avx512fp16-u128-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-avx512fp16-u128-acc4.c"
++ "src/src/f16-rminmax/f16-rmax-f16c-u32.c"
+ ]
- if (build_with_chromium) {
@@ -13533,25 +14120,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
++ source_set("f16-rminmax_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-avx512fp16-u128-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-avx512fp16-u128-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-avx512fp16-u128-acc4.c"
++ "src/src/f16-rminmax/f16-rmax-f16c-u32.c"
+ ]
- sources = [
@@ -13695,16 +14273,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-rminmax_f16c-no-avx2-no-fma") {
++ source_set("f16-rminmax_x64") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/f16-rmax-f16c-u32.c"
++ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -13785,16 +14363,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-rminmax_x64_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/f16-rmax-f16c-u32.c"
++ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -13919,16 +14497,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-rminmax_x64") {
++ source_set("f16-vapproxgelu_avx512f") {
+ cflags = [
-+
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-avx512f-rational-6-4-div.c"
+ ]
- if (build_with_chromium) {
@@ -13983,16 +14559,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_x64_standalone") {
++ source_set("f16-vapproxgelu_avx512f_standalone") {
+ cflags = [
-+
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-avx512f-rational-6-4-div.c"
+ ]
- sources = [
@@ -14138,14 +14712,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_avx512f") {
++ source_set("f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-avx512f-rational-6-4-div.c"
++ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-avx512fp16-rational-6-4-div.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -14230,14 +14813,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_avx512f_standalone") {
++ source_set("f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-avx512f-rational-6-4-div.c"
++ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-avx512fp16-rational-6-4-div.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -14353,23 +14945,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
++ source_set("f16-vapproxgelu_f16c-no-avx2-no-fma") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-avx512fp16-rational-6-4-div.c"
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-f16c-rational-6-4-div.c"
+ ]
- if (build_with_chromium) {
@@ -14450,23 +15035,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
++ source_set("f16-vapproxgelu_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-avx512fp16-rational-6-4-div.c"
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-f16c-rational-6-4-div.c"
+ ]
- sources = [
@@ -14509,16 +15087,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-f16-vcvt_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_f16c-no-avx2-no-fma") {
++ source_set("f16-vapproxgelu_x64") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-f16c-rational-6-4-div.c"
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
+ ]
- sources = [
@@ -14630,16 +15206,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vapproxgelu_x64_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-f16c-rational-6-4-div.c"
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
+ ]
- if (build_with_chromium) {
@@ -14690,14 +15264,41 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-gemm_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_x64") {
++ source_set("f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+ cflags = [
-+
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vbinary/gen/f16-vadd-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vaddc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vdiv-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vdivc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vmax-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vmaxc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vmin-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vminc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vmul-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vmulc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vprelu-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vpreluc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vrdivc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vrpreluc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vrsubc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiff-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiffc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vsub-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vsubc-avx512fp16-u64.c"
+ ]
- sources = [
@@ -14820,14 +15421,41 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_x64_standalone") {
++ source_set("f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+ cflags = [
-+
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vbinary/gen/f16-vadd-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vaddc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vdiv-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vdivc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vmax-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vmaxc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vmin-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vminc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vmul-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vmulc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vprelu-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vpreluc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vrdivc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vrpreluc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vrsubc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiff-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiffc-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vsub-avx512fp16-u64.c",
++ "src/src/f16-vbinary/gen/f16-vsubc-avx512fp16-u64.c"
+ ]
- if (build_with_chromium) {
@@ -14914,41 +15542,34 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-gemm_x64") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
++ source_set("f16-vbinary_f16c-no-avx2-no-fma") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-avx512fp16-u64.c"
++ "src/src/f16-vbinary/gen/f16-vadd-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vaddc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vdiv-f16c-u8.c",
++ "src/src/f16-vbinary/gen/f16-vdivc-f16c-u8.c",
++ "src/src/f16-vbinary/gen/f16-vmax-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmaxc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmin-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vminc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmul-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmulc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vprelu-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vpreluc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vrdivc-f16c-u8.c",
++ "src/src/f16-vbinary/gen/f16-vrpreluc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vrsubc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiff-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiffc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsub-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsubc-f16c-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -14996,41 +15617,34 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vbinary_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
++ source_set("f16-vbinary_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-avx512fp16-u64.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-avx512fp16-u64.c"
++ "src/src/f16-vbinary/gen/f16-vadd-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vaddc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vdiv-f16c-u8.c",
++ "src/src/f16-vbinary/gen/f16-vdivc-f16c-u8.c",
++ "src/src/f16-vbinary/gen/f16-vmax-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmaxc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmin-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vminc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmul-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmulc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vprelu-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vpreluc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vrdivc-f16c-u8.c",
++ "src/src/f16-vbinary/gen/f16-vrpreluc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vrsubc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiff-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiffc-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsub-f16c-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsubc-f16c-u16.c"
+ ]
- sources = [
@@ -15147,7 +15761,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vbinary_f16c-no-avx2-no-fma") {
++ source_set("f16-vclamp_f16c-no-avx2-no-fma") {
+ cflags = [
+ "-mf16c",
+ "-mno-avx2",
@@ -15156,25 +15770,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-f16c-u16.c"
++ "src/src/f16-vclamp/gen/f16-vclamp-f16c-u16.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -15211,7 +15807,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vbinary_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vclamp_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
+ "-mf16c",
+ "-mno-avx2",
@@ -15220,25 +15816,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-f16c-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-f16c-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-f16c-u16.c"
++ "src/src/f16-vclamp/gen/f16-vclamp-f16c-u16.c"
+ ]
- sources = [
@@ -15350,16 +15928,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vclamp_f16c-no-avx2-no-fma") {
++ source_set("f16-vcos_avx512f") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-f16c-u16.c"
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-avx512f-poly-3.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -15396,16 +15972,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vclamp_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vcos_avx512f_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-f16c-u16.c"
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-avx512f-poly-3.c"
+ ]
- sources = [
@@ -15522,14 +16096,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-igemm_avx512f") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f16-vcos_avx512f") {
++ source_set("f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-avx512f-poly-3.c"
++ "src/src/f16-vcos/gen/f16-vcos-avx512fp16-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -15575,14 +16158,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_avx512f_standalone") {
++ source_set("f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-avx512f-poly-3.c"
++ "src/src/f16-vcos/gen/f16-vcos-avx512fp16-poly-3.c"
+ ]
- sources = [
@@ -15730,23 +16322,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
++ source_set("f16-vcos_f16c-no-avx2-no-fma") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-avx512fp16-poly-3.c"
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-f16c-poly-3.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -15806,23 +16391,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
++ source_set("f16-vcos_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-avx512fp16-poly-3.c"
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-f16c-poly-3.c"
+ ]
- sources = [
@@ -15924,16 +16502,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vcos_f16c-no-avx2-no-fma") {
++ source_set("f16-vcos_x64") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-f16c-poly-3.c"
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -15991,16 +16567,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vcos_x64_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-f16c-poly-3.c"
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
+ ]
- sources = [
@@ -16068,14 +16642,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vcos_x64") {
++ source_set("f16-velu_f16c-fma-avx2") {
+ cflags = [
-+
++ "-mavx2",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
++ "src/src/f16-velu/gen/f16-velu-avx2-rr1-p3-u16.c"
+ ]
- if (build_with_chromium) {
@@ -16184,14 +16760,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_x64_standalone") {
++ source_set("f16-velu_f16c-fma-avx2_standalone") {
+ cflags = [
-+
++ "-mavx2",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
++ "src/src/f16-velu/gen/f16-velu-avx2-rr1-p3-u16.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -16312,16 +16890,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-velu_f16c-fma-avx2") {
++ source_set("f16-vexp_avx512f") {
+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-avx2-rr1-p3-u16.c"
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-avx512f-poly-3.c"
+ ]
- if (build_with_chromium) {
@@ -16404,16 +16980,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-velu_f16c-fma-avx2_standalone") {
++ source_set("f16-vexp_avx512f_standalone") {
+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-avx2-rr1-p3-u16.c"
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-avx512f-poly-3.c"
+ ]
- sources = [
@@ -16483,14 +17057,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vexp_avx512f") {
++ source_set("f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-avx512f-poly-3.c"
++ "src/src/f16-vexp/gen/f16-vexp-avx512fp16-poly-3.c"
+ ]
- if (build_with_chromium) {
@@ -16599,14 +17182,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_avx512f_standalone") {
++ source_set("f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-avx512f-poly-3.c"
++ "src/src/f16-vexp/gen/f16-vexp-avx512fp16-poly-3.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -16741,23 +17333,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
++ source_set("f16-vexp_f16c-no-avx2-no-fma") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-avx512fp16-poly-3.c"
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-f16c-poly-3.c"
+ ]
- if (build_with_chromium) {
@@ -16863,23 +17448,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
++ source_set("f16-vexp_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-avx512fp16-poly-3.c"
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-f16c-poly-3.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -16946,16 +17524,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vexp_f16c-no-avx2-no-fma") {
++ source_set("f16-vexp_x64") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-f16c-poly-3.c"
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -16992,16 +17568,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vexp_x64_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-f16c-poly-3.c"
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
+ ]
- sources = [
@@ -17134,14 +17708,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vexp_x64") {
++ source_set("f16-vgelu_x64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -17226,14 +17800,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_x64_standalone") {
++ source_set("f16-vgelu_x64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -17354,14 +17928,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vgelu_x64") {
++ source_set("f16-vhswish_f16c-no-avx2-no-fma") {
+ cflags = [
-+
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vhswish/gen/f16-vhswish-f16c-u16.c"
+ ]
- if (build_with_chromium) {
@@ -17442,14 +18018,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_x64_standalone") {
++ source_set("f16-vhswish_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vhswish/gen/f16-vhswish-f16c-u16.c"
+ ]
- sources = [
@@ -17519,16 +18097,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vhswish_f16c-no-avx2-no-fma") {
++ source_set("f16-vlog_avx512f") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-f16c-u16.c"
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-avx512f-rational-1-3-div.c"
+ ]
- if (build_with_chromium) {
@@ -17634,16 +18210,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vhswish_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vlog_avx512f_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-f16c-u16.c"
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-avx512f-rational-1-3-div.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -17771,14 +18345,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vlog_avx512f") {
++ source_set("f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-avx512f-rational-1-3-div.c"
++ "src/src/f16-vlog/gen/f16-vlog-avx512fp16-rational-1-3-div.c"
+ ]
- if (build_with_chromium) {
@@ -17859,14 +18442,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_avx512f_standalone") {
++ source_set("f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-avx512f-rational-1-3-div.c"
++ "src/src/f16-vlog/gen/f16-vlog-avx512fp16-rational-1-3-div.c"
+ ]
- sources = [
@@ -17910,23 +18502,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-qu8-vcvt_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
++ source_set("f16-vlog_f16c-no-avx2-no-fma") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-avx512fp16-rational-1-3-div.c"
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-f16c-rational-1-3-div.c"
+ ]
- sources = [
@@ -17974,23 +18559,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
++ source_set("f16-vlog_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-avx512fp16-rational-1-3-div.c"
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-f16c-rational-1-3-div.c"
+ ]
- sources = [
@@ -18033,16 +18611,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-raddstoreexpminusmax_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f16-vlog_f16c-no-avx2-no-fma") {
++ source_set("f16-vlog_x64") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-f16c-rational-1-3-div.c"
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
+ ]
- sources = [
@@ -18146,16 +18722,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vlog_x64_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-f16c-rational-1-3-div.c"
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
+ ]
- if (build_with_chromium) {
@@ -18270,14 +18844,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vlog_x64") {
++ source_set("f16-vlrelu_f16c-no-avx2-no-fma") {
+ cflags = [
-+
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
++ "src/src/f16-vlrelu/gen/f16-vlrelu-f16c-u16.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -18335,14 +18911,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_x64_standalone") {
++ source_set("f16-vlrelu_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
++ "src/src/f16-vlrelu/gen/f16-vlrelu-f16c-u16.c"
+ ]
- sources = [
@@ -18410,16 +18988,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vlrelu_f16c-no-avx2-no-fma") {
++ source_set("f16-vmulcaddc_f16c-fma-no-avx2") {
+ cflags = [
+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mfma",
++ "-mno-avx2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-f16c-u16.c"
++ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-fma3-2x.c"
+ ]
- if (build_with_chromium) {
@@ -18506,16 +19084,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlrelu_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vmulcaddc_f16c-fma-no-avx2_standalone") {
+ cflags = [
+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mfma",
++ "-mno-avx2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-f16c-u16.c"
++ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-fma3-2x.c"
+ ]
- sources = [
@@ -18585,16 +19163,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vmulcaddc_f16c-fma-no-avx2") {
++ source_set("f16-vrnd_f16c-no-avx2-no-fma") {
+ cflags = [
+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-fma3-2x.c"
++ "src/src/f16-vrnd/gen/f16-vrndd-f16c-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndne-f16c-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndu-f16c-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndz-f16c-u16.c"
+ ]
- if (build_with_chromium) {
@@ -18677,16 +19258,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vmulcaddc_f16c-fma-no-avx2_standalone") {
++ source_set("f16-vrnd_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-fma3-2x.c"
++ "src/src/f16-vrnd/gen/f16-vrndd-f16c-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndne-f16c-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndu-f16c-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndz-f16c-u16.c"
+ ]
- sources = [
@@ -18756,7 +19340,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vrnd_f16c-no-avx2-no-fma") {
++ source_set("f16-vrsqrt_f16c-no-avx2-no-fma") {
+ cflags = [
+ "-mf16c",
+ "-mno-avx2",
@@ -18765,10 +19349,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-f16c-u16.c"
++ "src/src/f16-vrsqrt/gen/f16-vrsqrt-f16c-rsqrt-u32.c"
+ ]
- if (build_with_chromium) {
@@ -18853,7 +19434,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrnd_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vrsqrt_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
+ "-mf16c",
+ "-mno-avx2",
@@ -18862,10 +19443,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-f16c-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-f16c-u16.c"
++ "src/src/f16-vrsqrt/gen/f16-vrsqrt-f16c-rsqrt-u32.c"
+ ]
- sources = [
@@ -18933,16 +19511,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vrsqrt_f16c-no-avx2-no-fma") {
++ source_set("f16-vsigmoid_f16c-fma-avx2") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx2",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-f16c-rsqrt-u32.c"
++ "src/src/f16-vsigmoid/gen/f16-vsigmoid-avx2-rr1-p2-rcp-u32.c"
+ ]
- if (build_with_chromium) {
@@ -19023,16 +19601,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrsqrt_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vsigmoid_f16c-fma-avx2_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mavx2",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-f16c-rsqrt-u32.c"
++ "src/src/f16-vsigmoid/gen/f16-vsigmoid-avx2-rr1-p2-rcp-u32.c"
+ ]
- sources = [
@@ -19100,16 +19678,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vsigmoid_f16c-fma-avx2") {
++ source_set("f16-vsin_avx512f") {
+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-avx2-rr1-p2-rcp-u32.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-avx512f-poly-3.c"
+ ]
- if (build_with_chromium) {
@@ -19194,16 +19770,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsigmoid_f16c-fma-avx2_standalone") {
++ source_set("f16-vsin_avx512f_standalone") {
+ cflags = [
-+ "-mavx2",
-+ "-mf16c",
-+ "-mfma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-avx2-rr1-p2-rcp-u32.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-avx512f-poly-3.c"
+ ]
- sources = [
@@ -19271,14 +19845,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vsin_avx512f") {
++ source_set("f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-avx512f-poly-3.c"
++ "src/src/f16-vsin/gen/f16-vsin-avx512fp16-poly-3.c"
+ ]
- if (build_with_chromium) {
@@ -19359,14 +19942,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_avx512f_standalone") {
++ source_set("f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-avx512f-poly-3.c"
++ "src/src/f16-vsin/gen/f16-vsin-avx512fp16-poly-3.c"
+ ]
- sources = [
@@ -19434,23 +20026,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
++ source_set("f16-vsin_f16c-no-avx2-no-fma") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-avx512fp16-poly-3.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-f16c-poly-3.c"
+ ]
- if (build_with_chromium) {
@@ -19539,23 +20124,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
++ source_set("f16-vsin_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-avx512fp16-poly-3.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-f16c-poly-3.c"
+ ]
- sources = [
@@ -19627,16 +20205,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vsin_f16c-no-avx2-no-fma") {
++ source_set("f16-vsin_x64") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-f16c-poly-3.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
+ ]
- if (build_with_chromium) {
@@ -19721,16 +20297,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vsin_x64_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-f16c-poly-3.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
+ ]
- sources = [
@@ -19802,14 +20376,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vsin_x64") {
++ source_set("f16-vsqrt_f16c-no-avx2-no-fma") {
+ cflags = [
-+
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-f16c-rsqrt-u32.c"
+ ]
- if (build_with_chromium) {
@@ -19894,14 +20470,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_x64_standalone") {
++ source_set("f16-vsqrt_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-f16c-rsqrt-u32.c"
+ ]
- sources = [
@@ -19969,16 +20547,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vsqrt_f16c-no-avx2-no-fma") {
++ source_set("f16-vsqrt_x64") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-f16c-rsqrt-u32.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
+ ]
- if (build_with_chromium) {
@@ -20059,16 +20635,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vsqrt_x64_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-f16c-rsqrt-u32.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
+ ]
- sources = [
@@ -20136,14 +20710,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vsqrt_x64") {
++ source_set("f16-vtanh_avx512f") {
+ cflags = [
-+
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-avx512f-rational-5-4-div.c"
+ ]
- if (build_with_chromium) {
@@ -20228,14 +20802,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_x64_standalone") {
++ source_set("f16-vtanh_avx512f_standalone") {
+ cflags = [
-+
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-avx512f-rational-5-4-div.c"
+ ]
- sources = [
@@ -20303,14 +20877,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vtanh_avx512f") {
++ source_set("f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-avx512f-rational-5-4-div.c"
++ "src/src/f16-vtanh/gen/f16-vtanh-avx512fp16-rational-5-4-div.c"
+ ]
- if (build_with_chromium) {
@@ -20391,14 +20974,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_avx512f_standalone") {
++ source_set("f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
+ cflags = [
-+ "-mavx512f"
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512fp16",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-avx512f-rational-5-4-div.c"
++ "src/src/f16-vtanh/gen/f16-vtanh-avx512fp16-rational-5-4-div.c"
+ ]
- sources = [
@@ -20466,23 +21058,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16") {
++ source_set("f16-vtanh_f16c-no-avx2-no-fma") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-avx512fp16-rational-5-4-div.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-f16c-rational-5-4-div.c"
+ ]
- if (build_with_chromium) {
@@ -20563,23 +21148,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512fp16_standalone") {
++ source_set("f16-vtanh_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512fp16",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-avx512fp16-rational-5-4-div.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-f16c-rational-5-4-div.c"
+ ]
- sources = [
@@ -20651,16 +21229,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vtanh_f16c-no-avx2-no-fma") {
++ source_set("f16-vtanh_x64") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-f16c-rational-5-4-div.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
+ ]
- if (build_with_chromium) {
@@ -20745,16 +21321,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vtanh_x64_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-f16c-rational-5-4-div.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
+ ]
- sources = [
@@ -20797,14 +21371,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-vapproxgelu_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f16-vtanh_x64") {
++ source_set("f16-vunary_f16c-no-avx2-no-fma") {
+ cflags = [
-+
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
++ "src/src/f16-vunary/gen/f16-vsqr-f16c-u16.c"
+ ]
- sources = [
@@ -20908,14 +21484,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_x64_standalone") {
++ source_set("f16-vunary_f16c-no-avx2-no-fma_standalone") {
+ cflags = [
-+
++ "-mf16c",
++ "-mno-avx2",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
++ "src/src/f16-vunary/gen/f16-vsqr-f16c-u16.c"
+ ]
- if (build_with_chromium) {
@@ -21005,16 +21583,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vunary_f16c-no-avx2-no-fma") {
++ source_set("f16-vunary_sse2-no-sse3") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mno-sse3",
++ "-msse2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vsqr-f16c-u16.c"
++ "src/src/f16-vunary/gen/f16-vabs-sse2-u16.c",
++ "src/src/f16-vunary/gen/f16-vneg-sse2-u16.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -21051,16 +21629,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vunary_f16c-no-avx2-no-fma_standalone") {
++ source_set("f16-vunary_sse2-no-sse3_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mno-avx2",
-+ "-mno-fma"
++ "-mno-sse3",
++ "-msse2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vsqr-f16c-u16.c"
++ "src/src/f16-vunary/gen/f16-vabs-sse2-u16.c",
++ "src/src/f16-vunary/gen/f16-vneg-sse2-u16.c"
+ ]
- sources = [
@@ -21242,7 +21820,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vunary_sse2-no-sse3") {
++ source_set("f32-argmaxpool_sse2-no-sse3") {
+ cflags = [
+ "-mno-sse3",
+ "-msse2"
@@ -21250,8 +21828,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-sse2-u16.c",
-+ "src/src/f16-vunary/gen/f16-vneg-sse2-u16.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-sse2-c4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -21358,7 +21935,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vunary_sse2-no-sse3_standalone") {
++ source_set("f32-argmaxpool_sse2-no-sse3_standalone") {
+ cflags = [
+ "-mno-sse3",
+ "-msse2"
@@ -21366,8 +21943,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-sse2-u16.c",
-+ "src/src/f16-vunary/gen/f16-vneg-sse2-u16.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-sse2-c4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -21501,15 +22077,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_sse2-no-sse3") {
++ source_set("f32-argmaxpool_x64") {
+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-sse2-c4.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
+ ]
- if (build_with_chromium) {
@@ -21573,15 +22148,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_sse2-no-sse3_standalone") {
++ source_set("f32-argmaxpool_x64_standalone") {
+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-sse2-c4.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
+ ]
- sources = [
@@ -21715,14 +22289,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-vclamp/gen/f32-vclamp-avx512f.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_x64") {
++ source_set("f32-avgpool_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
-+
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx-u8.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -21759,14 +22336,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_x64_standalone") {
++ source_set("f32-avgpool_avx-no-avx2-no-f16c-no-fma_standalone") {
+ cflags = [
-+
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx-u8.c"
+ ]
- sources = [
@@ -21890,17 +22470,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-avgpool_avx-no-avx2-no-f16c-no-fma") {
++ source_set("f32-avgpool_avx512f") {
+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx-u8.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx512f-u16.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -21954,17 +22531,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_avx-no-avx2-no-f16c-no-fma_standalone") {
++ source_set("f32-avgpool_avx512f_standalone") {
+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx-u8.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx512f-u16.c"
+ ]
- sources = [
@@ -22007,14 +22581,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-vcmul_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f32-avgpool_avx512f") {
++ source_set("f32-avgpool_sse2-no-sse3") {
+ cflags = [
-+ "-mavx512f"
++ "-mno-sse3",
++ "-msse2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx512f-u16.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-sse2-u4.c"
+ ]
- sources = [
@@ -22118,14 +22693,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_avx512f_standalone") {
++ source_set("f32-avgpool_sse2-no-sse3_standalone") {
+ cflags = [
-+ "-mavx512f"
++ "-mno-sse3",
++ "-msse2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-avx512f-u16.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-sse2-u4.c"
+ ]
- if (build_with_chromium) {
@@ -22213,15 +22789,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-avgpool_sse2-no-sse3") {
++ source_set("f32-avgpool_x64") {
+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-sse2-u4.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -22258,15 +22833,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_sse2-no-sse3_standalone") {
++ source_set("f32-avgpool_x64_standalone") {
+ cflags = [
-+ "-mno-sse3",
-+ "-msse2"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-sse2-u4.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -22388,14 +22962,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx512f.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-avgpool_x64") {
++ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
-+
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512skx-u16.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -22432,14 +23012,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_x64_standalone") {
++ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+ cflags = [
-+
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512skx-u16.c"
+ ]
- sources = [
@@ -22559,20 +23145,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16") {
+ cflags = [
-+ "-mavx512bw",
++ "-mavx512bf16",
++ "-mavx512bw",
+ "-mavx512cd",
+ "-mavx512dq",
+ "-mavx512f",
+ "-mavx512vl",
++ "-mavx512vnni",
+ "-mf16c",
-+ "-mfma"
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512skx-u16.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512bf16-u16.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -22609,20 +23198,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16_standalone") {
+ cflags = [
-+ "-mavx512bw",
++ "-mavx512bf16",
++ "-mavx512bw",
+ "-mavx512cd",
+ "-mavx512dq",
+ "-mavx512f",
+ "-mavx512vl",
++ "-mavx512vnni",
+ "-mf16c",
-+ "-mfma"
++ "-mfma",
++ "-mgfni"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512skx-u16.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512bf16-u16.c"
+ ]
- sources = [
@@ -22740,23 +23332,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-vcos/gen/f32-vcos-avx512f-rational-5-4-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16") {
++ source_set("f32-bf16-vcvt_x64") {
+ cflags = [
-+ "-mavx512bf16",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512bf16-u16.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -22793,23 +23376,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-avx512bf16_standalone") {
++ source_set("f32-bf16-vcvt_x64_standalone") {
+ cflags = [
-+ "-mavx512bf16",
-+ "-mavx512bw",
-+ "-mavx512cd",
-+ "-mavx512dq",
-+ "-mavx512f",
-+ "-mavx512vl",
-+ "-mavx512vnni",
-+ "-mf16c",
-+ "-mfma",
-+ "-mgfni"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-avx512bf16-u16.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
+ ]
- sources = [
@@ -22939,14 +23513,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_x64") {
++ source_set("f32-conv-hwc2chw_sse-no-sse2") {
+ cflags = [
-+
++ "-mno-sse2",
++ "-msse"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-sse-2x2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -23005,14 +23580,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_x64_standalone") {
++ source_set("f32-conv-hwc2chw_sse-no-sse2_standalone") {
+ cflags = [
-+
++ "-mno-sse2",
++ "-msse"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-sse-2x2.c"
+ ]
- sources = [
@@ -23080,15 +23656,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_sse-no-sse2") {
++ source_set("f32-conv-hwc2chw_x64") {
+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-sse-2x2.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
+ ]
- if (build_with_chromium) {
@@ -23173,15 +23748,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_sse-no-sse2_standalone") {
++ source_set("f32-conv-hwc2chw_x64_standalone") {
+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-sse-2x2.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
+ ]
- sources = [
@@ -23224,14 +23798,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-velu_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_x64") {
++ source_set("f32-dwconv2d-chw_sse-no-sse2") {
+ cflags = [
-+
++ "-mno-sse2",
++ "-msse"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-sse-2x4-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-sse-1x4-acc3.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-sse-4x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-sse-2x4.c"
+ ]
- sources = [
@@ -23335,14 +23913,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_x64_standalone") {
++ source_set("f32-dwconv2d-chw_sse-no-sse2_standalone") {
+ cflags = [
-+
++ "-mno-sse2",
++ "-msse"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-sse-2x4-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-sse-1x4-acc3.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-sse-4x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-sse-2x4.c"
+ ]
- if (build_with_chromium) {
@@ -23430,18 +24012,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_sse-no-sse2") {
++ source_set("f32-dwconv2d-chw_ssse3-no-sse4.1") {
+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
++ "-mno-sse4.1",
++ "-mssse3"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-sse-2x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-sse-1x4-acc3.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-sse-4x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-sse-2x4.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-ssse3-2x4-acc2.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -23478,18 +24057,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_sse-no-sse2_standalone") {
++ source_set("f32-dwconv2d-chw_ssse3-no-sse4.1_standalone") {
+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
++ "-mno-sse4.1",
++ "-mssse3"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-sse-2x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-sse-1x4-acc3.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-sse-4x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-sse-2x4.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-ssse3-2x4-acc2.c"
+ ]
- sources = [
@@ -23605,15 +24181,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-vexp/gen/f32-vexp-avx512f-rational-3-2-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_ssse3-no-sse4.1") {
++ source_set("f32-dwconv2d-chw_x64") {
+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-ssse3-2x4-acc2.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -23650,15 +24232,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_ssse3-no-sse4.1_standalone") {
++ source_set("f32-dwconv2d-chw_x64_standalone") {
+ cflags = [
-+ "-mno-sse4.1",
-+ "-mssse3"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-ssse3-2x4-acc2.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
+ ]
- sources = [
@@ -23788,21 +24376,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_x64") {
++ source_set("f32-dwconv_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
-+
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -23861,21 +24448,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_x64_standalone") {
++ source_set("f32-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
+ cflags = [
-+
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx.c"
+ ]
- sources = [
@@ -23943,20 +24529,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-dwconv_avx-no-avx2-no-f16c-no-fma") {
++ source_set("f32-dwconv_avx512f") {
+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx512f.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx512f.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx512f.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx512f.c"
+ ]
- if (build_with_chromium) {
@@ -24041,20 +24624,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
++ source_set("f32-dwconv_avx512f_standalone") {
+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
++ "-mavx512f"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx512f.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx512f.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx512f.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx512f.c"
+ ]
- sources = [
@@ -24097,17 +24677,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-vgelu_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f32-dwconv_avx512f") {
++ source_set("f32-dwconv_f16c-fma-no-avx2") {
+ cflags = [
-+ "-mavx512f"
++ "-mf16c",
++ "-mfma",
++ "-mno-avx2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx512f.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-fma3.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-fma3.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-fma3.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-fma3.c"
+ ]
- sources = [
@@ -24211,17 +24793,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_avx512f_standalone") {
++ source_set("f32-dwconv_f16c-fma-no-avx2_standalone") {
+ cflags = [
-+ "-mavx512f"
++ "-mf16c",
++ "-mfma",
++ "-mno-avx2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-avx512f.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-avx512f.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-fma3.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-fma3.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-fma3.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-fma3.c"
+ ]
- if (build_with_chromium) {
@@ -24311,19 +24895,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-dwconv_f16c-fma-no-avx2") {
++ source_set("f32-dwconv_sse-no-sse2") {
+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
++ "-mno-sse2",
++ "-msse"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-fma3.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-sse.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-sse.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-sse.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-sse.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -24360,19 +24943,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_f16c-fma-no-avx2_standalone") {
++ source_set("f32-dwconv_sse-no-sse2_standalone") {
+ cflags = [
-+ "-mf16c",
-+ "-mfma",
-+ "-mno-avx2"
++ "-mno-sse2",
++ "-msse"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p16c-minmax-fma3.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p16c-minmax-fma3.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-sse.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-sse.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-sse.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-sse.c"
+ ]
- sources = [
@@ -24488,18 +25070,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-vhswish/gen/f32-vhswish-avx512f.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-dwconv_sse-no-sse2") {
++ source_set("f32-dwconv_x64") {
+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-sse.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -24536,18 +25123,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_sse-no-sse2_standalone") {
++ source_set("f32-dwconv_x64_standalone") {
+ cflags = [
-+ "-mno-sse2",
-+ "-msse"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8c-minmax-sse.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8c-minmax-sse.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
+ ]
- sources = [
@@ -24676,34 +25268,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f32-dwconv_x64") {
++ source_set("f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
-+
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx-u24.c"
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vhswish_sse2-no-sse3_standalone") {
@@ -24736,54 +25318,63 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("f32-vhswish_x64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-- if (build_with_chromium) {
-- source_set("f32-vhswish_x64") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_x64_standalone") {
++ source_set("f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
+ cflags = [
-+
++ "-mavx",
++ "-mno-avx2",
++ "-mno-f16c",
++ "-mno-fma"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx-u24.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vhswish/gen/f32-vhswish-scalar.c",
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -24791,38 +25382,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vhswish_x64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx-u24.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -24846,79 +25410,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_avx512f") {
-- cflags = [ "-mavx512f" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-+ cflags = [
-+ "-mavx",
-+ "-mno-avx2",
-+ "-mno-f16c",
-+ "-mno-fma"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx-u24.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_avx512f_standalone") {
+- if (build_with_chromium) {
+- source_set("f32-vlog_avx512f") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
+ source_set("f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
@@ -24936,106 +25435,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx512skx-u16.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-f16-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -25053,109 +25469,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-avx512skx-u16.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
-- "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-f16-vcvt_f16c-no-avx2-no-fma") {
+ cflags = [
@@ -25168,47 +25502,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-f16c-u16.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
-- "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -25217,12 +25516,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlog_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-f16-vcvt_f16c-no-avx2-no-fma_standalone") {
@@ -25236,71 +25532,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-f16c-u16.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlog_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-f16-vcvt_sse2-no-sse3") {
+ cflags = [
@@ -25312,87 +25564,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse2-u16.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_avx512f") {
-- cflags = [ "-mavx512f" ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-f16-vcvt_sse2-no-sse3_standalone") {
@@ -25405,46 +25593,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse2-u16.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
++
+if (build_with_chromium) {
+ source_set("f32-f16-vcvt_sse4.1-no-sse4.2") {
+ cflags = [
@@ -25456,104 +25625,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse41-u8.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-f16-vcvt_sse4.1-no-sse4.2_standalone") {
@@ -25566,91 +25654,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-sse41-u8.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-f16-vcvt_x64") {
+ cflags = [
@@ -25661,39 +25685,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vlrelu_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-f16-vcvt_x64_standalone") {
@@ -25705,115 +25713,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_sse-no-sse2") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_sse-no-sse2_standalone") {
-- cflags = [
-- "-mno-sse2",
-- "-msse",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vmulcaddc_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-gemm_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -25830,39 +25750,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-avx-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-avx-broadcast.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vmulcaddc_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -25880,140 +25784,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-avx-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-avx-broadcast.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-gemm_avx512f") {
+ cflags = [
@@ -26027,82 +25818,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-7x16-minmax-avx512f-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-7x32-minmax-avx512f-broadcast.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-gemm_avx512f_standalone") {
@@ -26117,127 +25849,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-7x16-minmax-avx512f-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-7x32-minmax-avx512f-broadcast.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-gemm_f16c-fma-no-avx2") {
+ cflags = [
@@ -26258,51 +25890,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-fma3-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-fma3-broadcast.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrnd_x64") {
-- cflags = []
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrnd_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-gemm_f16c-fma-no-avx2_standalone") {
@@ -26324,125 +25928,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-5x16-minmax-fma3-broadcast.c",
+ "src/src/f32-gemm/gen/f32-gemm-5x8-minmax-fma3-broadcast.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-gemm_sse-no-sse2") {
+ cflags = [
@@ -26456,39 +25962,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-4x2c4-minmax-sse.c",
+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-sse-load1.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-gemm_sse-no-sse2_standalone") {
@@ -26503,119 +25993,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-4x2c4-minmax-sse.c",
+ "src/src/f32-gemm/gen/f32-gemm-4x8-minmax-sse-load1.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vrsqrt_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-gemm_x64") {
+ cflags = [
@@ -26631,39 +26029,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vrsqrt_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-gemm_x64_standalone") {
@@ -26680,132 +26062,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-ibilinear-chw_sse-no-sse2") {
+ cflags = [
@@ -26817,77 +26094,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-sse-p8.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-ibilinear-chw_sse-no-sse2_standalone") {
@@ -26900,121 +26123,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-sse-p8.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-ibilinear-chw_x64") {
+ cflags = [
@@ -27025,85 +26154,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsigmoid_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-ibilinear-chw_x64_standalone") {
@@ -27115,71 +26182,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsigmoid_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-ibilinear_sse-no-sse2") {
+ cflags = [
@@ -27191,87 +26214,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear/gen/f32-ibilinear-sse-u8.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_avx512f") {
-- cflags = [ "-mavx512f" ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-ibilinear_sse-no-sse2_standalone") {
@@ -27284,46 +26243,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear/gen/f32-ibilinear-sse-u8.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
++
+if (build_with_chromium) {
+ source_set("f32-ibilinear_x64") {
+ cflags = [
@@ -27334,106 +26274,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-ibilinear_x64_standalone") {
@@ -27445,93 +26302,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
-- "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
-- "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsin_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-igemm_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -27548,39 +26339,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-avx-broadcast.c",
+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-avx-broadcast.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsin_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -27598,121 +26373,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-avx-broadcast.c",
+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-avx-broadcast.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-igemm_avx512f") {
+ cflags = [
@@ -27726,39 +26407,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-7x16-minmax-avx512f-broadcast.c",
+ "src/src/f32-igemm/gen/f32-igemm-7x32-minmax-avx512f-broadcast.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-igemm_avx512f_standalone") {
@@ -27773,117 +26438,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-7x16-minmax-avx512f-broadcast.c",
+ "src/src/f32-igemm/gen/f32-igemm-7x32-minmax-avx512f-broadcast.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vsqrt_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-igemm_f16c-fma-no-avx2") {
+ cflags = [
@@ -27903,39 +26478,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-fma3-broadcast-prfm.c",
+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-fma3-broadcast.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vsqrt_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-igemm_f16c-fma-no-avx2_standalone") {
@@ -27956,119 +26515,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-5x16-minmax-fma3-broadcast-prfm.c",
+ "src/src/f32-igemm/gen/f32-igemm-5x8-minmax-fma3-broadcast.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_avx512f") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-igemm_sse-no-sse2") {
+ cflags = [
@@ -28082,39 +26549,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-4x2c4-minmax-sse.c",
+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-sse-load1.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-igemm_sse-no-sse2_standalone") {
@@ -28129,133 +26580,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-4x2c4-minmax-sse.c",
+ "src/src/f32-igemm/gen/f32-igemm-4x8-minmax-sse-load1.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_f16c-fma-no-avx2") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_f16c-fma-no-avx2_standalone") {
-- cflags = [
-- "-mf16c",
-- "-mfma",
-- "-mno-avx2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-igemm_x64") {
+ cflags = [
@@ -28271,47 +26616,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
-- "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -28320,12 +26630,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vtanh_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-igemm_x64_standalone") {
@@ -28342,71 +26649,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vtanh_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-maxpool_sse2-no-sse3") {
+ cflags = [
@@ -28418,91 +26681,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-sse2-u4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_avx512f") {
-- cflags = [ "-mavx512f" ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-maxpool_sse2-no-sse3_standalone") {
@@ -28515,75 +26710,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-sse2-u4.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx512f.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_avx512f_standalone") {
-- cflags = [ "-mavx512f" ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
-- "src/src/f32-vunary/gen/f32-vsqr-avx512f.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-maxpool_x64") {
+ cflags = [
@@ -28594,87 +26741,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-sse2.c",
-- "src/src/f32-vunary/gen/f32-vneg-sse2.c",
-- "src/src/f32-vunary/gen/f32-vsqr-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-sse2.c",
-- "src/src/f32-vunary/gen/f32-vneg-sse2.c",
-- "src/src/f32-vunary/gen/f32-vsqr-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("f32-vunary_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-maxpool_x64_standalone") {
@@ -28686,75 +26769,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-vunary_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -28769,70 +26804,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx-broadcast.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("operators_x64") {
-- cflags = []
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("operators_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -28848,142 +26836,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx-broadcast.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/operators/argmax-pooling-nhwc.c",
-- "src/src/operators/average-pooling-nhwc.c",
-- "src/src/operators/batch-matrix-multiply-nc.c",
-- "src/src/operators/binary-elementwise-nd.c",
-- "src/src/operators/constant-pad-nd.c",
-- "src/src/operators/convolution-nchw.c",
-- "src/src/operators/convolution-nhwc.c",
-- "src/src/operators/deconvolution-nhwc.c",
-- "src/src/operators/dynamic-fully-connected-nc.c",
-- "src/src/operators/fingerprint_cache.c",
-- "src/src/operators/fingerprint_id.c",
-- "src/src/operators/fully-connected-nc.c",
-- "src/src/operators/max-pooling-nhwc.c",
-- "src/src/operators/pack-lh.c",
-- "src/src/operators/reduce-nd.c",
-- "src/src/operators/resize-bilinear-nchw.c",
-- "src/src/operators/resize-bilinear-nhwc.c",
-- "src/src/operators/rope-nthc.c",
-- "src/src/operators/slice-nd.c",
-- "src/src/operators/softmax-nc.c",
-- "src/src/operators/transpose-nd.c",
-- "src/src/operators/unary-elementwise-nc.c",
-- "src/src/operators/unpooling-nhwc.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-bf16-qb4w-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-qc4w-gemm_f16c-fma-avx2") {
+ cflags = [
@@ -28997,39 +26870,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx2-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx2-broadcast.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-bf16-qb4w-gemm_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc4w-gemm_f16c-fma-avx2_standalone") {
@@ -29044,139 +26901,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-avx2-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-avx2-broadcast.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-qc4w-gemm_f16c-fma-no-avx2") {
+ cflags = [
@@ -29190,50 +26935,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-fma3-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-fma3-broadcast.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -29242,34 +26949,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc4w-gemm_f16c-fma-no-avx2_standalone") {
@@ -29284,47 +26966,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x16-minmax-fma3-broadcast.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-3x16-minmax-fma3-broadcast.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -29336,18 +26983,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc2w-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-qc4w-gemm_sse4.1-no-sse4.2") {
+ cflags = [
@@ -29360,39 +26999,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-sse41-dup.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-sse41-dup.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc2w-gemm_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc4w-gemm_sse4.1-no-sse4.2_standalone") {
@@ -29406,140 +27029,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x8-minmax-sse41-dup.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x8-minmax-sse41-dup.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-qc4w-gemm_x64") {
+ cflags = [
@@ -29551,48 +27061,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -29601,39 +27075,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc4w-gemm_x64_standalone") {
@@ -29646,141 +27090,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -29795,113 +27125,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx-broadcast.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -29917,134 +27157,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx-broadcast.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_f16c-fma-avx2") {
+ cflags = [
@@ -30058,130 +27191,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx2-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx2-broadcast.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_f16c-fma-avx2_standalone") {
@@ -30196,137 +27222,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-avx2-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-avx2-broadcast.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
@@ -30346,114 +27262,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x32-minmax-avx512skx-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-7x32-minmax-avx512skx-broadcast.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -30474,141 +27299,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x32-minmax-avx512skx-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-7x32-minmax-avx512skx-broadcast.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_f16c-fma-no-avx2") {
+ cflags = [
@@ -30622,128 +27333,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-fma3-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-fma3-broadcast.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_f16c-fma-no-avx2_standalone") {
@@ -30758,125 +27364,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x16-minmax-fma3-broadcast.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-5x16-minmax-fma3-broadcast.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_sse4.1-no-sse4.2") {
+ cflags = [
@@ -30889,128 +27397,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-sse41-dup.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-sse41-dup.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
@@ -31024,129 +27427,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x8-minmax-sse41-dup.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x8-minmax-sse41-dup.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qc8w-gemm_x64") {
+ cflags = [
@@ -31158,85 +27459,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qb4w-gemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qc8w-gemm_x64_standalone") {
@@ -31249,73 +27488,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qb4w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -31329,117 +27522,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -31454,127 +27553,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx-u32.c"
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc2w-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_f16c-fma-avx2") {
+ cflags = [
@@ -31587,39 +27586,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx2-u64.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc2w-gemm_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_f16c-fma-avx2_standalone") {
@@ -31633,140 +27616,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx2-u64.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
@@ -31783,48 +27653,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx512skx-u128.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -31833,41 +27667,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -31885,143 +27687,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-avx512skx-u128.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_sse2-no-sse3") {
+ cflags = [
@@ -32033,132 +27719,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse2-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_sse2-no-sse3_standalone") {
@@ -32171,131 +27748,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse2-u32.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_sse4.1-no-sse4.2") {
+ cflags = [
@@ -32307,85 +27780,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse41-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc4w-gemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_sse4.1-no-sse4.2_standalone") {
@@ -32398,73 +27809,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-sse41-u32.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc4w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qs8-vcvt_x64") {
+ cflags = [
@@ -32476,113 +27841,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qs8-vcvt_x64_standalone") {
@@ -32595,138 +27870,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -32740,130 +27904,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -32878,131 +27935,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx-u32.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qu8-vcvt_f16c-fma-avx2") {
+ cflags = [
@@ -33015,85 +27968,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx2-u64.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-gemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qu8-vcvt_f16c-fma-avx2_standalone") {
@@ -33107,75 +27998,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx2-u64.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-gemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
@@ -33192,113 +28035,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx512skx-u128.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qu8-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -33316,138 +28069,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-avx512skx-u128.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qu8-vcvt_sse2-no-sse3") {
+ cflags = [
@@ -33459,130 +28101,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-sse2-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qu8-vcvt_sse2-no-sse3_standalone") {
@@ -33595,131 +28130,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-sse2-u32.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-qu8-vcvt_x64") {
+ cflags = [
@@ -33731,85 +28162,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qd8-f32-qc8w-igemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-qu8-vcvt_x64_standalone") {
@@ -33822,75 +28191,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qd8-f32-qc8w-igemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-raddstoreexpminusmax_avx512f") {
+ cflags = [
@@ -33901,111 +28222,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx512f-rr2-p5-u64-acc2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-raddstoreexpminusmax_avx512f_standalone") {
@@ -34017,134 +28250,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx512f-rr2-p5-u64-acc2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx2") {
+ cflags = [
@@ -34157,110 +28283,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx2-rr2-p5-u32-acc2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx2_standalone") {
@@ -34274,87 +28313,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx2-rr2-p5-u32-acc2.c"
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-dwconv_x64") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-dwconv_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+ cflags = [
@@ -34371,109 +28350,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx256skx-rr2-p5-u32-acc2.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f16-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f16-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-raddstoreexpminusmax_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
@@ -34491,111 +28384,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-avx256skx-rr2-p5-u32-acc2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-raddstoreexpminusmax_sse2-no-sse3") {
+ cflags = [
@@ -34607,47 +28416,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-sse2-rr2-p5-u16-acc2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -34656,38 +28430,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-raddstoreexpminusmax_sse2-no-sse3_standalone") {
@@ -34700,124 +28445,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-sse2-rr2-p5-u16-acc2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-raddstoreexpminusmax_x64") {
+ cflags = [
@@ -34828,83 +28476,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-f32-vcvt_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-raddstoreexpminusmax_x64_standalone") {
@@ -34916,71 +28504,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-f32-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rdminmax_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -34995,113 +28539,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdminmax_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -35117,138 +28571,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx-u32.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rdminmax_avx512f") {
+ cflags = [
@@ -35260,54 +28603,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx512f-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx512f-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-packw_x64") {
-- cflags = []
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-packw_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdminmax_avx512f_standalone") {
@@ -35320,150 +28632,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-avx512f-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-avx512f-u32.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rdminmax_sse2-no-sse3") {
+ cflags = [
@@ -35476,128 +28665,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-sse2-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-sse2-u32.c"
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdminmax_sse2-no-sse3_standalone") {
@@ -35611,108 +28695,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-sse2-u32.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-sse2-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc2w-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-rdminmax_x64") {
+ cflags = [
@@ -35724,82 +28727,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc2w-gemm_x64_standalone") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdminmax_x64_standalone") {
@@ -35812,129 +28756,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rdsum2_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -35948,116 +28790,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum2_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -36072,143 +28821,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rdsum2_avx512f") {
+ cflags = [
@@ -36219,85 +28852,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx512f.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-gemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum2_avx512f_standalone") {
@@ -36309,47 +28880,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-avx512f.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-gemm_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-rdsum2_sse2-no-sse3") {
+ cflags = [
@@ -36361,113 +28912,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-sse2.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum2_sse2-no-sse3_standalone") {
@@ -36480,129 +28941,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-sse2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-rdsum2_x64") {
+ cflags = [
@@ -36613,49 +28972,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -36664,12 +28986,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc4w-packw_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum2_x64_standalone") {
@@ -36681,73 +29000,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc4w-packw_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rdsum_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -36761,114 +29034,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -36883,137 +29065,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx-u32.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rdsum_avx512f") {
+ cflags = [
@@ -37024,113 +29096,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx512f-u64.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum_avx512f_standalone") {
@@ -37142,90 +29124,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-avx512f-u64.c"
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-dwconv_x64") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-dwconv_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-rdsum_sse2-no-sse3") {
+ cflags = [
@@ -37237,115 +29156,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-sse2-u16.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum_sse2-no-sse3_standalone") {
@@ -37358,118 +29185,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-sse2-u16.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-rdsum_x64") {
+ cflags = [
@@ -37480,50 +29216,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -37532,34 +29230,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rdsum_x64_standalone") {
@@ -37571,138 +29244,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rminmax_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -37718,130 +29280,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-avx-u32-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-avx-u32-acc4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rminmax_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -37858,131 +29313,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-avx-u32-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-avx-u32-acc4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rminmax_avx512f") {
+ cflags = [
@@ -37995,85 +29346,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-avx512f-u64-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-avx512f-u64-acc4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-gemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rminmax_avx512f_standalone") {
@@ -38087,47 +29376,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-avx512f-u64-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-avx512f-u64-acc4.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-gemm_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-rminmax_sse-no-sse2") {
+ cflags = [
@@ -38141,111 +29410,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-sse-u16-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-sse-u16-acc4.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rminmax_sse-no-sse2_standalone") {
@@ -38260,118 +29441,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-sse-u16-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-sse-u16-acc4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-rminmax_x64") {
+ cflags = [
@@ -38384,50 +29474,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnniint8",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -38436,34 +29488,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rminmax_x64_standalone") {
@@ -38477,138 +29504,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rsum2_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -38622,130 +29538,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-avx-u8.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum2_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -38760,131 +29569,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-avx-u8.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
-- cflags = [
-- "-mamx-int8",
-- "-mamx-tile",
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rsum2_avx512f") {
+ cflags = [
@@ -38895,85 +29600,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-avx512f-u16.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qc8w-igemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum2_avx512f_standalone") {
@@ -38985,47 +29628,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-avx512f-u16.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qc8w-igemm_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-rsum2_sse2-no-sse3") {
+ cflags = [
@@ -39037,111 +29660,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-sse2-u4.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum2_sse2-no-sse3_standalone") {
@@ -39154,106 +29689,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-sse2-u4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-qu8-packw_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-rsum2_x64") {
+ cflags = [
@@ -39264,39 +29720,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-qu8-packw_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum2_x64_standalone") {
@@ -39308,139 +29748,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-rsum_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -39454,52 +29782,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-avx-u32-acc4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -39508,32 +29796,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -39548,45 +29813,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-avx-u32-acc4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -39598,18 +29830,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rdsum_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-rsum_avx512f") {
+ cflags = [
@@ -39620,39 +29844,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-avx512f-u32-acc2.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rdsum_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum_avx512f_standalone") {
@@ -39664,137 +29872,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-avx512f-u32-acc2.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mavxvnni",
-- "-mf16c",
-- "-mfma",
-- "-mgfni",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-rsum_sse2-no-sse3") {
+ cflags = [
@@ -39806,47 +29904,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-sse2-u16-acc4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -39855,39 +29918,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum_sse2-no-sse3_standalone") {
@@ -39900,139 +29933,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-sse2-u16-acc4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mavx512vnni",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-rsum_x64") {
+ cflags = [
@@ -40043,83 +29964,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-rsum_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-rsum_x64_standalone") {
@@ -40131,71 +29992,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-rsum_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-spmm_sse-no-sse2") {
+ cflags = [
@@ -40207,108 +30024,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-sse.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-spmm_sse-no-sse2_standalone") {
@@ -40321,131 +30053,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-spmm/gen/f32-spmm-32x1-minmax-sse.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-spmm_x64") {
+ cflags = [
@@ -40458,103 +30086,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-spmm_x64_standalone") {
@@ -40568,45 +30116,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -40618,19 +30133,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vadd_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -40644,39 +30150,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx-rational-12-10-div.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vadd_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -40691,136 +30181,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx-rational-12-10-div.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vapproxgelu_avx512f") {
+ cflags = [
@@ -40831,47 +30212,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx512f-rational-12-10-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -40880,38 +30226,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_avx512f_standalone") {
@@ -40923,124 +30240,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-avx512f-rational-12-10-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vapproxgelu_f16c-fma-no-avx2") {
+ cflags = [
@@ -41053,83 +30273,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-fma3-rational-12-10-div.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vaddc_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_f16c-fma-no-avx2_standalone") {
@@ -41143,73 +30303,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-fma3-rational-12-10-div.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vaddc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vapproxgelu_sse2-no-sse3") {
+ cflags = [
@@ -41222,108 +30336,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2-rational-12-10-div.c",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2fma-rational-12-10-div.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_sse2-no-sse3_standalone") {
@@ -41337,119 +30366,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2-rational-12-10-div.c",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-sse2fma-rational-12-10-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vapproxgelu_x64") {
+ cflags = [
@@ -41460,103 +30397,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_x64_standalone") {
@@ -41568,45 +30425,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -41618,18 +30442,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vcvt_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vbinary_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -41661,39 +30477,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-avx-u16.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-avx-u16.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vcvt_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vbinary_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -41726,135 +30526,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-avx-u16.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-avx-u16.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vbinary_avx512f") {
+ cflags = [
@@ -41883,47 +30575,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-avx512f-u32.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-avx512f-u32.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -41932,32 +30589,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vbinary_avx512f_standalone") {
@@ -41987,118 +30621,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-avx512f-u32.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-avx512f-u32.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vbinary_sse-no-sse2") {
+ cflags = [
@@ -42125,83 +30668,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-sse-u8.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-sse-u8.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vlrelu_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vbinary_sse-no-sse2_standalone") {
@@ -42229,46 +30712,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-sse-u8.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-sse-u8.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vlrelu_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-vbinary_sse2-no-sse3") {
+ cflags = [
@@ -42282,108 +30746,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vpreluc-sse2-u8.c",
+ "src/src/f32-vbinary/gen/f32-vrpreluc-sse2-u8.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vbinary_sse2-no-sse3_standalone") {
@@ -42398,106 +30777,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vpreluc-sse2-u8.c",
+ "src/src/f32-vbinary/gen/f32-vrpreluc-sse2-u8.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vbinary_x64") {
+ cflags = [
@@ -42526,46 +30826,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -42574,12 +30840,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmul_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vbinary_x64_standalone") {
@@ -42609,46 +30872,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmul_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-vclamp_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -42662,108 +30906,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-avx.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vclamp_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -42778,106 +30937,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-avx.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vclamp_avx512f") {
+ cflags = [
@@ -42888,46 +30968,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-avx512f.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -42936,12 +30982,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vmulc_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vclamp_avx512f_standalone") {
@@ -42953,71 +30996,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-avx512f.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vmulc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vclamp_sse2-no-sse3") {
+ cflags = [
@@ -43029,85 +31028,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-sse2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vprelu_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vprelu_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vprelu_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vclamp_sse2-no-sse3_standalone") {
@@ -43120,71 +31057,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-sse2.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vprelu_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vclamp_x64") {
+ cflags = [
@@ -43195,85 +31088,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vpreluc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vpreluc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vpreluc_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vclamp_x64_standalone") {
@@ -43285,71 +31116,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vpreluc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vcmul_avx512f") {
+ cflags = [
@@ -43360,85 +31147,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-avx512f-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qs8-vrpreluc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vrpreluc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qs8-vrpreluc_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcmul_avx512f_standalone") {
@@ -43450,46 +31175,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-avx512f-u32.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qs8-vrpreluc_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-vcmul_f16c-fma-no-avx2") {
+ cflags = [
@@ -43502,110 +31208,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-fma3-u16.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcmul_f16c-fma-no-avx2_standalone") {
@@ -43619,117 +31238,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-fma3-u16.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vcmul_sse-no-sse2") {
+ cflags = [
@@ -43741,53 +31270,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-sse-u8.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -43796,33 +31284,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcmul_sse-no-sse2_standalone") {
@@ -43835,121 +31299,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-sse-u8.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vcmul_x64") {
+ cflags = [
@@ -43960,51 +31330,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-dwconv_x64") {
-- cflags = []
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-dwconv_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcmul_x64_standalone") {
@@ -44016,138 +31358,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vcopysign_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -44163,47 +31394,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -44212,38 +31408,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcopysign_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -44260,124 +31427,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vcopysign_avx512f") {
+ cflags = [
@@ -44390,83 +31460,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx512f.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx512f.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-f32-vcvt_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcopysign_avx512f_standalone") {
@@ -44480,71 +31490,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-avx512f.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-avx512f.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-f32-vcvt_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vcopysign_sse2-no-sse3") {
+ cflags = [
@@ -44558,111 +31524,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-sse2.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-sse2.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcopysign_sse2-no-sse3_standalone") {
@@ -44677,134 +31555,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-sse2.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-sse2.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vcopysign_x64") {
+ cflags = [
@@ -44817,106 +31588,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcopysign_x64_standalone") {
@@ -44930,46 +31618,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -44981,19 +31635,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-gemm_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vcos_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -45007,39 +31652,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-avx-rational-5-4-div.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-gemm_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcos_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -45054,139 +31683,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-avx-rational-5-4-div.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vcos_avx512f") {
+ cflags = [
@@ -45197,48 +31714,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-avx512f-rational-5-4-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -45247,39 +31728,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcos_avx512f_standalone") {
@@ -45291,127 +31742,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-avx512f-rational-5-4-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vcos_f16c-fma-no-avx2") {
+ cflags = [
@@ -45424,85 +31775,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-fma3-rational-5-4-div.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-igemm_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcos_f16c-fma-no-avx2_standalone") {
@@ -45516,73 +31805,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-fma3-rational-5-4-div.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-igemm_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vcos_sse2-no-sse3") {
+ cflags = [
@@ -45595,83 +31838,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcos/gen/f32-vcos-sse2-rational-5-4-div.c",
+ "src/src/f32-vcos/gen/f32-vcos-sse2fma-rational-5-4-div.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rdsum_ssse3-no-sse4.1") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rdsum_ssse3-no-sse4.1_standalone") {
-- cflags = [
-- "-mno-sse4.1",
-- "-mssse3",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-rdsum_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcos_sse2-no-sse3_standalone") {
@@ -45685,46 +31868,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vcos/gen/f32-vcos-sse2-rational-5-4-div.c",
+ "src/src/f32-vcos/gen/f32-vcos-sse2fma-rational-5-4-div.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rdsum_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-vcos_x64") {
+ cflags = [
@@ -45735,106 +31899,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vcos_x64_standalone") {
@@ -45846,91 +31927,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-rsum_x64") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-velu_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -45944,39 +31961,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx-rr2-lut4-p4-perm-u32.c"
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-rsum_x64_standalone") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -45991,135 +31992,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx-rr2-lut4-p4-perm-u32.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-velu_avx512f") {
+ cflags = [
@@ -46130,47 +32023,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx512f-rr1-p6-u64.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -46179,38 +32037,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_avx512f_standalone") {
@@ -46222,124 +32051,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx512f-rr1-p6-u64.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-velu_f16c-fma-avx2") {
+ cflags = [
@@ -46352,83 +32084,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx2-rr1-lut4-p4-perm-u32.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vadd_x64") {
-- cflags = []
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_f16c-fma-avx2_standalone") {
@@ -46442,47 +32114,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-avx2-rr1-lut4-p4-perm-u32.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vadd_x64_standalone") {
-- cflags = []
++
+if (build_with_chromium) {
+ source_set("f32-velu_sse2-no-sse3") {
+ cflags = [
@@ -46494,109 +32146,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-sse2-rr2-lut16-p3-u12.c"
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_sse2-no-sse3_standalone") {
@@ -46609,114 +32175,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-sse2-rr2-lut16-p3-u12.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set(
-- "qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-velu_x64") {
+ cflags = [
@@ -46727,52 +32206,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set(
-- "qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
-- cflags = [
-- "-mavx512bw",
-- "-mavx512cd",
-- "-mavx512dq",
-- "-mavx512f",
-- "-mavx512vl",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -46781,32 +32220,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_x64_standalone") {
@@ -46818,118 +32234,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_sse4.1-no-sse4.2_standalone") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vexp_avx-no-avx2-no-f16c-no-fma") {
+ cflags = [
@@ -46943,41 +32268,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vexp/gen/f32-vexp-avx-rational-3-2-div.c"
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vaddc_x64") {
-- cflags = []
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
++
+ public_configs = [ ":xnnpack_public_config" ]
+ }
+}
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vexp_avx-no-avx2-no-f16c-no-fma_standalone") {
@@ -46992,19 +32299,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vexp/gen/f32-vexp-avx-rational-3-2-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vaddc_x64_standalone") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -47013,61 +32313,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("f32-vexp_avx512f") {
+ cflags = [
@@ -47078,48 +32330,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vexp/gen/f32-vexp-avx512f-rational-3-2-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
-- cflags = [
-- "-mavx",
-- "-mno-avx2",
-- "-mno-f16c",
-- "-mno-fma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -47128,33 +32344,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vexp_avx512f_standalone") {
@@ -47166,117 +32358,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vexp/gen/f32-vexp-avx512f-rational-3-2-div.c"
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_sse2-no-sse3") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vcvt_sse2-no-sse3_standalone") {
-- cflags = [
-- "-mno-sse3",
-- "-msse2",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
++
+if (build_with_chromium) {
+ source_set("f32-vexp_f16c-fma-no-avx2") {
+ cflags = [
@@ -51066,6 +36168,81 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
++ source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mavx512vnni",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
+ source_set("qd8-bf16-qb4w-gemm_x64") {
+ cflags = [
+
@@ -68298,8 +53475,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-avx2-u16-prfm.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx2-u16-prfm.c"
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-avx2-u16-prfm.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -68329,8 +53505,78 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-avx2-u16-prfm.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx2-u16-prfm.c"
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-avx2-u16-prfm.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx512skx-u16-prfm.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
++ cflags = [
++ "-mavx512bw",
++ "-mavx512cd",
++ "-mavx512dq",
++ "-mavx512f",
++ "-mavx512vl",
++ "-mf16c",
++ "-mfma"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx512skx-u16-prfm.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -68363,7 +53609,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
+ ]
+
@@ -68394,7 +53639,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
+ ]
+
@@ -70869,6 +56113,67 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
++ source_set("bf16-vunary_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-vunary/gen/bf16-vunary-neon.c",
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("bf16-vunary_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-vunary/gen/bf16-vunary-neon.c",
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
+ source_set("configs_arm64") {
+ cflags = [
+
@@ -71100,14 +56405,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16") {
++ source_set("f16-avgpool_arm64") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c"
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71128,14 +56433,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-avgpool_arm64_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c"
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71159,17 +56464,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16") {
++ source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c"
++ "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71190,17 +56492,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
-+ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c"
++ "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71224,18 +56523,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-dwconv_arch=armv8.2-a+fp16") {
++ source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c"
++ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
++ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
++ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
++ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71256,18 +56554,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c"
++ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
++ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
++ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
++ "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71291,16 +56588,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_arm64") {
++ source_set("f16-dwconv_arch=armv8.2-a+fp16") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
++ "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71321,16 +56620,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_arm64_standalone") {
++ source_set("f16-dwconv_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
++ "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71354,14 +56655,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16") {
++ source_set("f16-dwconv_arm64") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c"
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71382,14 +56686,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-dwconv_arm64_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c"
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71413,14 +56720,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16") {
++ source_set("f16-f32-vcvt_arm64") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c"
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71441,14 +56750,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-f32-vcvt_arm64_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c"
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71472,14 +56783,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16") {
++ source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c"
++ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71500,14 +56811,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c"
++ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71531,14 +56842,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16") {
++ source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c"
++ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71559,14 +56870,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c"
++ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71590,17 +56901,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-gemm_arch=armv8.2-a+fp16") {
++ source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-1x8-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-6x8-minmax-neonfp16arith-ld64.c"
++ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71621,90 +56929,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-gemm_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-1x8-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-gemm/gen/f16-gemm-6x8-minmax-neonfp16arith-ld64.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-gemm/gen/f16-gemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
-+ ]
-+
-+ asmflags = cflags
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-gemm/gen/f16-gemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-+ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
++ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71728,14 +56960,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16") {
++ source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c"
++ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71756,14 +56988,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c"
++ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71787,14 +57019,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-ibilinear_arch=armv8.2-a+fp16") {
++ source_set("f16-gemm_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c"
++ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-gemm/gen/f16-gemm-1x8-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-gemm/gen/f16-gemm-6x8-minmax-neonfp16arith-ld64.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71815,14 +57050,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-ibilinear_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-gemm_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c"
++ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-gemm/gen/f16-gemm-1x8-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-gemm/gen/f16-gemm-6x8-minmax-neonfp16arith-ld64.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71846,17 +57084,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-igemm_arch=armv8.2-a+fp16") {
++ source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++ "-march=armv8.2-a+fp16+dotprod"
+ ]
+
++ asmflags = cflags
++
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-1x8-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-6x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-6x8-minmax-neonfp16arith-ld64.c"
++ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
++ "src/src/f16-gemm/gen/f16-gemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
++ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
++ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
++ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
++ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71877,17 +57119,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-igemm_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++ "-march=armv8.2-a+fp16+dotprod"
+ ]
+
++ asmflags = cflags
++
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-1x8-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-6x16-minmax-neonfp16arith-ld64.c",
-+ "src/src/f16-igemm/gen/f16-igemm-6x8-minmax-neonfp16arith-ld64.c"
++ "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
++ "src/src/f16-gemm/gen/f16-gemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
++ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
++ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
++ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
++ "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71911,21 +57157,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod") {
++ source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16") {
+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
++ "-march=armv8.2-a+fp16"
+ ]
+
-+ asmflags = cflags
-+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/f16-igemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-igemm/f16-igemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
++ "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71946,21 +57185,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
++ source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
++ "-march=armv8.2-a+fp16"
+ ]
+
-+ asmflags = cflags
-+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/f16-igemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-igemm/f16-igemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-+ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
++ "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -71984,14 +57216,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-maxpool_arch=armv8.2-a+fp16") {
++ source_set("f16-ibilinear_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-neonfp16arith-u8.c"
++ "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72012,14 +57244,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-maxpool_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-ibilinear_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-neonfp16arith-u8.c"
++ "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72043,14 +57275,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_arch=armv8.2-a+fp16") {
++ source_set("f16-igemm_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-neonfp16arith-u32.c"
++ "src/src/f16-igemm/gen/f16-igemm-1x16-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-igemm/gen/f16-igemm-1x8-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-igemm/gen/f16-igemm-6x16-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-igemm/gen/f16-igemm-6x8-minmax-neonfp16arith-ld64.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72071,14 +57306,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-igemm_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-neonfp16arith-u32.c"
++ "src/src/f16-igemm/gen/f16-igemm-1x16-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-igemm/gen/f16-igemm-1x8-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-igemm/gen/f16-igemm-6x16-minmax-neonfp16arith-ld64.c",
++ "src/src/f16-igemm/gen/f16-igemm-6x8-minmax-neonfp16arith-ld64.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72102,14 +57340,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_arm64") {
++ source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16+dotprod"
+ ]
+
++ asmflags = cflags
++
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-igemm/f16-igemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
++ "src/src/f16-igemm/f16-igemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
++ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
++ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
++ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
++ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72130,14 +57375,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_arm64_standalone") {
++ source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16+dotprod"
+ ]
+
++ asmflags = cflags
++
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-igemm/f16-igemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
++ "src/src/f16-igemm/f16-igemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
++ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
++ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
++ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
++ "src/src/f16-igemm/f16-igemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72161,14 +57413,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-qu8-vcvt_arm64") {
++ source_set("f16-maxpool_arch=armv8.2-a+fp16") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-neonfp16arith-u8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72189,14 +57441,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qu8-vcvt_arm64_standalone") {
++ source_set("f16-maxpool_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-neonfp16arith-u8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72220,74 +57472,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-raddstoreexpminusmax_arch=armv8.2-a+fp16") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-neonfp16arith-rr2-p2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-raddstoreexpminusmax_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-neonfp16arith-rr2-p2-u32.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-rdminmax_arch=armv8.2-a+fp16") {
++ source_set("f16-qs8-vcvt_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-neonfp16arith-u32.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-neonfp16arith-u32.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-neonfp16arith-u32.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72308,15 +57500,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-qs8-vcvt_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-neonfp16arith-u32.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-neonfp16arith-u32.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-neonfp16arith-u32.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72340,15 +57531,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-rdminmax_arm64") {
++ source_set("f16-qs8-vcvt_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72369,78 +57559,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_arm64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-rminmax_arch=armv8.2-a+fp16") {
++ source_set("f16-qs8-vcvt_arm64_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
-+ ]
+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-neonfp16arith-u32-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-neonfp16arith-u32-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-neonfp16arith-u32-acc4.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_arch=armv8.2-a+fp16_standalone") {
-+ cflags = [
-+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-neonfp16arith-u32-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-neonfp16arith-u32-acc4.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-neonfp16arith-u32-acc4.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72464,16 +57590,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-rminmax_arm64") {
++ source_set("f16-qu8-vcvt_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72494,16 +57618,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_arm64_standalone") {
++ source_set("f16-qu8-vcvt_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72527,14 +57649,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-spmm_arch=armv8.2-a+fp16") {
++ source_set("f16-raddstoreexpminusmax_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-spmm/gen/f16-spmm-32x1-minmax-neonfp16arith-pipelined.c"
++ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-neonfp16arith-rr2-p2-u32.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72555,14 +57677,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-spmm_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-raddstoreexpminusmax_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-spmm/gen/f16-spmm-32x1-minmax-neonfp16arith-pipelined.c"
++ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-neonfp16arith-rr2-p2-u32.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72586,14 +57708,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_arch=armv8.2-a+fp16") {
++ source_set("f16-rdminmax_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-neonfp16arith-rational-6-4-div.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-neonfp16arith-u32.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-neonfp16arith-u32.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72614,14 +57737,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-rdminmax_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-neonfp16arith-rational-6-4-div.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-neonfp16arith-u32.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-neonfp16arith-u32.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72645,15 +57769,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_arm64") {
++ source_set("f16-rdminmax_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-neonfp16-rational-6-4-div.c",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72674,15 +57798,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_arm64_standalone") {
++ source_set("f16-rdminmax_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-neonfp16-rational-6-4-div.c",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72706,35 +57830,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vbinary_arch=armv8.2-a+fp16") {
++ source_set("f16-rminmax_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-neonfp16arith-u16.c"
++ "src/src/f16-rminmax/gen/f16-rmax-neonfp16arith-u32-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rmin-neonfp16arith-u32-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-neonfp16arith-u32-acc4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72755,35 +57860,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vbinary_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-rminmax_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-aarch64-neonfp16arith-u8.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-fp16arith-u2.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-neonfp16arith-u16.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-neonfp16arith-u16.c"
++ "src/src/f16-rminmax/gen/f16-rmax-neonfp16arith-u32-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rmin-neonfp16arith-u32-acc4.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-neonfp16arith-u32-acc4.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72807,14 +57893,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vclamp_arch=armv8.2-a+fp16") {
++ source_set("f16-rminmax_arm64") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-neonfp16arith-u16.c"
++ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72835,14 +57923,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vclamp_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-rminmax_arm64_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-neonfp16arith-u16.c"
++ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72866,14 +57956,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vcmul_arch=armv8.2-a+fp16") {
++ source_set("f16-spmm_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcmul/gen/f16-vcmul-neonfp16arith-u16.c"
++ "src/src/f16-spmm/gen/f16-spmm-32x1-minmax-neonfp16arith-pipelined.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72894,14 +57984,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcmul_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-spmm_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcmul/gen/f16-vcmul-neonfp16arith-u16.c"
++ "src/src/f16-spmm/gen/f16-spmm-32x1-minmax-neonfp16arith-pipelined.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72925,14 +58015,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vcos_arch=armv8.2-a+fp16") {
++ source_set("f16-vapproxgelu_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-neonfp16arith-poly-3.c"
++ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-neonfp16arith-rational-6-4-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72953,14 +58043,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vapproxgelu_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-neonfp16arith-poly-3.c"
++ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-neonfp16arith-rational-6-4-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -72984,15 +58074,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vcos_arm64") {
++ source_set("f16-vapproxgelu_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-neonfp16-poly-3.c",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-neonfp16-rational-6-4-div.c",
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73013,15 +58103,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_arm64_standalone") {
++ source_set("f16-vapproxgelu_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-neonfp16-poly-3.c",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-neonfp16-rational-6-4-div.c",
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73045,14 +58135,35 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-velu_arch=armv8.2-a+fp16") {
++ source_set("f16-vbinary_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-neonfp16arith-rr1-p3-u16.c"
++ "src/src/f16-vbinary/gen/f16-vadd-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vaddc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vdiv-aarch64-neonfp16arith-u8.c",
++ "src/src/f16-vbinary/gen/f16-vdiv-fp16arith-u2.c",
++ "src/src/f16-vbinary/gen/f16-vdivc-aarch64-neonfp16arith-u8.c",
++ "src/src/f16-vbinary/gen/f16-vdivc-fp16arith-u2.c",
++ "src/src/f16-vbinary/gen/f16-vmax-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmaxc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmin-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vminc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmul-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmulc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vprelu-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vpreluc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vrdivc-aarch64-neonfp16arith-u8.c",
++ "src/src/f16-vbinary/gen/f16-vrdivc-fp16arith-u2.c",
++ "src/src/f16-vbinary/gen/f16-vrpreluc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vrsubc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiff-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiffc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsub-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsubc-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73073,14 +58184,35 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-velu_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vbinary_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-neonfp16arith-rr1-p3-u16.c"
++ "src/src/f16-vbinary/gen/f16-vadd-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vaddc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vdiv-aarch64-neonfp16arith-u8.c",
++ "src/src/f16-vbinary/gen/f16-vdiv-fp16arith-u2.c",
++ "src/src/f16-vbinary/gen/f16-vdivc-aarch64-neonfp16arith-u8.c",
++ "src/src/f16-vbinary/gen/f16-vdivc-fp16arith-u2.c",
++ "src/src/f16-vbinary/gen/f16-vmax-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmaxc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmin-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vminc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmul-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vmulc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vprelu-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vpreluc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vrdivc-aarch64-neonfp16arith-u8.c",
++ "src/src/f16-vbinary/gen/f16-vrdivc-fp16arith-u2.c",
++ "src/src/f16-vbinary/gen/f16-vrpreluc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vrsubc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiff-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiffc-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsub-neonfp16arith-u16.c",
++ "src/src/f16-vbinary/gen/f16-vsubc-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73104,14 +58236,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vexp_arch=armv8.2-a+fp16") {
++ source_set("f16-vclamp_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-neonfp16arith-poly-3.c"
++ "src/src/f16-vclamp/gen/f16-vclamp-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73132,14 +58264,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vclamp_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-neonfp16arith-poly-3.c"
++ "src/src/f16-vclamp/gen/f16-vclamp-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73163,15 +58295,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vexp_arm64") {
++ source_set("f16-vcmul_arch=armv8.2-a+fp16") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-neonfp16-poly-3.c",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
++ "src/src/f16-vcmul/gen/f16-vcmul-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73192,15 +58323,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_arm64_standalone") {
++ source_set("f16-vcmul_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-neonfp16-poly-3.c",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
++ "src/src/f16-vcmul/gen/f16-vcmul-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73224,14 +58354,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vgelu_arch=armv8.2-a+fp16") {
++ source_set("f16-vcos_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-neonfp16arith-rational-6-4-div.c"
++ "src/src/f16-vcos/gen/f16-vcos-neonfp16arith-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73252,14 +58382,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vcos_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-neonfp16arith-rational-6-4-div.c"
++ "src/src/f16-vcos/gen/f16-vcos-neonfp16arith-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73283,14 +58413,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vgelu_arm64") {
++ source_set("f16-vcos_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-neonfp16-poly-3.c",
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73311,14 +58442,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_arm64_standalone") {
++ source_set("f16-vcos_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-neonfp16-poly-3.c",
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73342,14 +58474,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vhswish_arch=armv8.2-a+fp16") {
++ source_set("f16-velu_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-neonfp16arith-u16.c"
++ "src/src/f16-velu/gen/f16-velu-neonfp16arith-rr1-p3-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73370,14 +58502,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vhswish_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-velu_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-neonfp16arith-u16.c"
++ "src/src/f16-velu/gen/f16-velu-neonfp16arith-rr1-p3-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73401,14 +58533,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vlog_arch=armv8.2-a+fp16") {
++ source_set("f16-vexp_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-neonfp16arith-rational-1-3-div.c"
++ "src/src/f16-vexp/gen/f16-vexp-neonfp16arith-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73429,14 +58561,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vexp_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-neonfp16arith-rational-1-3-div.c"
++ "src/src/f16-vexp/gen/f16-vexp-neonfp16arith-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73460,15 +58592,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vlog_arm64") {
++ source_set("f16-vexp_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-neonfp16-rational-1-3-div.c",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-neonfp16-poly-3.c",
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73489,15 +58621,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_arm64_standalone") {
++ source_set("f16-vexp_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-neonfp16-rational-1-3-div.c",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-neonfp16-poly-3.c",
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73521,14 +58653,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vlrelu_arch=armv8.2-a+fp16") {
++ source_set("f16-vgelu_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-neonfp16arith-u16.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-neonfp16arith-rational-6-4-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73549,14 +58681,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlrelu_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vgelu_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-neonfp16arith-u16.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-neonfp16arith-rational-6-4-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73580,14 +58712,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vmulcaddc_arch=armv8.2-a+fp16") {
++ source_set("f16-vgelu_arm64") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-neonfp16arith-2x.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73608,14 +58740,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vmulcaddc_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vgelu_arm64_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-neonfp16arith-2x.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73639,17 +58771,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vrnd_arch=armv8.2-a+fp16") {
++ source_set("f16-vhswish_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-neonfp16arith-u16.c"
++ "src/src/f16-vhswish/gen/f16-vhswish-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73670,17 +58799,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrnd_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vhswish_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-neonfp16arith-u16.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-neonfp16arith-u16.c"
++ "src/src/f16-vhswish/gen/f16-vhswish-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73704,14 +58830,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vrsqrt_arch=armv8.2-a+fp16") {
++ source_set("f16-vlog_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-neonfp16arith-rsqrt-u16.c"
++ "src/src/f16-vlog/gen/f16-vlog-neonfp16arith-rational-1-3-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73732,14 +58858,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrsqrt_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vlog_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-neonfp16arith-rsqrt-u16.c"
++ "src/src/f16-vlog/gen/f16-vlog-neonfp16arith-rational-1-3-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73763,15 +58889,75 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vsigmoid_arch=armv8.2-a+fp16") {
++ source_set("f16-vlog_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-neonfp16-rational-1-3-div.c",
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-vlog_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-neonfp16-rational-1-3-div.c",
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("f16-vlrelu_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1fma-u32.c",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1recps-u16.c"
++ "src/src/f16-vlrelu/gen/f16-vlrelu-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73792,15 +58978,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsigmoid_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vlrelu_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1fma-u32.c",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1recps-u16.c"
++ "src/src/f16-vlrelu/gen/f16-vlrelu-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73824,14 +59009,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vsin_arch=armv8.2-a+fp16") {
++ source_set("f16-vmulcaddc_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-neonfp16arith-poly-3.c"
++ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-neonfp16arith-2x.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73852,14 +59037,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vmulcaddc_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-neonfp16arith-poly-3.c"
++ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-neonfp16arith-2x.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73883,15 +59068,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vsin_arm64") {
++ source_set("f16-vrnd_arch=armv8.2-a+fp16") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-neonfp16-poly-3.c",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
++ "src/src/f16-vrnd/gen/f16-vrndd-neonfp16arith-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndne-neonfp16arith-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndu-neonfp16arith-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndz-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73912,15 +59099,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_arm64_standalone") {
++ source_set("f16-vrnd_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-neonfp16-poly-3.c",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
++ "src/src/f16-vrnd/gen/f16-vrndd-neonfp16arith-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndne-neonfp16arith-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndu-neonfp16arith-u16.c",
++ "src/src/f16-vrnd/gen/f16-vrndz-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73944,15 +59133,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vsqrt_arch=armv8.2-a+fp16") {
++ source_set("f16-vrsqrt_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-aarch64-neonfp16arith-sqrt-u8.c",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-neonfp16arith-nr1fma1adj-u8.c"
++ "src/src/f16-vrsqrt/gen/f16-vrsqrt-neonfp16arith-rsqrt-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -73973,15 +59161,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vrsqrt_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-aarch64-neonfp16arith-sqrt-u8.c",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-neonfp16arith-nr1fma1adj-u8.c"
++ "src/src/f16-vrsqrt/gen/f16-vrsqrt-neonfp16arith-rsqrt-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74005,14 +59192,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vsqrt_arm64") {
++ source_set("f16-vsigmoid_arch=armv8.2-a+fp16") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
++ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1fma-u32.c",
++ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1recps-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74033,14 +59221,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_arm64_standalone") {
++ source_set("f16-vsigmoid_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
-+
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
++ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1fma-u32.c",
++ "src/src/f16-vsigmoid/gen/f16-vsigmoid-neonfp16arith-rr2-p2-nr1recps-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74064,14 +59253,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vtanh_arch=armv8.2-a+fp16") {
++ source_set("f16-vsin_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-neonfp16arith-rational-5-4-div.c"
++ "src/src/f16-vsin/gen/f16-vsin-neonfp16arith-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74092,14 +59281,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vsin_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-neonfp16arith-rational-5-4-div.c"
++ "src/src/f16-vsin/gen/f16-vsin-neonfp16arith-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74123,15 +59312,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vtanh_arm64") {
++ source_set("f16-vsin_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-neonfp16-rational-5-4-div.c",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-neonfp16-poly-3.c",
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74152,15 +59341,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_arm64_standalone") {
++ source_set("f16-vsin_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-neonfp16-rational-5-4-div.c",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-neonfp16-poly-3.c",
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74184,16 +59373,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f16-vunary_arch=armv8.2-a+fp16") {
++ source_set("f16-vsqrt_arch=armv8.2-a+fp16") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-neonfp16arith-u16.c",
-+ "src/src/f16-vunary/gen/f16-vneg-neonfp16arith-u16.c",
-+ "src/src/f16-vunary/gen/f16-vsqr-neonfp16arith-u16.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-aarch64-neonfp16arith-sqrt-u8.c",
++ "src/src/f16-vsqrt/gen/f16-vsqrt-neonfp16arith-nr1fma1adj-u8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74214,16 +59402,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vunary_arch=armv8.2-a+fp16_standalone") {
++ source_set("f16-vsqrt_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
+ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-neonfp16arith-u16.c",
-+ "src/src/f16-vunary/gen/f16-vneg-neonfp16arith-u16.c",
-+ "src/src/f16-vunary/gen/f16-vsqr-neonfp16arith-u16.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-aarch64-neonfp16arith-sqrt-u8.c",
++ "src/src/f16-vsqrt/gen/f16-vsqrt-neonfp16arith-nr1fma1adj-u8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74247,15 +59434,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_arm64") {
++ source_set("f16-vsqrt_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-neon-c4.c",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74276,15 +59462,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_arm64_standalone") {
++ source_set("f16-vsqrt_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-neon-c4.c",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74308,15 +59493,74 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f32-avgpool_arm64") {
++ source_set("f16-vtanh_arch=armv8.2-a+fp16") {
+ cflags = [
++ "-march=armv8.2-a+fp16"
++ ]
+
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vtanh/gen/f16-vtanh-neonfp16arith-rational-5-4-div.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-vtanh_arch=armv8.2-a+fp16_standalone") {
++ cflags = [
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-neon-u4.c",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f16-vtanh/gen/f16-vtanh-neonfp16arith-rational-5-4-div.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("f16-vtanh_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-neonfp16-rational-5-4-div.c",
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74337,15 +59581,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_arm64_standalone") {
++ source_set("f16-vtanh_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-neon-u4.c",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-neonfp16-rational-5-4-div.c",
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74369,14 +59613,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_arch=armv8.2-a+bf16") {
++ source_set("f16-vunary_arch=armv8.2-a+fp16") {
+ cflags = [
-+ "-march=armv8.2-a+bf16"
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neonbf16-u16.c"
++ "src/src/f16-vunary/gen/f16-vabs-neonfp16arith-u16.c",
++ "src/src/f16-vunary/gen/f16-vneg-neonfp16arith-u16.c",
++ "src/src/f16-vunary/gen/f16-vsqr-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74397,14 +59643,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_arch=armv8.2-a+bf16_standalone") {
++ source_set("f16-vunary_arch=armv8.2-a+fp16_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+bf16"
++ "-march=armv8.2-a+fp16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neonbf16-u16.c"
++ "src/src/f16-vunary/gen/f16-vabs-neonfp16arith-u16.c",
++ "src/src/f16-vunary/gen/f16-vneg-neonfp16arith-u16.c",
++ "src/src/f16-vunary/gen/f16-vsqr-neonfp16arith-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74428,15 +59676,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_arm64") {
++ source_set("f32-argmaxpool_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neon-u8.c",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-neon-c4.c",
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74457,15 +59705,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_arm64_standalone") {
++ source_set("f32-argmaxpool_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neon-u8.c",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-neon-c4.c",
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74489,16 +59737,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_arm64") {
++ source_set("f32-avgpool_arm64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-aarch64-neonfma-2x2.c",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-neon-2x2.c",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-neon-u4.c",
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74519,16 +59766,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_arm64_standalone") {
++ source_set("f32-avgpool_arm64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-aarch64-neonfma-2x2.c",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-neon-2x2.c",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-neon-u4.c",
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74552,29 +59798,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_arm64") {
++ source_set("f32-bf16-vcvt_arch=armv8.2-a+bf16") {
+ cflags = [
-+
++ "-march=armv8.2-a+bf16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-aarch64-neonfma-3x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-neon-2x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-aarch64-neonfma-2x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-aarch64-neonfma-4x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-aarch64-neonfma-1x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neonbf16-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74595,29 +59826,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_arm64_standalone") {
++ source_set("f32-bf16-vcvt_arch=armv8.2-a+bf16_standalone") {
+ cflags = [
-+
++ "-march=armv8.2-a+bf16"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-aarch64-neonfma-3x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-neon-2x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-aarch64-neonfma-2x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-aarch64-neonfma-4x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-aarch64-neonfma-1x4-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-neon-1x4.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neonbf16-u16.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74641,16 +59857,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("f32-dwconv_arch=armv8.2-a+fp16+dotprod") {
++ source_set("f32-bf16-vcvt_arm64") {
+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
++
+ ]
+
-+ asmflags = cflags
-+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/f32-dwconv-9p4c-minmax-asm-aarch64-neonfma-cortex-a55.S"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neon-u8.c",
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -74671,16 +59886,230 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_arch=armv8.2-a+fp16+dotprod_standalone") {
++ source_set("f32-bf16-vcvt_arm64_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+fp16+dotprod"
++
+ ]
+
-+ asmflags = cflags
-+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/f32-dwconv-9p4c-minmax-asm-aarch64-neonfma-cortex-a55.S"
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neon-u8.c",
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("f32-conv-hwc2chw_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-aarch64-neonfma-2x2.c",
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-neon-2x2.c",
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-conv-hwc2chw_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-aarch64-neonfma-2x2.c",
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-neon-2x2.c",
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("f32-dwconv2d-chw_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-aarch64-neonfma-3x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-neon-2x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-aarch64-neonfma-2x4-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-neon-1x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-aarch64-neonfma-4x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-neon-1x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-aarch64-neonfma-1x4-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-neon-1x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-dwconv2d-chw_arm64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-aarch64-neonfma-3x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-neon-2x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-aarch64-neonfma-2x4-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-neon-1x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-aarch64-neonfma-4x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-neon-1x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-aarch64-neonfma-1x4-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-neon-1x4.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("f32-dwconv_arch=armv8.2-a+fp16+dotprod") {
++ cflags = [
++ "-march=armv8.2-a+fp16+dotprod"
++ ]
++
++ asmflags = cflags
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv/f32-dwconv-9p4c-minmax-asm-aarch64-neonfma-cortex-a55.S"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-dwconv_arch=armv8.2-a+fp16+dotprod_standalone") {
++ cflags = [
++ "-march=armv8.2-a+fp16+dotprod"
++ ]
++
++ asmflags = cflags
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-dwconv/f32-dwconv-9p4c-minmax-asm-aarch64-neonfma-cortex-a55.S"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -75931,27 +61360,46 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-neon.c",
+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlog_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
+ source_set("f32-rdsum_arm64") {
+ cflags = [
@@ -76006,13 +61454,59 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-avx512f-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlog_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-rminmax_arm64") {
+ cflags = [
@@ -76075,13 +61569,45 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlog_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-avx2-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+if (build_with_chromium) {
+ source_set("f32-rsum2_arm64") {
+ cflags = [
@@ -76139,10 +61665,34 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlog_f16c-fma-no-avx2") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-rsum_arm64") {
+ cflags = [
@@ -76197,13 +61747,45 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlog_f16c-fma-no-avx2_standalone") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-fma3-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+if (build_with_chromium) {
+ source_set("f32-spmm_arm64") {
+ cflags = [
@@ -76271,8 +61853,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
+
+if (build_with_chromium) {
@@ -76302,7 +61884,31 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ public_configs = [ ":xnnpack_public_config" ]
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlog_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
+- "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-vapproxgelu_arm64_standalone") {
@@ -76329,13 +61935,45 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlog_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-sse2-rational-3-3-div.c",
+- "src/src/f32-vlog/gen/f32-vlog-sse2fma-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+if (build_with_chromium) {
+ source_set("f32-vbinary_arm64") {
+ cflags = [
@@ -76465,10 +62103,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlog_x64") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-vclamp_arm64") {
+ cflags = [
@@ -76509,27 +62150,46 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vclamp/gen/f32-vclamp-neon.c",
+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlog_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-vcmul_arm64") {
+ cflags = [
@@ -76584,13 +62244,60 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vcopysign_arm64") {
+ cflags = [
@@ -76653,13 +62360,46 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-avx-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+if (build_with_chromium) {
+ source_set("f32-vcos_arm64") {
+ cflags = [
@@ -76717,10 +62457,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_avx512f") {
+- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
+ source_set("f32-velu_arm64") {
+ cflags = [
@@ -76750,7 +62493,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ public_configs = [ ":xnnpack_public_config" ]
+ }
+}
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f32-velu_arm64_standalone") {
@@ -76770,22 +62517,37 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlrelu_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
+ source_set("f32-vexp_arm64") {
+ cflags = [
@@ -76826,7 +62588,29 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-vexp/gen/f32-vexp-neon-rational-3-2-div.c",
+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-avx512f-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
@@ -76843,10 +62627,33 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_sse-no-sse2") {
+- cflags = [
+- "-mno-sse2",
+- "-msse",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vgelu_arm64") {
+ cflags = [
@@ -76953,7 +62760,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -76965,10 +62773,40 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlrelu_sse-no-sse2_standalone") {
+- cflags = [
+- "-mno-sse2",
+- "-msse",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-sse-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+if (build_with_chromium) {
+ source_set("f32-vlog_arm64") {
+ cflags = [
@@ -77026,10 +62864,33 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("f32-vlrelu_arm64") {
+ cflags = [
@@ -77084,13 +62945,44 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlrelu_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-sse41-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+if (build_with_chromium) {
+ source_set("f32-vmulcaddc_arm64") {
+ cflags = [
@@ -77150,10 +63042,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_x64") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("f32-vrnd_arm64") {
+ cflags = [
@@ -80353,16 +66248,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
+
+if (build_with_chromium) {
-+ source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod") {
++ source_set("qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
+ cflags = [
-+ "-march=armv8.2-a+dotprod"
++ "-march=armv8.2-a+sve+sve2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c"
++ "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-16x64c4-neonsme2.c",
++ "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-1x64c4-neonsme2.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -80383,16 +66277,78 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
++ source_set("qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
+ cflags = [
-+ "-march=armv8.2-a+dotprod"
++ "-march=armv8.2-a+sve+sve2"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-+ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c"
++ "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-16x64c4-neonsme2.c",
++ "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-1x64c4-neonsme2.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (build_with_chromium) {
++ source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod") {
++ cflags = [
++ "-march=armv8.2-a+dotprod"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
++ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
++ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c"
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
++
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
++ cflags = [
++ "-march=armv8.2-a+dotprod"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
++ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
++ "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -81018,7 +66974,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-neon-u32.c",
+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
@@ -82243,33 +68203,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
- }
- }
++ }
++ }
+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vcvt_sse4.1-no-sse4.2") {
-- cflags = [
-- "-mno-sse4.2",
-- "-msse4.1",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vcvt/gen/qu8-vcvt-sse41-u32.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
++
+if (build_with_chromium) {
+ source_set("qs8-rsum_arch=armv8.2-a+dotprod") {
+ cflags = [
@@ -82748,22 +68685,62 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vlrelu_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("qs8-vprelu_arm64") {
+ cflags = [
@@ -82774,23 +68751,83 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vmulcaddc_sse-no-sse2") {
+- cflags = [
+- "-mno-sse2",
+- "-msse",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vmulcaddc_sse-no-sse2_standalone") {
+- cflags = [
+- "-mno-sse2",
+- "-msse",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-sse-2x.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vmulcaddc_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qs8-vprelu_arm64_standalone") {
@@ -82802,27 +68839,46 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vmulcaddc_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("qs8-vpreluc_arm64") {
+ cflags = [
@@ -82833,23 +68889,114 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrnd_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-avx-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-avx-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qs8-vpreluc_arm64_standalone") {
@@ -82861,7 +69008,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrnd_avx512f") {
+- cflags = [ "-mavx512f" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
@@ -82873,15 +69023,39 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrnd_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
+ source_set("qs8-vrpreluc_arm64") {
+ cflags = [
@@ -82892,23 +69066,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-avx512f-u16.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-avx512f-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrnd_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrnd_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-sse2-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-sse2-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qs8-vrpreluc_arm64_standalone") {
@@ -82920,27 +69184,92 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrnd_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrnd_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-sse41-u8.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-sse41-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrnd_x64") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("qu8-dwconv_arm64") {
+ cflags = [
@@ -82961,18 +69290,43 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrnd_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-dwconv_arm64_standalone") {
@@ -82989,27 +69343,125 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
+- "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrsqrt_avx512f") {
+- cflags = [ "-mavx512f" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c",
+- ]
+if (build_with_chromium) {
+ source_set("qu8-f32-vcvt_arm64") {
+ cflags = [
@@ -83021,23 +69473,39 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-neon-u32.c",
+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrsqrt_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-f32-vcvt_arm64_standalone") {
@@ -83050,27 +69518,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-neon-u32.c",
+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-avx512f-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrsqrt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrsqrt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-rsqrt.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-sse2-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vrsqrt_x64") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod") {
+ cflags = [
@@ -83078,7 +69632,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ asmflags = cflags
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
+- ]
+ sources = [
+ "src/include/xnnpack.h",
+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
@@ -83086,23 +69645,39 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vrsqrt_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
@@ -83111,7 +69686,32 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ asmflags = cflags
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
+- "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ sources = [
+ "src/include/xnnpack.h",
+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
@@ -83119,27 +69719,95 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx-rr2-p5-div-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_avx512f") {
+- cflags = [ "-mavx512f" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c",
+- ]
+if (build_with_chromium) {
+ source_set("qu8-gemm_arm64") {
+ cflags = [
@@ -83156,23 +69824,39 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-gemm/gen/qu8-gemm-3x8-minmax-rndnu-neon-mlal-lane.c",
+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-neon-mlal-lane.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-gemm_arm64_standalone") {
@@ -83190,27 +69874,133 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-gemm/gen/qu8-gemm-3x8-minmax-rndnu-neon-mlal-lane.c",
+ "src/src/qu8-gemm/gen/qu8-gemm-4x16-minmax-rndnu-neon-mlal-lane.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-avx2-rr1-p5-div-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod") {
+ cflags = [
@@ -83218,7 +70008,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ asmflags = cflags
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ sources = [
+ "src/include/xnnpack.h",
+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
@@ -83226,23 +70019,115 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-lut64-p2-div-u8.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse2-rr2-p5-div-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-lut64-p2-div-u8.c",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-sse41-rr2-p5-div-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
@@ -83251,7 +70136,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ asmflags = cflags
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsigmoid_x64") {
+- cflags = []
+ sources = [
+ "src/include/xnnpack.h",
+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
@@ -83259,27 +70147,71 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a75.S",
+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu16-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsigmoid_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("qu8-igemm_arm64") {
+ cflags = [
@@ -83296,23 +70228,87 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-igemm/gen/qu8-igemm-3x8-minmax-rndnu-neon-mlal-lane.c",
+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-neon-mlal-lane.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-avx-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_avx512f") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-igemm_arm64_standalone") {
@@ -83330,27 +70326,46 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-igemm/gen/qu8-igemm-3x8-minmax-rndnu-neon-mlal-lane.c",
+ "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-neon-mlal-lane.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
+ source_set("qu8-rdsum_arm64") {
+ cflags = [
@@ -83363,23 +70378,106 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u32.c",
+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-avx512f-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_f16c-fma-no-avx2") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_f16c-fma-no-avx2_standalone") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-fma3-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-rdsum_arm64_standalone") {
@@ -83393,27 +70491,93 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-neon-u32.c",
+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
+- "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-sse2-rational-5-4-div.c",
+- "src/src/f32-vsin/gen/f32-vsin-sse2fma-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsin_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
+- ]
+if (build_with_chromium) {
+ source_set("qu8-rsum_arm64") {
+ cflags = [
@@ -83425,23 +70589,39 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-rsum/gen/qu8-rsum-neon-u32-acc2.c",
+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsin_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-rsum_arm64_standalone") {
@@ -83454,27 +70634,121 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-rsum/gen/qu8-rsum-neon-u32-acc2.c",
+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsqrt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-rsqrt.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsqrt_avx512f") {
+- cflags = [ "-mavx512f" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c",
+- ]
+if (build_with_chromium) {
+ source_set("qu8-vadd_arm64") {
+ cflags = [
@@ -83488,23 +70762,39 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsqrt_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-vadd_arm64_standalone") {
@@ -83519,27 +70809,117 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-avx512f-rsqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsqrt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsqrt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-rsqrt.c",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-sse2-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vsqrt_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
+- ]
+if (build_with_chromium) {
+ source_set("qu8-vaddc_arm64") {
+ cflags = [
@@ -83553,23 +70933,39 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vsqrt_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-vaddc_arm64_standalone") {
@@ -83584,27 +70980,119 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vtanh_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-avx-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vtanh_avx512f") {
+- cflags = [ "-mavx512f" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c",
+- ]
+if (build_with_chromium) {
+ source_set("qu8-vcvt_arm64") {
+ cflags = [
@@ -83616,23 +71104,39 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vtanh_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-vcvt_arm64_standalone") {
@@ -83645,31 +71149,137 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_arm64") {
-+ cflags = [
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-avx512f-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("f32-vtanh_f16c-fma-no-avx2") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vtanh_f16c-fma-no-avx2_standalone") {
+- cflags = [
+- "-mf16c",
+- "-mfma",
+- "-mno-avx2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-fma3-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f32-vtanh_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
+- "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++if (build_with_chromium) {
++ source_set("qu8-vlrelu_arm64") {
++ cflags = [
++
+ ]
+
+ sources = [
@@ -83677,12 +71287,47 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-neon-u32.c",
+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vtanh_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-sse2-rational-9-8-div.c",
+- "src/src/f32-vtanh/gen/f32-vtanh-sse2fma-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -83691,9 +71336,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vtanh_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-vlrelu_arm64_standalone") {
@@ -83706,27 +71354,71 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-neon-u32.c",
+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vtanh_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("qu8-vmul_arm64") {
+ cflags = [
@@ -83738,23 +71430,91 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-rndnu-neon-ld64-u16.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-avx.c",
+- "src/src/f32-vunary/gen/f32-vneg-avx.c",
+- "src/src/f32-vunary/gen/f32-vsqr-avx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vunary_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-avx.c",
+- "src/src/f32-vunary/gen/f32-vneg-avx.c",
+- "src/src/f32-vunary/gen/f32-vsqr-avx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vunary_avx512f") {
+- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-vmul_arm64_standalone") {
@@ -83767,27 +71527,75 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c",
+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-rndnu-neon-ld64-u16.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
+- "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
+- "src/src/f32-vunary/gen/f32-vsqr-avx512f.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vunary_avx512f_standalone") {
+- cflags = [ "-mavx512f" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-avx512f.c",
+- "src/src/f32-vunary/gen/f32-vneg-avx512f.c",
+- "src/src/f32-vunary/gen/f32-vsqr-avx512f.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("qu8-vmulc_arm64") {
+ cflags = [
@@ -83799,23 +71607,87 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-rndnu-neon-ld64-u16.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vunary_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-sse2.c",
+- "src/src/f32-vunary/gen/f32-vneg-sse2.c",
+- "src/src/f32-vunary/gen/f32-vsqr-sse2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vunary_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-sse2.c",
+- "src/src/f32-vunary/gen/f32-vneg-sse2.c",
+- "src/src/f32-vunary/gen/f32-vsqr-sse2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vunary_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-vmulc_arm64_standalone") {
@@ -83828,27 +71700,75 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c",
+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-rndnu-neon-ld64-u16.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
+- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
+- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-vunary_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vunary/gen/f32-vabs-scalar.c",
+- "src/src/f32-vunary/gen/f32-vneg-scalar.c",
+- "src/src/f32-vunary/gen/f32-vsqr-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("qu8-vprelu_arm64") {
+ cflags = [
@@ -83859,23 +71779,70 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("operators_x64") {
+- cflags = []
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/operators/argmax-pooling-nhwc.c",
+- "src/src/operators/average-pooling-nhwc.c",
+- "src/src/operators/batch-matrix-multiply-nc.c",
+- "src/src/operators/binary-elementwise-nd.c",
+- "src/src/operators/constant-pad-nd.c",
+- "src/src/operators/convolution-nchw.c",
+- "src/src/operators/convolution-nhwc.c",
+- "src/src/operators/deconvolution-nhwc.c",
+- "src/src/operators/dynamic-fully-connected-nc.c",
+- "src/src/operators/fingerprint_cache.c",
+- "src/src/operators/fingerprint_id.c",
+- "src/src/operators/fully-connected-nc.c",
+- "src/src/operators/max-pooling-nhwc.c",
+- "src/src/operators/pack-lh.c",
+- "src/src/operators/reduce-nd.c",
+- "src/src/operators/resize-bilinear-nchw.c",
+- "src/src/operators/resize-bilinear-nhwc.c",
+- "src/src/operators/rope-nthc.c",
+- "src/src/operators/slice-nd.c",
+- "src/src/operators/softmax-nc.c",
+- "src/src/operators/transpose-nd.c",
+- "src/src/operators/unary-elementwise-nc.c",
+- "src/src/operators/unpooling-nhwc.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("operators_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-vprelu_arm64_standalone") {
@@ -83887,27 +71854,164 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/operators/argmax-pooling-nhwc.c",
+- "src/src/operators/average-pooling-nhwc.c",
+- "src/src/operators/batch-matrix-multiply-nc.c",
+- "src/src/operators/binary-elementwise-nd.c",
+- "src/src/operators/constant-pad-nd.c",
+- "src/src/operators/convolution-nchw.c",
+- "src/src/operators/convolution-nhwc.c",
+- "src/src/operators/deconvolution-nhwc.c",
+- "src/src/operators/dynamic-fully-connected-nc.c",
+- "src/src/operators/fingerprint_cache.c",
+- "src/src/operators/fingerprint_id.c",
+- "src/src/operators/fully-connected-nc.c",
+- "src/src/operators/max-pooling-nhwc.c",
+- "src/src/operators/pack-lh.c",
+- "src/src/operators/reduce-nd.c",
+- "src/src/operators/resize-bilinear-nchw.c",
+- "src/src/operators/resize-bilinear-nhwc.c",
+- "src/src/operators/rope-nthc.c",
+- "src/src/operators/slice-nd.c",
+- "src/src/operators/softmax-nc.c",
+- "src/src/operators/transpose-nd.c",
+- "src/src/operators/unary-elementwise-nc.c",
+- "src/src/operators/unpooling-nhwc.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-bf16-qb4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("qu8-vpreluc_arm64") {
+ cflags = [
@@ -83918,12 +72022,54 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-bf16-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x16c8-minmax-avx512vnni.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-8x16c8-minmax-avx512vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -83932,9 +72078,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-bf16-qb4w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-vpreluc_arm64_standalone") {
@@ -83946,27 +72095,73 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-bf16-qb4w-gemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("qu8-vrpreluc_arm64") {
+ cflags = [
@@ -83977,23 +72172,115 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qb4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qb4w-gemm/gen/qd8-f16-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("qu8-vrpreluc_arm64_standalone") {
@@ -84005,56 +72292,176 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avxvnni.c",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-5x8c8-minmax-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("reference_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc2w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc2w-gemm_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
+- ]
++if (build_with_chromium) {
++ source_set("reference_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc"
++ ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc2w-gemm_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("reference_arm64_standalone") {
@@ -84068,27 +72475,140 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/reference/packing.cc",
+ "src/src/reference/unary-elementwise.cc"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("s8-ibilinear_arm64") {
+ cflags = [
@@ -84101,12 +72621,48 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u8.c",
+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -84115,9 +72671,39 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("s8-ibilinear_arm64_standalone") {
@@ -84131,27 +72717,141 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-u8.c",
+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("s8-maxpool_arm64") {
+ cflags = [
@@ -84163,23 +72863,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c",
+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("s8-maxpool_arm64_standalone") {
@@ -84192,27 +72982,134 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c",
+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc8w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-5x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("s8-rdminmax_arm64") {
+ cflags = [
@@ -84226,23 +73123,130 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-u32.c",
+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("s8-rdminmax_arm64_standalone") {
@@ -84257,27 +73261,137 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-u32.c",
+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("s8-rminmax_arm64") {
+ cflags = [
@@ -84293,23 +73407,114 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/s8-rminmax/gen/s8-rminmax-neon-u32-acc2.c",
+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f16-qc8w-igemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("s8-rminmax_arm64_standalone") {
@@ -84326,55 +73531,274 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/s8-rminmax/gen/s8-rminmax-neon-u32-acc2.c",
+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("s8-vclamp_arm64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
-+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-5x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x8c8-minmax-avx256vnni.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-8x8c8-minmax-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("s8-vclamp_arm64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f16-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("s8-vclamp_arm64_standalone") {
@@ -84387,27 +73811,125 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qb4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-avx-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qb4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("subgraph_arm64") {
+ cflags = [
@@ -84447,23 +73969,128 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/subgraph/unpooling-2d.c",
+ "src/src/subgraph/validation.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("subgraph_arm64_standalone") {
@@ -84504,27 +74131,129 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/subgraph/unpooling-2d.c",
+ "src/src/subgraph/validation.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qb4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qb4w-gemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qb4w-gemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse2-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("tables_arm64") {
+ cflags = [
@@ -84543,23 +74272,85 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/tables/exp2minus-k-over-8.c",
+ "src/src/tables/vlog.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qb4w-gemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4c8-minmax-sse41-ld128.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-3x4c8-minmax-sse41-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qb4w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("tables_arm64_standalone") {
@@ -84579,27 +74370,73 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/tables/exp2minus-k-over-8.c",
+ "src/src/tables/vlog.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qb4w-gemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("u8-ibilinear_arm64") {
+ cflags = [
@@ -84612,23 +74449,117 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u8.c",
+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avxvnni.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-5x8c8-minmax-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("u8-ibilinear_arm64_standalone") {
@@ -84642,27 +74573,127 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-u8.c",
+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc2w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-8x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc2w-gemm_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x4c8-minmax-ssse3-madd.c",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-4x4c8-minmax-ssse3-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc2w-gemm_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
+- ]
+if (build_with_chromium) {
+ source_set("u8-lut32norm_arm64") {
+ cflags = [
@@ -84673,23 +74704,39 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc2w-gemm_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("u8-lut32norm_arm64_standalone") {
@@ -84701,29 +74748,142 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("u8-maxpool_arm64") {
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++if (build_with_chromium) {
++ source_set("u8-maxpool_arm64") {
+ cflags = [
+
+ ]
@@ -84733,12 +74893,48 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-neon-u16.c",
+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -84747,9 +74943,41 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("u8-maxpool_arm64_standalone") {
@@ -84762,27 +74990,143 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-neon-u16.c",
+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x8c8-minmax-avx256skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512skx-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x8c8-minmax-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-8x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("u8-rdminmax_arm64") {
+ cflags = [
@@ -84796,23 +75140,132 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-u32.c",
+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-14x16c8-minmax-avx512vnnigfni-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x16c8-minmax-avx512vnnigfni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("u8-rdminmax_arm64_standalone") {
@@ -84827,27 +75280,131 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-u32.c",
+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc4w-gemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc4w-gemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-sse2-ld128.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4c8-minmax-sse2-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("u8-rminmax_arm64") {
+ cflags = [
@@ -84863,23 +75420,85 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/u8-rminmax/gen/u8-rminmax-neon-u32-acc2.c",
+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc4w-gemm_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc4w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("u8-rminmax_arm64_standalone") {
@@ -84896,27 +75515,73 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/u8-rminmax/gen/u8-rminmax-neon-u32-acc2.c",
+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc4w-gemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("u8-vclamp_arm64") {
+ cflags = [
@@ -84928,23 +75593,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/u8-vclamp/u8-vclamp-neon-u64.c",
+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("u8-vclamp_arm64_standalone") {
@@ -84957,27 +75712,138 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/u8-vclamp/u8-vclamp-neon-u64.c",
+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-8x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x16-pack-lh_arch=armv8.2-a+sve+sve2") {
+ cflags = [
@@ -84991,23 +75857,130 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x16-pack-lh/x16-packlh-neonsme.c",
+ "src/src/x16-pack-lh/x16-packlh-neonsme2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-10x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x16-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
@@ -85022,27 +75995,131 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x16-pack-lh/x16-packlh-neonsme.c",
+ "src/src/x16-pack-lh/x16-packlh-neonsme2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-gemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-gemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse2-ld64.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x16-packw_arm64") {
+ cflags = [
@@ -85054,27 +76131,88 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
+ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.c",
+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4c8-minmax-sse41-ld64.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4c8-minmax-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x16-packw_arm64_standalone") {
@@ -85087,31 +76225,78 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
+ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.c",
+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
+ "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-gemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x16-transposec_arm64") {
+ cflags = [
@@ -85123,23 +76308,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
+ "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-dec-zip-neon.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x16-transposec_arm64_standalone") {
@@ -85152,27 +76427,138 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c",
+ "src/src/x16-transposec/gen/x16-transposec-8x8-reuse-dec-zip-neon.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-igemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx2.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x8c8-minmax-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x8c8-minmax-avx256skx.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x16c8-minmax-avx512skx-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-8x8c8-minmax-avx256skx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x16-x32-packw_arm64") {
+ cflags = [
@@ -85184,23 +76570,130 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-10x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x16-x32-packw_arm64_standalone") {
@@ -85213,27 +76706,131 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qd8-f32-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-16x64c4-minmax-avx512amx.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x64c4-minmax-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-igemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-igemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse2-ld64.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x24-transposec_arm64") {
+ cflags = [
@@ -85246,23 +76843,85 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x24-transposec/x24-transposec-2x2-neon-tbl64.c",
+ "src/src/x24-transposec/x24-transposec-4x4-aarch64-neon-tbl128.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4c8-minmax-sse41-ld64.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4c8-minmax-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qd8-f32-qc8w-igemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x24-transposec_arm64_standalone") {
@@ -85276,27 +76935,75 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x24-transposec/x24-transposec-2x2-neon-tbl64.c",
+ "src/src/x24-transposec/x24-transposec-4x4-aarch64-neon-tbl128.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qd8-f32-qc8w-igemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
+- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x32-pack-lh_arch=armv8.2-a+sve+sve2") {
+ cflags = [
@@ -85310,23 +77017,111 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x32-pack-lh/x32-packlh-neonsme.c",
+ "src/src/x32-pack-lh/x32-packlh-neonsme2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-dwconv_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x32-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
@@ -85341,27 +77136,134 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x32-pack-lh/x32-packlh-neonsme.c",
+ "src/src/x32-pack-lh/x32-packlh-neonsme2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-dwconv_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x32-packw_arm64") {
+ cflags = [
@@ -85385,23 +77287,110 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-neon-ld4lane-u4-prfm.c",
+ "src/src/x32-packw/gen/x32-packw-x8s4-gemm-goi-neon-ld4lane-u4-prfm.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-dwconv_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-dwconv_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse2-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse2-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-dwconv_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x32-packw_arm64_standalone") {
@@ -85426,27 +77415,87 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x32-packw/gen/x32-packw-x8-gemm-goi-neon-ld4lane-u4-prfm.c",
+ "src/src/x32-packw/gen/x32-packw-x8s4-gemm-goi-neon-ld4lane-u4-prfm.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-dwconv_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p8c-minmax-fp32-sse41-mul16-add16.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p8c-minmax-fp32-sse41-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-dwconv_x64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-dwconv_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("x32-transposec_arm64") {
+ cflags = [
@@ -85459,23 +77508,109 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x32-transposec/gen/x32-transposec-4x4-reuse-dec-zip-neon.c",
+ "src/src/x32-transposec/x32-transposec-4x4-aarch64-neon-tbl128.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f16-vcvt_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f16-vcvt_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f16-vcvt/gen/qs8-f16-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x32-transposec_arm64_standalone") {
@@ -85489,27 +77624,111 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x32-transposec/gen/x32-transposec-4x4-reuse-dec-zip-neon.c",
+ "src/src/x32-transposec/x32-transposec-4x4-aarch64-neon-tbl128.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f32-vcvt_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("x32-unpool_arm64") {
+ cflags = [
@@ -85521,12 +77740,47 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x32-unpool/x32-unpool-neon.c",
+ "src/src/x32-unpool/x32-unpool-scalar.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f32-vcvt_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -85535,9 +77789,38 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x32-unpool_arm64_standalone") {
@@ -85550,27 +77833,124 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x32-unpool/x32-unpool-neon.c",
+ "src/src/x32-unpool/x32-unpool-scalar.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-avx512skx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f32-vcvt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f32-vcvt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x64-transposec_arm64") {
+ cflags = [
@@ -85583,23 +77963,83 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f32-vcvt_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-sse41-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-f32-vcvt_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x64-transposec_arm64_standalone") {
@@ -85613,27 +78053,71 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x64-transposec/gen/x64-transposec-2x2-reuse-dec-zip-neon.c",
+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-f32-vcvt_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x8-lut_arm64") {
+ cflags = [
@@ -85645,23 +78129,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-packw_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x8-lut_arm64_standalone") {
@@ -85674,27 +78248,138 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x8-lut/gen/x8-lut-aarch64-neon-tbx128x4-u64.c",
+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-packw_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx2-madd.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-avx256vnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x64c4-gemm-goi-avx256vnni-prfm.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-goi-avx256vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2") {
+ cflags = [
@@ -85708,23 +78393,54 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x8-pack-lh/x8-packlh-neonsme.c",
+ "src/src/x8-pack-lh/x8-packlh-neonsme2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-packw_x64") {
+- cflags = []
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-packw_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
@@ -85739,27 +78455,150 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x8-pack-lh/x8-packlh-neonsme.c",
+ "src/src/x8-pack-lh/x8-packlh-neonsme2.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
+- "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
+
+- if (build_with_chromium) {
+- source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc2w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-fp32-avxvnni.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-fp32-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc2w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+if (build_with_chromium) {
+ source_set("x8-packq_arm64") {
+ cflags = [
@@ -85768,26 +78607,132 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
++ "src/src/x8-packq/x8-packq-aarch64-neon-f16qp8-u2.c",
++ "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc2w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx2-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx2-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc2w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x8c8-minmax-avx256skx-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x8c8-minmax-avx256skx-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x8-packq_arm64_standalone") {
@@ -85797,30 +78742,112 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
++ "src/src/x8-packq/x8-packq-aarch64-neon-f16qp8-u2.c",
++ "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc2w-gemm_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc2w-gemm_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4c8-minmax-fp32-ssse3-madd.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-5x4c8-minmax-fp32-ssse3-madd.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc2w-gemm_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("x8-packw_arm64") {
+ cflags = [
@@ -85838,23 +78865,82 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc2w-gemm_x64_standalone") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x8-packw_arm64_standalone") {
@@ -85873,27 +78959,129 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-avx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-avx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avxvnni-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x8c8-minmax-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("x8-transposec_arm64") {
+ cflags = [
@@ -85905,23 +79093,116 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-dec-zip-neon.c",
+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-avx2-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-avx2-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("x8-transposec_arm64_standalone") {
@@ -85934,27 +79215,143 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/x8-transposec/gen/x8-transposec-16x16-reuse-dec-zip-neon.c",
+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x16c8-minmax-fp32-avx512skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x16c8-minmax-fp32-avx512skx-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256skx-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc4w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x8c8-minmax-fp32-avx256vnni-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-7x8c8-minmax-fp32-avx256vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("xx-copy_arm64") {
+ cflags = [
@@ -85965,23 +79362,85 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-gemm_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-gemm_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4c8-minmax-ssse3-madd-prfm.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-5x4c8-minmax-ssse3-madd-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-gemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("xx-copy_arm64_standalone") {
@@ -85993,27 +79452,47 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-gemm_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("xx-fill_arm64") {
+ cflags = [
@@ -86025,23 +79504,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/xx-fill/xx-fill-neon-u64.c",
+ "src/src/xx-fill/xx-fill-scalar-u16.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("xx-fill_arm64_standalone") {
@@ -86054,27 +79623,129 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/xx-fill/xx-fill-neon-u64.c",
+ "src/src/xx-fill/xx-fill-scalar-u16.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc4w-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x16c8-gemm-goi-avx256vnni.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4w-packw-x8c8-gemm-goi-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-packw_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("xx-pad_arm64") {
+ cflags = [
@@ -86086,12 +79757,49 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/xx-pad/xx-pad-p16-neon-u16.c",
+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-packw_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x4c8-gemm-goi-sse2.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x8c8-gemm-goi-sse2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -86100,9 +79808,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc4w-packw_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("xx-pad_arm64_standalone") {
@@ -86115,27 +79826,47 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/xx-pad/xx-pad-p16-neon-u16.c",
+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc4w-packw_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
+ source_set("xx-transposev_arm64") {
+ cflags = [
@@ -86146,23 +79877,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx-mul16-add16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx-mul16-add16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("xx-transposev_arm64_standalone") {
@@ -86174,29 +79995,125 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-dwconv_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-dwconv_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+}
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+if (current_cpu == "riscv64") {
+if (build_with_chromium) {
+ source_set("bf16-f32-vcvt_riscv64") {
@@ -86208,23 +80125,124 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-dwconv_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-dwconv_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-f32-vcvt_riscv64_standalone") {
@@ -86236,27 +80254,112 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-dwconv_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-dwconv_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("bf16-qs8-vcvt_riscv64") {
+ cflags = [
@@ -86267,23 +80370,84 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-dwconv_x64_standalone") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-qs8-vcvt_riscv64_standalone") {
@@ -86295,27 +80459,129 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("bf16-qu8-vcvt_riscv64") {
+ cflags = [
@@ -86326,23 +80592,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnniint8",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnniint8",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-qu8-vcvt_riscv64_standalone") {
@@ -86354,27 +80710,138 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("bf16-rminmax_riscv64") {
+ cflags = [
@@ -86387,23 +80854,130 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x16c8-minmax-fp32-avx512vnni-prfm.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-7x16c8-minmax-fp32-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("bf16-rminmax_riscv64_standalone") {
@@ -86417,27 +80991,298 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-16x64c4-minmax-fp32-avx512amx.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x64c4-minmax-fp32-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("bf16-vunary_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-gemm_x64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("bf16-vunary_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-gemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("configs_riscv64") {
+ cflags = [
@@ -86471,23 +81316,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/configs/xx-fill-config.c",
+ "src/src/configs/xx-pad-config.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("configs_riscv64_standalone") {
@@ -86522,27 +81457,130 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/configs/xx-fill-config.c",
+ "src/src/configs/xx-pad-config.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnni-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnniint8",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_avx2-avxvnniint8-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnniint8",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-5x8c8-minmax-fp32-avxvnniint8-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("enums_riscv64") {
+ cflags = [
@@ -86557,23 +81595,116 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/enums/node-type.c",
+ "src/src/enums/operator-type.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("enums_riscv64_standalone") {
@@ -86589,27 +81720,143 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/enums/node-type.c",
+ "src/src/enums/operator-type.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x8c8-minmax-fp32-avx256skx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x16c8-minmax-avx512vnni-prfm.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-7x16c8-minmax-avx512vnni-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
+ source_set("f16-avgpool_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
@@ -86621,23 +81868,130 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-rvvfp16arith-u2v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qc8w-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni-gfni-amx-tile-amx-int8_standalone") {
+- cflags = [
+- "-mamx-int8",
+- "-mamx-tile",
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-16x64c4-minmax-fp32-avx512amx.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x64c4-minmax-fp32-avx512amx.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("f16-avgpool_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -86650,96 +82004,321 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f16-avgpool/gen/f16-avgpool-9p-minmax-rvvfp16arith-u2v.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qc8w-igemm_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-dwconv_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-avgpool_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p8vc-minmax-rvvfp16arith.c"
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qc8w-igemm_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-dwconv_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-avgpool_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-dwconv/gen/f16-dwconv-25p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-3p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-4p8vc-minmax-rvvfp16arith.c",
-+ "src/src/f16-dwconv/gen/f16-dwconv-9p8vc-minmax-rvvfp16arith.c"
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qu8-packw_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-goi-avxvnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-dwconv_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -86747,14 +82326,58 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-rvvfp16arith-u4v.c"
++ "src/src/f16-dwconv/gen/f16-dwconv-25p8vc-minmax-rvvfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-3p8vc-minmax-rvvfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-4p8vc-minmax-rvvfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-9p8vc-minmax-rvvfp16arith.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-qu8-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-avx256vnni.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -86763,12 +82386,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-qu8-packw_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-dwconv_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -86776,90 +82402,339 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-rvvfp16arith-u4v.c"
++ "src/src/f16-dwconv/gen/f16-dwconv-25p8vc-minmax-rvvfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-3p8vc-minmax-rvvfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-4p8vc-minmax-rvvfp16arith.c",
++ "src/src/f16-dwconv/gen/f16-dwconv-9p8vc-minmax-rvvfp16arith.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-qu8-packw_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_riscv64") {
++ source_set("f16-dwconv_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rdsum_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rdsum_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx2-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_riscv64_standalone") {
++ source_set("f16-dwconv_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-rdsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-avx512skx-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rdsum_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rdsum_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-sse41-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rdsum_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -86867,28 +82742,44 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-rvvfp16arith-u4v.c"
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-rvvfp16arith-u4v.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rdsum_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-f32-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -86896,46 +82787,190 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-rvvfp16arith-u4v.c"
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-rvvfp16arith-u4v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rsum_avx2-avxvnni-f16c-fma-gfni_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mavxvnni",
+- "-mf16c",
+- "-mfma",
+- "-mgfni",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avxvnni-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rsum_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-f32-vcvt_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-rvvfp16arith-u4v.c"
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rsum_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx2-u64-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -86944,44 +82979,185 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-f32-vcvt_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-rvvfp16arith-u4v.c"
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx256skx-u64-acc2.c",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx512skx-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-rsum_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl-avx512vnni_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mavx512vnni",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-avx512vnni-u128-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -86989,28 +83165,88 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-rvvfp16arith-u4v.c"
++ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-rvvfp16arith-u4v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rsum_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rsum_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-ssse3-u32-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-rsum_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-f32acc-rdsum2_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87018,31 +83254,75 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-rvvfp16arith-u4v.c"
++ "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-rvvfp16arith-u4v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-rsum_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87050,90 +83330,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-rvvfp16arith-u4v.c"
+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-rvvfp16arith-u4v.c"
-+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
-+ }
-+ }
-+}
-+
-+if (build_with_chromium) {
-+ source_set("f16-gemm_arch=rv64gc_zvfh-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x4v-minmax-rvvfp16arith.c",
-+ "src/src/f16-gemm/gen/f16-gemm-7x4v-minmax-rvvfp16arith.c"
-+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vadd_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-f32acc-rdsum_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87141,32 +83444,135 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-gemm/gen/f16-gemm-1x4v-minmax-rvvfp16arith.c",
-+ "src/src/f16-gemm/gen/f16-gemm-7x4v-minmax-rvvfp16arith.c"
++ "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-rvvfp16arith-u4v.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vadd_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-igemm_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87174,29 +83580,108 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x4v-minmax-rvvfp16arith.c",
-+ "src/src/f16-igemm/gen/f16-igemm-7x4v-minmax-rvvfp16arith.c"
++ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-rvvfp16arith-u4v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vadd_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vadd_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vadd_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-f32acc-rsum2_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87204,15 +83689,47 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-igemm/gen/f16-igemm-1x4v-minmax-rvvfp16arith.c",
-+ "src/src/f16-igemm/gen/f16-igemm-7x4v-minmax-rvvfp16arith.c"
++ "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-rvvfp16arith-u4v.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vadd_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -87224,12 +83741,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vadd_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-maxpool_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87237,28 +83763,44 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-rvvfp16arith-u2v.c"
++ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-rvvfp16arith-u4v.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vadd_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-maxpool_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-f32acc-rsum_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87266,45 +83808,191 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-rvvfp16arith-u2v.c"
++ "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-rvvfp16arith-u4v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
+- "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vaddc_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-qs8-vcvt_riscv64") {
++ source_set("f16-gemm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-gemm/gen/f16-gemm-1x4v-minmax-rvvfp16arith.c",
++ "src/src/f16-gemm/gen/f16-gemm-7x4v-minmax-rvvfp16arith.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vaddc_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -87313,102 +84001,340 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qs8-vcvt_riscv64_standalone") {
++ source_set("f16-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-gemm/gen/f16-gemm-1x4v-minmax-rvvfp16arith.c",
++ "src/src/f16-gemm/gen/f16-gemm-7x4v-minmax-rvvfp16arith.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qs8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vaddc_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vaddc_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-qu8-vcvt_riscv64") {
++ source_set("f16-igemm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-igemm/gen/f16-igemm-1x4v-minmax-rvvfp16arith.c",
++ "src/src/f16-igemm/gen/f16-igemm-7x4v-minmax-rvvfp16arith.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vaddc_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vaddc_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vaddc_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-qu8-vcvt_riscv64_standalone") {
++ source_set("f16-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
++ "src/src/f16-igemm/gen/f16-igemm-1x4v-minmax-rvvfp16arith.c",
++ "src/src/f16-igemm/gen/f16-igemm-7x4v-minmax-rvvfp16arith.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vaddc_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
+- "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-maxpool_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87416,28 +84342,113 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-rvvfp16arith-rr2-p2-u4v.c"
++ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-rvvfp16arith-u2v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-maxpool_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87445,77 +84456,278 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-rvvfp16arith-rr2-p2-u4v.c"
++ "src/src/f16-maxpool/gen/f16-maxpool-9p-minmax-rvvfp16arith-u2v.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-avx2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-qs8-vcvt_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-rvvfp16arith-u8v.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-rvvfp16arith-u8v.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-qs8-vcvt_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-rvvfp16arith-u8v.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-rvvfp16arith-u8v.c"
++ "src/src/f16-qs8-vcvt/gen/f16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-ssse3-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -87527,73 +84739,203 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vcvt_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-rdminmax_riscv64") {
++ source_set("f16-qu8-vcvt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vcvt_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rdminmax_riscv64_standalone") {
++ source_set("f16-qu8-vcvt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
++ "src/src/f16-qu8-vcvt/gen/f16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-rminmax_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87601,16 +84943,49 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-rvvfp16arith-u8v.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-rvvfp16arith-u8v.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-rvvfp16arith-u8v.c"
++ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-rvvfp16arith-rr2-p2-u4v.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-avx2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -87619,12 +84994,35 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-raddstoreexpminusmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87632,157 +85030,489 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-rvvfp16arith-u8v.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-rvvfp16arith-u8v.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-rvvfp16arith-u8v.c"
++ "src/src/f16-raddstoreexpminusmax/gen/f16-raddstoreexpminusmax-rvvfp16arith-rr2-p2-u4v.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-rminmax_riscv64") {
++ source_set("f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-rvvfp16arith-u8v.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-rvvfp16arith-u8v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-ssse3-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vlrelu_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-rminmax_riscv64_standalone") {
++ source_set("f16-rdminmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
-+ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-rvvfp16arith-u8v.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-rvvfp16arith-u8v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vlrelu_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-spmm_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-rdminmax_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-spmm/gen/f16-spmm-8vx1-minmax-rvvfp16arith.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmul_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-avx-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-spmm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-rdminmax_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-spmm/gen/f16-spmm-8vx1-minmax-rvvfp16arith.c"
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-u2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-u2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmul_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmul_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmul_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-rminmax_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87790,14 +85520,50 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-rvvfp16arith-rational-6-4-div-u4v.c"
++ "src/src/f16-rminmax/gen/f16-rmax-rvvfp16arith-u8v.c",
++ "src/src/f16-rminmax/gen/f16-rmin-rvvfp16arith-u8v.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-rvvfp16arith-u8v.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmul_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-sse41-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -87806,12 +85572,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmul_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-rminmax_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87819,90 +85588,279 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-rvvfp16arith-rational-6-4-div-u4v.c"
++ "src/src/f16-rminmax/gen/f16-rmax-rvvfp16arith-u8v.c",
++ "src/src/f16-rminmax/gen/f16-rmin-rvvfp16arith-u8v.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-rvvfp16arith-u8v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmul_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vapproxgelu_riscv64") {
++ source_set("f16-rminmax_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
-+ ]
-+
++ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmulc_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-avx-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vapproxgelu_riscv64_standalone") {
++ source_set("f16-rminmax_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-rminmax/gen/f16-rmax-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rmin-scalar-u2-acc2.c",
++ "src/src/f16-rminmax/gen/f16-rminmax-scalar-u2-acc2.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmulc_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmulc_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmulc_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-vbinary_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-spmm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87910,32 +85868,48 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-rvvfp16arith-u8v.c"
++ "src/src/f16-spmm/gen/f16-spmm-8vx1-minmax-rvvfp16arith.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmulc_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-sse41-mul16-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -87944,12 +85918,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vmulc_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vbinary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-spmm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -87957,49 +85934,75 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vbinary/gen/f16-vadd-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vaddc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vdiv-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vdivc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmax-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmaxc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmin-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vminc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmul-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vmulc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vprelu-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vpreluc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrdivc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrpreluc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vrsubc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiff-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsqrdiffc-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsub-rvvfp16arith-u8v.c",
-+ "src/src/f16-vbinary/gen/f16-vsubc-rvvfp16arith-u8v.c"
++ "src/src/f16-spmm/gen/f16-spmm-8vx1-minmax-rvvfp16arith.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vmulc_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-vclamp_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88007,28 +86010,90 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c"
++ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-rvvfp16arith-rational-6-4-div-u4v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vprelu_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vprelu_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vprelu/gen/qs8-vprelu-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vprelu_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vclamp_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vapproxgelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88036,31 +86101,240 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c"
++ "src/src/f16-vapproxgelu/gen/f16-vapproxgelu-rvvfp16arith-rational-6-4-div-u4v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vprelu_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-vcmul_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vapproxgelu_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qs8-vpreluc_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vpreluc_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vpreluc/gen/qs8-vpreluc-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qs8-vpreluc_x64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-vapproxgelu_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vpreluc_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f16-vbinary_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88068,28 +86342,108 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcmul/gen/f16-vcmul-rvvfp16arith-u2v.c"
++ "src/src/f16-vbinary/gen/f16-vadd-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vaddc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vdiv-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vdivc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vmax-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vmaxc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vmin-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vminc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vmul-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vmulc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vprelu-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vpreluc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vrdivc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vrpreluc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vrsubc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiff-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiffc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vsub-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vsubc-rvvfp16arith-u8v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vrpreluc_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vrpreluc_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qs8-vrpreluc_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcmul_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vbinary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88097,31 +86451,68 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcmul/gen/f16-vcmul-rvvfp16arith-u2v.c"
++ "src/src/f16-vbinary/gen/f16-vadd-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vaddc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vdiv-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vdivc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vmax-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vmaxc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vmin-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vminc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vmul-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vmulc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vprelu-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vpreluc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vrdivc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vrpreluc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vrsubc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiff-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vsqrdiffc-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vsub-rvvfp16arith-u8v.c",
++ "src/src/f16-vbinary/gen/f16-vsubc-rvvfp16arith-u8v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qs8-vrpreluc_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vcos_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vclamp_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88129,28 +86520,115 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-rvvfp16arith-poly-3-u4v.c"
++ "src/src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-dwconv_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vclamp_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88158,105 +86636,1606 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-vcos-rvvfp16arith-poly-3-u4v.c"
++ "src/src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-dwconv_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-dwconv_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p16c-minmax-fp32-avx2-mul32.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p16c-minmax-fp32-avx2-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-vcos_riscv64") {
++ source_set("f16-vcmul_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
++ "src/src/f16-vcmul/gen/f16-vcmul-rvvfp16arith-u2v.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-dwconv_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p32c-minmax-fp32-avx512skx-mul32.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p32c-minmax-fp32-avx512skx-mul32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qu8-dwconv_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-vcmul_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vcmul/gen/f16-vcmul-rvvfp16arith-u2v.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-dwconv_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse2-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse2-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-dwconv_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-dwconv_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p8c-minmax-fp32-sse41-mul16.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p8c-minmax-fp32-sse41-mul16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f16-vcos_arch=rv64gc_zvfh-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vcos/gen/f16-vcos-rvvfp16arith-poly-3-u4v.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-dwconv_x64") {
+- cflags = []
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-dwconv_x64_standalone") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-vcos_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vcos/gen/f16-vcos-rvvfp16arith-poly-3-u4v.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-f32-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qu8-f32-vcvt_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++if (build_with_chromium) {
++ source_set("f16-vcos_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-f32-vcvt_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-vcos_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-f32-vcvt_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-avx512skx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-f32-vcvt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-f32-vcvt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f16-velu_arch=rv64gc_zvfh-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-velu/gen/f16-velu-rvvfp16arith-rr1-p3-u2v.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-f32-vcvt_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-f32-vcvt_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-sse41-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qu8-f32-vcvt_x64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-velu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-velu/gen/f16-velu-rvvfp16arith-rr1-p3-u2v.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-f32-vcvt_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f16-vexp_arch=rv64gc_zvfh-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vexp/gen/f16-vexp-rvvfp16arith-poly-3-u8v.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-gemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qu8-gemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-vexp_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vexp/gen/f16-vexp-rvvfp16arith-poly-3-u8v.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-gemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-gemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f16-vexp_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-gemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-gemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qu8-gemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-vexp_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-gemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qu8-gemm_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
++if (build_with_chromium) {
++ source_set("f16-vgelu_arch=rv64gc_zvfh-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vgelu/gen/f16-vgelu-rvvfp16arith-rational-6-4-div-u2v.c"
++ ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-gemm_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vcos_riscv64_standalone") {
++ source_set("f16-vgelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vcos/gen/f16-f32acc-vcos-scalar-poly-3.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-rvvfp16arith-rational-6-4-div-u2v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-igemm_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-avx-ld128.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-2x4c8-minmax-fp32-avx-ld128.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-igemm_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-velu_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vgelu_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-rvvfp16arith-rr1-p3-u2v.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-igemm_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x8c8-minmax-fp32-avx2.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x8c8-minmax-fp32-avx2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -88265,44 +88244,173 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-velu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vgelu_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-velu/gen/f16-velu-rvvfp16arith-rr1-p3-u2v.c"
++ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-igemm_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x16c8-minmax-fp32-avx512skx-prfm.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-7x16c8-minmax-fp32-avx512skx-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-igemm_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-igemm_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse2-ld64.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse2-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-vexp_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vhswish_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88310,28 +88418,90 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-rvvfp16arith-poly-3-u8v.c"
++ "src/src/f16-vhswish/gen/f16-vhswish-rvvfp16arith-u8v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-igemm_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-igemm_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4c8-minmax-fp32-sse41-ld64.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4c8-minmax-fp32-sse41-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-igemm_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vhswish_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88339,210 +88509,608 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-vexp-rvvfp16arith-poly-3-u8v.c"
++ "src/src/f16-vhswish/gen/f16-vhswish-rvvfp16arith-u8v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-igemm_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
+- "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-vexp_riscv64") {
++ source_set("f16-vlog_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
++ "src/src/f16-vlog/gen/f16-vlog-rvvfp16arith-rational-1-3-div-u8v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-rdsum_ssse3-no-sse4.1") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-rdsum_ssse3-no-sse4.1_standalone") {
+- cflags = [
+- "-mno-sse4.1",
+- "-mssse3",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-ssse3-u64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-rdsum_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vexp_riscv64_standalone") {
++ source_set("f16-vlog_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vexp/gen/f16-f32acc-vexp-scalar-poly-3.c"
++ "src/src/f16-vlog/gen/f16-vlog-rvvfp16arith-rational-1-3-div-u8v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-rdsum_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vgelu_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vlog_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-rvvfp16arith-rational-6-4-div-u2v.c"
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-rsum_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-rsum_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-avx2-u64-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vlog_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-rvvfp16arith-rational-6-4-div-u2v.c"
++ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-rsum_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-rsum_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-sse2-u32-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-rsum_x64") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-vgelu_riscv64") {
++ source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vlrelu/gen/f16-vlrelu-rvvfp16arith-u8v.c"
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-rsum_x64_standalone") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vgelu_riscv64_standalone") {
++ source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vgelu/gen/f16-vgelu-scalar-rational-6-4-div.c"
++ "src/src/f16-vlrelu/gen/f16-vlrelu-rvvfp16arith-u8v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vadd_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vadd_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-vhswish_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88550,14 +89118,49 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-rvvfp16arith-u8v.c"
++ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c4v-minmax-rvvfp16arith-2x.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vadd_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -88566,12 +89169,41 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vhswish_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88579,31 +89211,128 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vhswish/gen/f16-vhswish-rvvfp16arith-u8v.c"
++ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c4v-minmax-rvvfp16arith-2x.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-vadd_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vadd_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vadd_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-vlog_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88611,28 +89340,91 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-rvvfp16arith-rational-1-3-div-u8v.c"
++ "src/src/f16-vrnd/gen/f16-vrndd-rvvfp16arith-u8v.c",
++ "src/src/f16-vrnd/gen/f16-vrndne-rvvfp16arith-u8v.c",
++ "src/src/f16-vrnd/gen/f16-vrndu-rvvfp16arith-u8v.c",
++ "src/src/f16-vrnd/gen/f16-vrndz-rvvfp16arith-u8v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vadd_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vadd_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vadd_x64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88640,90 +89432,288 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-vlog-rvvfp16arith-rational-1-3-div-u8v.c"
++ "src/src/f16-vrnd/gen/f16-vrndd-rvvfp16arith-u8v.c",
++ "src/src/f16-vrnd/gen/f16-vrndne-rvvfp16arith-u8v.c",
++ "src/src/f16-vrnd/gen/f16-vrndu-rvvfp16arith-u8v.c",
++ "src/src/f16-vrnd/gen/f16-vrndz-rvvfp16arith-u8v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vadd_x64_standalone") {
+- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vlog_riscv64") {
++ source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
++ "src/src/f16-vrsqrt/gen/f16-vrsqrt-rvvfp16arith-rsqrt-u4v.c"
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
+- "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vaddc_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx-mul32-ld32-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlog_riscv64_standalone") {
++ source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlog/gen/f16-f32acc-vlog-scalar-rational-1-3-div.c"
++ "src/src/f16-vrsqrt/gen/f16-vrsqrt-rvvfp16arith-rsqrt-u4v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vaddc_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vaddc_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx2-mul32-ld64-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88731,14 +89721,54 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-rvvfp16arith-u8v.c"
++ "src/src/f16-vsigmoid/gen/f16-vsigmoid-rvvfp16arith-rr2-p2-u2v.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "qu8-vaddc_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-avx512skx-mul32-ld128-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -88747,12 +89777,35 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vaddc_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vlrelu_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88760,31 +89813,122 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vlrelu/gen/f16-vlrelu-rvvfp16arith-u8v.c"
++ "src/src/f16-vsigmoid/gen/f16-vsigmoid-rvvfp16arith-rr2-p2-u2v.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vaddc_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse2-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vaddc_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vaddc_sse4.1-no-sse4.2_standalone") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-sse41-mul16-ld64-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88792,28 +89936,46 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c4v-minmax-rvvfp16arith-2x.c"
++ "src/src/f16-vsin/gen/f16-vsin-rvvfp16arith-poly-3-u4v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vaddc_x64") {
+- cflags = []
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
+}
-+
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vmulcaddc_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88821,49 +89983,136 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c4v-minmax-rvvfp16arith-2x.c"
++ "src/src/f16-vsin/gen/f16-vsin-rvvfp16arith-poly-3-u4v.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vaddc_x64_standalone") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
+- "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
+
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
-+ }
-+ }
+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vsin_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-rvvfp16arith-u8v.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vcvt_avx-no-avx2-no-f16c-no-fma_standalone") {
+- cflags = [
+- "-mavx",
+- "-mno-avx2",
+- "-mno-f16c",
+- "-mno-fma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-avx-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -88872,30 +90121,86 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ ]
+
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vcvt_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrnd_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vsin_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrnd/gen/f16-vrndd-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndne-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndu-rvvfp16arith-u8v.c",
-+ "src/src/f16-vrnd/gen/f16-vrndz-rvvfp16arith-u8v.c"
++ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vcvt_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-avx2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -88903,17 +90208,72 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
+- if (build_with_chromium) {
+- source_set("qu8-vcvt_sse2-no-sse3") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vcvt_sse2-no-sse3_standalone") {
+- cflags = [
+- "-mno-sse3",
+- "-msse2",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-sse2-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -88921,37 +90281,46 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-rvvfp16arith-rsqrt-u4v.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-rvvfp16arith-sqrt-u8v.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vcvt_sse4.1-no-sse4.2") {
+- cflags = [
+- "-mno-sse4.2",
+- "-msse4.1",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-sse41-u32.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-+
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vrsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-vrsqrt/gen/f16-vrsqrt-rvvfp16arith-rsqrt-u4v.c"
-+ ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -88984,11 +90353,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- if (build_with_chromium) {
- source_set("qu8-vcvt_ssse3-no-sse4.1") {
@@ -89013,17 +90380,26 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vsqrt/gen/f16-vsqrt-rvvfp16arith-sqrt-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -89055,6 +90431,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
++
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
@@ -89070,15 +90455,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vsqrt_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-rvvfp16arith-rr2-p2-u2v.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -89115,15 +90499,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsigmoid_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vsqrt_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsigmoid/gen/f16-vsigmoid-rvvfp16arith-rr2-p2-u2v.c"
++ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
+ ]
- sources = [
@@ -89255,7 +90638,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -89263,7 +90646,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-rvvfp16arith-poly-3-u4v.c"
++ "src/src/f16-vtanh/gen/f16-vtanh-rvvfp16arith-rational-5-4-div-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -89342,7 +90725,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -89350,7 +90733,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-vsin-rvvfp16arith-poly-3-u4v.c"
++ "src/src/f16-vtanh/gen/f16-vtanh-rvvfp16arith-rational-5-4-div-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -89465,14 +90848,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vsin_riscv64") {
++ source_set("f16-vtanh_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
+ ]
- if (build_with_chromium) {
@@ -89553,14 +90936,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsin_riscv64_standalone") {
++ source_set("f16-vtanh_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsin/gen/f16-f32acc-vsin-scalar-poly-3.c"
++ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
+ ]
- sources = [
@@ -89603,7 +90986,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qu8-vlrelu_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -89611,7 +90994,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-rvvfp16arith-sqrt-u8v.c"
++ "src/src/f16-vunary/gen/f16-vabs-rvvfp16arith-u8v.c",
++ "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
++ "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c"
+ ]
- sources = [
@@ -89717,7 +91102,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gc_zvfh"
@@ -89725,7 +91110,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-rvvfp16arith-sqrt-u8v.c"
++ "src/src/f16-vunary/gen/f16-vabs-rvvfp16arith-u8v.c",
++ "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
++ "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c"
+ ]
- if (build_with_chromium) {
@@ -89828,14 +91215,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vsqrt_riscv64") {
++ source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -89893,14 +91281,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vsqrt_riscv64_standalone") {
++ source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vsqrt/gen/f16-vsqrt-scalar-sqrt.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c"
+ ]
- sources = [
@@ -89943,15 +91332,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qu8-vmul_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f32-argmaxpool_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-rvvfp16arith-rational-5-4-div-u8v.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
+ ]
- sources = [
@@ -90057,15 +91445,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f32-argmaxpool_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-vtanh-rvvfp16arith-rational-5-4-div-u8v.c"
++ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
+ ]
- if (build_with_chromium) {
@@ -90168,14 +91555,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f16-vtanh_riscv64") {
++ source_set("f32-avgpool_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -90233,14 +91621,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vtanh_riscv64_standalone") {
++ source_set("f32-avgpool_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -90308,17 +91697,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f32-avgpool_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-rvvfp16arith-u8v.c",
-+ "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
-+ "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
+ ]
- if (build_with_chromium) {
@@ -90401,17 +91787,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f16-vunary_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f32-avgpool_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f16-vunary/gen/f16-vabs-rvvfp16arith-u8v.c",
-+ "src/src/f16-vunary/gen/f16-vneg-rvvfp16arith-u8v.c",
-+ "src/src/f16-vunary/gen/f16-vsqr-rvvfp16arith-u8v.c"
++ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -90479,98 +91862,172 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c"
-+ ]
-
-- if (build_with_chromium) {
-- source_set("qu8-vpreluc_f16c-fma-avx2") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vpreluc_f16c-fma-avx2_standalone") {
-- cflags = [
-- "-mavx2",
-- "-mf16c",
-- "-mfma",
-- ]
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-avx2-u16.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qu8-vpreluc_x64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-bf16-vcvt_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("qu8-vpreluc_f16c-fma-avx2") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vpreluc/gen/qu8-vpreluc-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vpreluc_f16c-fma-avx2_standalone") {
+- cflags = [
+- "-mavx2",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vpreluc/gen/qu8-vpreluc-avx2-u16.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("qu8-vpreluc_x64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-bf16-vcvt_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vpreluc_x64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -90578,82 +92035,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-rvv-u1v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vpreluc_x64_standalone") {
-- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-- }
-+if (build_with_chromium) {
-+ source_set("f32-argmaxpool_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c"
+ ]
- if (build_with_chromium) {
@@ -90746,14 +92128,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-argmaxpool_riscv64_standalone") {
++ source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c"
+ ]
- deps = [
@@ -90822,15 +92205,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/reference/unary-elementwise.cc",
- ]
+if (build_with_chromium) {
-+ source_set("f32-avgpool_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-conv-hwc2chw_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -90867,15 +92249,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-conv-hwc2chw_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-rvv-u2v.c"
++ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
+ ]
- sources = [
@@ -91004,14 +92385,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-avgpool_riscv64") {
++ source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -91069,14 +92452,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-avgpool_riscv64_standalone") {
++ source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c"
+ ]
- sources = [
@@ -91144,14 +92529,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-bf16-vcvt_riscv64") {
++ source_set("f32-dwconv2d-chw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
+ ]
- if (build_with_chromium) {
@@ -91232,14 +92624,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-bf16-vcvt_riscv64_standalone") {
++ source_set("f32-dwconv2d-chw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c"
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
++ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
+ ]
- sources = [
@@ -91307,7 +92706,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-dwconv_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -91315,7 +92714,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c"
+ ]
- if (build_with_chromium) {
@@ -91398,7 +92804,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -91406,7 +92812,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x2v-rvv-2x2.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c"
+ ]
- sources = [
@@ -91476,14 +92889,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-conv-hwc2chw_riscv64") {
++ source_set("f32-dwconv_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
+ ]
- if (build_with_chromium) {
@@ -91568,14 +92990,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-conv-hwc2chw_riscv64_standalone") {
++ source_set("f32-dwconv_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c"
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
++ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
+ ]
- sources = [
@@ -91647,16 +93078,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c"
+ ]
- if (build_with_chromium) {
@@ -91765,16 +93195,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-rvv-7x1v.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-rvv-2x2v.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -91895,21 +93324,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-dwconv2d-chw_riscv64") {
++ source_set("f32-f16-vcvt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
+ ]
- if (build_with_chromium) {
@@ -91990,21 +93412,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv2d-chw_riscv64_standalone") {
++ source_set("f32-f16-vcvt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-1x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3s2p1-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5p2-minmax-scalar-2x1-acc2.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-1x1-acc5.c",
-+ "src/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-5x5s2p2-minmax-scalar-2x1-acc2.c"
++ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
+ ]
- sources = [
@@ -92072,7 +93487,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-dwconv_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-gemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -92080,14 +93495,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c"
++ "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
++ "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c"
+ ]
- if (build_with_chromium) {
@@ -92162,7 +93571,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-gemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -92170,14 +93579,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p8vc-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-minmax-rvv.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p8vc-rvv.c"
++ "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
++ "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c"
+ ]
- sources = [
@@ -92286,23 +93689,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("tables_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-dwconv_riscv64") {
++ source_set("f32-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
++ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
+ ]
- sources = [
@@ -92412,23 +93811,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-dwconv_riscv64_standalone") {
++ source_set("f32-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-25p2c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-3p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-4p1c-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-minmax-scalar-acc2.c",
-+ "src/src/f32-dwconv/gen/f32-dwconv-9p1c-scalar-acc2.c"
++ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -92528,15 +93923,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("f32-ibilinear-chw_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c"
++ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -92590,15 +93984,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("f32-ibilinear-chw_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-rvvfp16arith-u8v.c"
++ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
+ ]
- sources = [
@@ -92666,14 +94059,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-f16-vcvt_riscv64") {
++ source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
++ "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c"
+ ]
- if (build_with_chromium) {
@@ -92754,14 +94148,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-f16-vcvt_riscv64_standalone") {
++ source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-f16-vcvt/gen/f32-f16-vcvt-scalar-fabsf-u2.c"
++ "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c"
+ ]
- sources = [
@@ -92829,16 +94224,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-gemm_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-ibilinear_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c"
++ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
+ ]
- if (build_with_chromium) {
@@ -92921,16 +94314,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-ibilinear_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-gemm/gen/f32-gemm-7x4v-minmax-rvv.c"
++ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
+ ]
- sources = [
@@ -93000,19 +94391,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-gemm_riscv64") {
++ source_set("f32-igemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
++ "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
++ "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c"
+ ]
- if (build_with_chromium) {
@@ -93097,19 +94485,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-gemm_riscv64_standalone") {
++ source_set("f32-igemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x2-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-minmax-scalar.c",
-+ "src/src/f32-gemm/gen/f32-gemm-4x4-scalar.c"
++ "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
++ "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c"
+ ]
- sources = [
@@ -93153,7 +94538,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("u8-rminmax_x64_standalone") {
- cflags = []
--
++if (build_with_chromium) {
++ source_set("f32-igemm_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
@@ -93180,16 +94580,10 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear-chw_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("u8-vclamp_f16c-fma-avx2") {
@@ -93215,14 +94609,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -93230,6 +94616,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("u8-vclamp_f16c-fma-avx2_standalone") {
@@ -93262,9 +94654,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-igemm_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
++ ]
- if (build_with_chromium) {
- source_set(
@@ -93295,20 +94701,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
--
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear-chw_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear-chw/gen/f32-ibilinear-chw-scalar-p4.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
- # This is a target that cannot depend on //base.
@@ -93347,12 +94752,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("u8-vclamp_sse2-no-sse3") {
@@ -93377,17 +94783,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++if (build_with_chromium) {
++ source_set("f32-maxpool_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -93419,22 +94833,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("u8-vclamp_x64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -93442,34 +94858,41 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c"
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -93477,17 +94900,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("u8-vclamp_x64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_arch=rv64gcv-abi=lp64d_standalone") {
++if (build_with_chromium) {
++ source_set("f32-maxpool_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-rvv-u2v.c"
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -93530,7 +94951,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
- "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-avx2-u16-prfm.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx2-u16-prfm.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -93548,13 +94968,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
-- }
+ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -93568,7 +94989,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
- "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-avx2-u16-prfm.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx2-u16-prfm.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -93588,44 +95008,139 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("x16-packw_x64") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-ibilinear_riscv64") {
+- }
+- }
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-maxpool_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
++ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set(
+- "x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx512skx-u16-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set(
+- "x16-packw_f16c-fma-avx512f-avx512cd-avx512bw-avx512dq-avx512vl_standalone") {
+- cflags = [
+- "-mavx512bw",
+- "-mavx512cd",
+- "-mavx512dq",
+- "-mavx512f",
+- "-mavx512vl",
+- "-mf16c",
+- "-mfma",
+- ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-avx512skx-u16-prfm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("x16-packw_x64") {
+- cflags = []
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
- ]
--
++if (build_with_chromium) {
++ source_set("f32-qc4w-gemm_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
++ ]
+
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
--
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
@@ -93651,21 +95166,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-ibilinear_riscv64_standalone") {
++ source_set("f32-qc4w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-u2.c"
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
- ]
-
@@ -93790,16 +95305,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-igemm_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-qc8w-gemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c"
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -93857,16 +95371,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-qc8w-gemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4v-minmax-rvv.c",
-+ "src/src/f32-igemm/gen/f32-igemm-7x4v-minmax-rvv.c"
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -93909,19 +95422,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("x16-transposec_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-igemm_riscv64") {
++ source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c"
+ ]
- sources = [
@@ -93978,19 +95487,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-igemm_riscv64_standalone") {
++ source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x2-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c",
-+ "src/src/f32-igemm/gen/f32-igemm-4x4-scalar.c"
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c"
+ ]
- deps = [
@@ -94073,15 +95578,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-maxpool_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-qs8-vcvt_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -94139,15 +95644,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-qs8-vcvt_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
+ ]
- sources = [
@@ -94215,14 +95720,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-maxpool_riscv64") {
++ source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c"
+ ]
- if (build_with_chromium) {
@@ -94311,14 +95817,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-mavx512f" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-maxpool_riscv64_standalone") {
++ source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-maxpool/gen/f32-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c"
+ ]
- sources = [
@@ -94363,15 +95870,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("x32-packw_avx512f_standalone") {
- cflags = [ "-mavx512f" ]
+if (build_with_chromium) {
-+ source_set("f32-qc4w-gemm_riscv64") {
++ source_set("f32-qu8-vcvt_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
+ ]
- sources = [
@@ -94477,15 +95984,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc4w-gemm_riscv64_standalone") {
++ source_set("f32-qu8-vcvt_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc4w-gemm/gen/f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
+ ]
- if (build_with_chromium) {
@@ -94541,15 +96048,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("x32-packw_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-qc8w-gemm_riscv64") {
++ source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c"
+ ]
- sources = [
@@ -94663,15 +96170,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qc8w-gemm_riscv64_standalone") {
++ source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c"
+ ]
- if (build_with_chromium) {
@@ -94759,15 +96266,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-raddstoreexpminusmax_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c"
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -94804,15 +96310,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-raddstoreexpminusmax_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-rvv-u2v.c"
++ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
+ ]
- sources = [
@@ -94924,15 +96429,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/x32-unpool/x32-unpool-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-qs8-vcvt_riscv64") {
++ source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -94969,15 +96475,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qs8-vcvt_riscv64_standalone") {
++ source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c"
+ ]
- sources = [
@@ -95108,15 +96615,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rdminmax_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c"
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -95174,15 +96681,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rdminmax_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-rvv-u2v.c"
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
+ ]
- sources = [
@@ -95250,15 +96757,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-qu8-vcvt_riscv64") {
++ source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c"
+ ]
- if (build_with_chromium) {
@@ -95364,15 +96871,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-qu8-vcvt_riscv64_standalone") {
++ source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u4.c",
-+ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-lrintf-u4.c"
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -95499,15 +97006,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rdsum2_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c"
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
- if (build_with_chromium) {
@@ -95602,15 +97108,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rdsum2_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c"
++ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
+ ]
- sources = [
@@ -95653,14 +97158,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("x8-lut_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-raddstoreexpminusmax_riscv64") {
++ source_set("f32-rdsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c"
+ ]
- sources = [
@@ -95716,14 +97222,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-raddstoreexpminusmax_riscv64_standalone") {
++ source_set("f32-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c"
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c"
+ ]
- deps = [
@@ -95809,16 +97316,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rdsum_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c"
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -95900,16 +97405,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rdsum_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-rvv-u8v.c"
++ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -96025,15 +97528,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("f32-rdminmax_riscv64") {
++ source_set("f32-rminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
++ "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
++ "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c"
+ ]
- if (build_with_chromium) {
@@ -96043,11 +97548,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c",
-- ]
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -96055,52 +97556,58 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
+}
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdminmax_riscv64_standalone") {
++ source_set("f32-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-u2.c",
-+ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-u2.c"
++ "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
++ "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c"
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("x8-transposec_x64_standalone") {
-- cflags = []
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("x8-transposec_x64_standalone") {
+- cflags = []
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
@@ -96140,15 +97647,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rminmax_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c"
++ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -96185,15 +97693,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rminmax_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-rvv-u4v.c"
++ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
++ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
+ ]
- sources = [
@@ -96305,14 +97814,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/xx-fill/xx-fill-scalar-u16.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rdsum2_riscv64") {
++ source_set("f32-rsum2_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
++ "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -96349,14 +97859,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum2_riscv64_standalone") {
++ source_set("f32-rsum2_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum2/gen/f32-rdsum2-7p7x-minmax-scalar.c"
++ "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c"
+ ]
- sources = [
@@ -96494,15 +98005,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rdsum_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rsum2_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c"
++ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -96560,15 +98070,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rsum2_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-rvv-u4v.c"
++ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
+ ]
- sources = [
@@ -96611,14 +98120,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("xx-pad_x64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-rdsum_riscv64") {
++ source_set("f32-rsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
++ "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c"
+ ]
- sources = [
@@ -96674,14 +98184,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rdsum_riscv64_standalone") {
++ source_set("f32-rsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c"
++ "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c"
+ ]
- deps = [
@@ -96762,17 +98273,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-rsum_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c"
++ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -96827,17 +98335,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-rsum_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-rvv-u8v.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-rvv-u8v.c"
++ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
+ ]
- sources = [
@@ -96880,16 +98385,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("bf16-qs8-vcvt_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-rminmax_riscv64") {
++ source_set("f32-spmm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
++ "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
++ "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
++ "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c"
+ ]
- sources = [
@@ -96945,16 +98451,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rminmax_riscv64_standalone") {
++ source_set("f32-spmm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rminmax/gen/f32-rmax-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rmin-scalar-u4-acc4.c",
-+ "src/src/f32-rminmax/gen/f32-rminmax-scalar-u4-acc4.c"
++ "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
++ "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
++ "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c"
+ ]
- deps = [
@@ -97038,15 +98545,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rsum2_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-spmm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c"
++ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -97101,11 +98609,90 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("configs_arm64") {
+- source_set("bf16-vunary_arm64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-spmm_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
++ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-vunary/gen/bf16-vunary-neon.c",
+- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("bf16-vunary_arm64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-vunary/gen/bf16-vunary-neon.c",
+- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97113,9 +98700,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-rvv-u4v.c"
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c"
+ ]
+- if (build_with_chromium) {
+- source_set("configs_arm64") {
+- cflags = []
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/configs/argmaxpool-config.c",
@@ -97155,26 +98750,35 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("configs_arm64_standalone") {
- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c"
++ ]
- sources = [
- "src/include/xnnpack.h",
@@ -97221,16 +98825,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("enums_arm64") {
- cflags = []
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/enums/allocation-type.c",
@@ -97251,34 +98862,28 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (build_with_chromium) {
-+ source_set("f32-rsum2_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("enums_arm64_standalone") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++if (build_with_chromium) {
++ source_set("f32-vapproxgelu_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
+ ]
- sources = [
@@ -97308,6 +98913,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -97317,14 +98934,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum2_riscv64_standalone") {
++ source_set("f32-vapproxgelu_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum2/gen/f32-rsum2-scalar-u1.c"
++ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
+ ]
- sources = [
@@ -97367,7 +98984,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-avgpool_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-rsum_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vbinary_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97375,7 +98992,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c"
++ "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c"
+ ]
- sources = [
@@ -97408,8 +99043,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
+- source_set("f16-avgpool_arm64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -97419,7 +99054,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c",
+- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
- ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
@@ -97431,7 +99066,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vbinary_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97439,7 +99074,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-rvv-u4v.c"
++ "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c"
+ ]
- deps = [
@@ -97465,13 +99118,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
+- source_set("f16-avgpool_arm64_standalone") {
+- cflags = []
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c",
+- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -97498,51 +99151,57 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16") {
+- source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16") {
- cflags = [ "-march=armv8.2-a+fp16" ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-rsum_riscv64") {
++ source_set("f32-vbinary_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
++ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -97550,58 +99209,49 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
-- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
- }
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
-- if (build_with_chromium) {
-- source_set("f16-dwconv_arch=armv8.2-a+fp16") {
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-conv-hwc2chw_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-rsum_riscv64_standalone") {
++ source_set("f32-vbinary_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c"
++ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
++ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
++ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c",
+- "src/src/f16-conv-hwc2chw/f16-conv-hwc2chw-3x3s2p1c3x4-neonfp16arith-2x2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -97613,16 +99263,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- if (build_with_chromium) {
+- source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -97630,19 +99288,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-dwconv_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
-- "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c",
+- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
+- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
+- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
+- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -97654,29 +99305,28 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
++ public_configs = [ ":xnnpack_public_config" ]
+
- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- if (build_with_chromium) {
-- source_set("f16-f32-vcvt_arm64") {
-- cflags = []
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-dwconv2d-chw_arch=armv8.2-a+fp16_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
+- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3p1-minmax-neonfp16arith-2x8.c",
+- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-3x3s2p1-minmax-neonfp16arith-1x8.c",
+- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5p2-minmax-neonfp16arith-1x8.c",
+- "src/src/f16-dwconv2d-chw/gen/f16-dwconv2d-chw-5x5s2p2-minmax-neonfp16arith-1x8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -97688,10 +99338,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+if (build_with_chromium) {
-+ source_set("f32-spmm_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vclamp_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97699,35 +99357,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c"
++ "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c"
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- if (build_with_chromium) {
+- source_set("f16-dwconv_arch=armv8.2-a+fp16") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32-vcvt_arm64_standalone") {
-- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
-- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -97739,25 +99386,28 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
+- "//third_party/pthreadpool",
- ]
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
- }
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
-- if (build_with_chromium) {
-- source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16") {
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-dwconv_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97765,24 +99415,45 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-4vx4-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx1-minmax-rvv.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8vx2-minmax-rvv.c"
++ "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-25p8c-minmax-neonfp16arith-acc2.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-3p16c-minmax-neonfp16arith.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-4p16c-minmax-neonfp16arith.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-9p16c-minmax-neonfp16arith.c",
+- "src/src/f16-dwconv/gen/f16-dwconv-9p8c-minmax-neonfp16arith.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- if (build_with_chromium) {
+- source_set("f16-dwconv_arm64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -97790,6 +99461,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
@@ -97807,24 +99491,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
+- source_set("f16-dwconv_arm64_standalone") {
+- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-spmm_riscv64") {
++ source_set("f32-vclamp_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
++ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -97852,8 +99537,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
+- source_set("f16-f32-vcvt_arm64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -97863,7 +99548,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c",
+- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
+- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
+- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
- ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
@@ -97875,16 +99562,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-spmm_riscv64_standalone") {
++ source_set("f32-vclamp_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x2-minmax-scalar.c",
-+ "src/src/f32-spmm/gen/f32-spmm-8x4-minmax-scalar.c"
++ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
+ ]
- deps = [
@@ -97910,13 +99595,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
+- source_set("f16-f32-vcvt_arm64_standalone") {
+- cflags = []
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c",
+- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neon-int16-u16.c",
+- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-neonfp16-u16.c",
+- "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -97943,12 +99630,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16") {
+- source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16") {
- cflags = [ "-march=armv8.2-a+fp16" ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c",
+- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -97963,7 +99650,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vcmul_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -97971,7 +99658,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c"
++ "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -97984,7 +99671,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16_standalone") {
+- source_set("f16-f32acc-rdsum2_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+ deps = [
+ "//third_party/cpuinfo",
@@ -97995,7 +99682,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c",
+- "src/src/f16-f32acc-rdsum2/gen/f16-f32acc-rdsum2-7p7x-minmax-neonfp16arith.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -98021,11 +99708,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16") {
+- source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vcmul_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -98033,12 +99720,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-rvv-rational-12-10-div-u4v.c"
++ "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c",
+- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -98073,12 +99760,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16_standalone") {
+- source_set("f16-f32acc-rdsum_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
--
++if (build_with_chromium) {
++ source_set("f32-vcmul_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c",
+- "src/src/f16-f32acc-rdsum/gen/f16-f32acc-rdsum-7p7x-minmax-neonfp16arith-u16.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -98100,31 +99797,75 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+if (build_with_chromium) {
-+ source_set("f32-vapproxgelu_riscv64") {
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-vcmul_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
+ ]
-- if (build_with_chromium) {
-- source_set("f16-gemm_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-f32acc-rsum2_arch=armv8.2-a+fp16_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
++ public_configs = [ ":xnnpack_public_config" ]
+
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-gemm/gen/f16-gemm-1x8-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-neonfp16arith-ld64.c",
-- "src/src/f16-gemm/gen/f16-gemm-6x8-minmax-neonfp16arith-ld64.c",
+- "src/src/f16-f32acc-rsum2/gen/f16-f32acc-rsum2-neonfp16arith.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -98136,6 +99877,55 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c",
+- ]
++if (build_with_chromium) {
++ source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c"
++ ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
+ deps = [
@@ -98153,9 +99943,107 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-gemm_arch=armv8.2-a+fp16_standalone") {
+- source_set("f16-f32acc-rsum_arch=armv8.2-a+fp16_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-f32acc-rsum/gen/f16-f32acc-rsum-neonfp16arith-u32-acc4.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("f16-gemm_arch=armv8.2-a+fp16") {
- cflags = [ "-march=armv8.2-a+fp16" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
+- "src/src/f16-gemm/gen/f16-gemm-1x8-minmax-neonfp16arith-ld64.c",
+- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-neonfp16arith-ld64.c",
+- "src/src/f16-gemm/gen/f16-gemm-6x8-minmax-neonfp16arith-ld64.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-gemm_arch=armv8.2-a+fp16_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
++if (build_with_chromium) {
++ source_set("f32-vcopysign_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-neonfp16arith-ld64.c",
@@ -98183,27 +100071,73 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- if (build_with_chromium) {
+- source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- asmflags = cflags
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
+- "src/src/f16-gemm/gen/f16-gemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
+- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
+- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
+- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
+- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vapproxgelu_riscv64_standalone") {
++ source_set("f32-vcopysign_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
++ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
+ ]
-- if (build_with_chromium) {
-- source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- asmflags = cflags
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -98211,6 +100145,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- asmflags = cflags
++ public_configs = [ ":xnnpack_public_config" ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
@@ -98230,23 +100167,42 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
+-
- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+- if (build_with_chromium) {
+- source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
-+ source_set("f32-vbinary_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vcos_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -98254,33 +100210,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c"
++ "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- asmflags = cflags
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -98290,12 +100234,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-gemm/gen/f16-gemm-1x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- "src/src/f16-gemm/gen/f16-gemm-4x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a55r0.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-cortex-a75.S",
-- "src/src/f16-gemm/gen/f16-gemm-6x16-minmax-asm-aarch64-neonfp16arith-ld64.S",
+- "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -98321,11 +100260,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16") {
+- source_set("f16-ibilinear_arch=armv8.2-a+fp16") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vcos_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -98333,30 +100272,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-rvv-u8v.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-rvv-u8v.c"
++ "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c",
+- "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -98391,40 +100312,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("f16-ibilinear-chw_arch=armv8.2-a+fp16_standalone") {
+- source_set("f16-ibilinear_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vbinary_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear-chw/gen/f16-ibilinear-chw-neonfp16arith-p8.c",
+- "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -98446,122 +100339,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("f16-ibilinear_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vbinary_riscv64_standalone") {
++if (build_with_chromium) {
++ source_set("f32-vcos_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vbinary/gen/f32-vadd-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vaddc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vdiv-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vmax-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmaxc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmin-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vminc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmul-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vmulc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vprelu-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrdivc-scalar-u2.c",
-+ "src/src/f32-vbinary/gen/f32-vrpreluc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vrsubc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiff-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsqrdiffc-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsub-scalar-u8.c",
-+ "src/src/f32-vbinary/gen/f32-vsubc-scalar-u8.c"
++ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
+- if (build_with_chromium) {
+- source_set("f16-igemm_arch=armv8.2-a+fp16") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-ibilinear_arch=armv8.2-a+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-ibilinear/gen/f16-ibilinear-neonfp16arith-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-igemm_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
--
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-igemm/gen/f16-igemm-1x16-minmax-neonfp16arith-ld64.c",
@@ -98581,37 +100377,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (build_with_chromium) {
-+ source_set("f32-vclamp_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-igemm_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-igemm/gen/f16-igemm-1x16-minmax-neonfp16arith-ld64.c",
@@ -98638,26 +100421,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod") {
-- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vcos_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-rvv-u8v.c"
++ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
+ ]
-+
+
+- if (build_with_chromium) {
+- source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
@@ -98706,14 +100485,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("f32-vclamp_riscv64") {
++ source_set("f32-velu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
++ "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -98766,14 +100546,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vclamp_riscv64_standalone") {
++ source_set("f32-velu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vclamp/gen/f32-vclamp-scalar.c"
++ "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c"
+ ]
- sources = [
@@ -98816,15 +100597,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-maxpool_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vcmul_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-velu_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c"
++ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
+ ]
- sources = [
@@ -98880,15 +100660,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-velu_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-rvv-u2v.c"
++ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
+ ]
- deps = [
@@ -98967,14 +100746,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vcmul_riscv64") {
++ source_set("f32-vexp_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
++ "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -99028,14 +100808,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcmul_riscv64_standalone") {
++ source_set("f32-vexp_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c"
++ "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c"
+ ]
- sources = [
@@ -99078,17 +100859,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-qu8-vcvt_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vexp_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c"
++ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
+ ]
- sources = [
@@ -99144,17 +100922,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vexp_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-rvv-u8v.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-rvv-u8v.c"
++ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
+ ]
- deps = [
@@ -99234,16 +101009,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vcopysign_riscv64") {
++ source_set("f32-vgelu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
++ "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -99298,16 +101072,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcopysign_riscv64_standalone") {
++ source_set("f32-vgelu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcopysign/gen/f32-vcopysign-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vcopysignc-scalar.c",
-+ "src/src/f32-vcopysign/gen/f32-vrcopysignc-scalar.c"
++ "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c"
+ ]
- sources = [
@@ -99351,15 +101124,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-rdminmax_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vcos_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vgelu_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c"
++ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
+ ]
- sources = [
@@ -99418,15 +101190,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vgelu_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-rvv-rational-5-4-div-u8v.c"
++ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
+ ]
- deps = [
@@ -99509,14 +101280,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vcos_riscv64") {
++ source_set("f32-vhswish_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
++ "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -99572,14 +101344,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vcos_riscv64_standalone") {
++ source_set("f32-vhswish_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c"
++ "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c"
+ ]
- sources = [
@@ -99622,15 +101395,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-spmm_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-velu_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vhswish_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c"
++ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
+ ]
- sources = [
@@ -99686,15 +101458,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vhswish_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-rvv-rr2-p6-u4v.c"
++ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
+ ]
- deps = [
@@ -99762,14 +101533,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f16-vapproxgelu/gen/f16-f32acc-vapproxgelu-scalar-rational-6-4-div.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-velu_riscv64") {
++ source_set("f32-vlog_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
++ "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -99806,14 +101578,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-velu_riscv64_standalone") {
++ source_set("f32-vlog_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u4.c"
++ "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c"
+ ]
- sources = [
@@ -99907,15 +101680,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vbinary_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vexp_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vlog_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c"
++ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
+ ]
- sources = [
@@ -99992,15 +101764,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vlog_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-rvv-rational-3-2-div-u8v.c"
++ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
+ ]
- deps = [
@@ -100079,14 +101850,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vexp_riscv64") {
++ source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
++ "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -100140,14 +101912,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vexp_riscv64_standalone") {
++ source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vexp/gen/f32-vexp-scalar-rational-3-2-div.c"
++ "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c"
+ ]
- sources = [
@@ -100190,15 +101963,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vcos_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vgelu_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vlrelu_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c"
++ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
+ ]
- sources = [
@@ -100255,15 +102027,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vlrelu_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-rvv-rational-12-10-div-u4v.c"
++ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
+ ]
- deps = [
@@ -100343,14 +102114,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vgelu_riscv64") {
++ source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -100404,14 +102176,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vgelu_riscv64_standalone") {
++ source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
++ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c"
+ ]
- sources = [
@@ -100454,15 +102227,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vexp_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vhswish_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vmulcaddc_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c"
++ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
+ ]
- sources = [
@@ -100519,15 +102291,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vmulcaddc_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-rvv-u4v.c"
++ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
+ ]
- deps = [
@@ -100607,14 +102378,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vhswish_riscv64") {
++ source_set("f32-vrnd_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
++ "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -100668,14 +102443,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vhswish_riscv64_standalone") {
++ source_set("f32-vrnd_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vhswish/gen/f32-vhswish-scalar.c"
++ "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c"
+ ]
- sources = [
@@ -100718,15 +102497,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vgelu_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vlog_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vrnd_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c"
++ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
+ ]
- sources = [
@@ -100782,15 +102563,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vrnd_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-rvv-rational-3-3-div-u8v.c"
++ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
+ ]
- deps = [
@@ -100869,14 +102652,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vlog_riscv64") {
++ source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -100930,14 +102714,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlog_riscv64_standalone") {
++ source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlog/gen/f32-vlog-scalar-rational-3-3-div.c"
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c"
+ ]
- sources = [
@@ -100981,15 +102766,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vlog_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vrsqrt_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c"
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
+ ]
- sources = [
@@ -101046,15 +102831,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vrsqrt_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-rvv-u4v.c"
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
++ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
+ ]
- deps = [
@@ -101121,14 +102906,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f16-vmulcaddc/gen/f16-vmulcaddc-c8-minmax-neonfp16arith-2x.c",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vlrelu_riscv64") {
++ source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
++ "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -101165,14 +102951,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vlrelu_riscv64_standalone") {
++ source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c"
++ "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c"
+ ]
- sources = [
@@ -101247,15 +103034,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vrnd_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vsigmoid_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c"
++ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
+ ]
- sources = [
@@ -101314,15 +103100,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vmulcaddc_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vsigmoid_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4v-minmax-rvv-2x.c"
++ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
+ ]
- deps = [
@@ -101402,14 +103187,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vmulcaddc_riscv64") {
++ source_set("f32-vsin_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
++ "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -101464,14 +103250,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vmulcaddc_riscv64_standalone") {
++ source_set("f32-vsin_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c"
++ "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c"
+ ]
- sources = [
@@ -101514,18 +103301,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vsin_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vrnd_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vsin_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c"
++ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
+ ]
- sources = [
@@ -101582,18 +103365,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vsin_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-rvv-u4v.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-rvv-u4v.c"
++ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
+ ]
- deps = [
@@ -101674,17 +103453,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vrnd_riscv64") {
++ source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
++ "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -101739,17 +103516,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrnd_riscv64_standalone") {
++ source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrnd/gen/f32-vrndd-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
-+ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c"
++ "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c"
+ ]
- sources = [
@@ -101792,15 +103567,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vsqrt_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vsqrt_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c"
++ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
+ ]
- sources = [
@@ -101826,51 +103600,60 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f16-vtanh_arch=armv8.2-a+fp16") {
+- cflags = [ "-march=armv8.2-a+fp16" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-vtanh/gen/f16-vtanh-neonfp16arith-rational-5-4-div.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-- if (build_with_chromium) {
-- source_set("f16-vtanh_arch=armv8.2-a+fp16") {
-- cflags = [ "-march=armv8.2-a+fp16" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vsqrt_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-rvv-rsqrt-u4v.c"
++ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f16-vtanh/gen/f16-vtanh-neonfp16arith-rational-5-4-div.c",
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -101878,36 +103661,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-vtanh_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
-+if (build_with_chromium) {
-+ source_set("f32-vrsqrt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -101931,81 +103689,35 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("f16-vtanh_arm64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vrsqrt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-rsqrt-u1.c",
-+ "src/src/f32-vrsqrt/gen/f32-vrsqrt-scalar-sqrt.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-neonfp16-rational-5-4-div.c",
- "src/src/f16-vtanh/gen/f16-f32acc-vtanh-scalar-rational-5-4-div.c",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f16-vtanh_arm64_standalone") {
-- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vtanh_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -102013,7 +103725,26 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c"
++ "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-vtanh_arm64_standalone") {
+- cflags = []
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
@@ -102040,18 +103771,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -102061,7 +103780,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vtanh_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -102069,7 +103788,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-rvv-rr2-p5-div-u8v.c"
++ "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c"
+ ]
- sources = [
@@ -102114,14 +103833,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f16-vunary_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("f32-vsigmoid_riscv64") {
++ source_set("f32-vtanh_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
++ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
+ ]
- sources = [
@@ -102149,51 +103868,61 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-argmaxpool_arm64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-neon-c4.c",
+- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-- if (build_with_chromium) {
-- source_set("f32-argmaxpool_arm64") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsigmoid_riscv64_standalone") {
++ source_set("f32-vtanh_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsigmoid/gen/f32-vsigmoid-scalar-rr2-lut64-p2-div-u2.c"
++ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-neon-c4.c",
-- "src/src/f32-argmaxpool/f32-argmaxpool-9p8x-scalar-c1.c",
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -102201,36 +103930,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-argmaxpool_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vsin_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -102255,88 +103959,64 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("f32-avgpool_arm64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-rvv-rational-5-4-div-u8v.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-neon-u4.c",
- "src/src/f32-avgpool/gen/f32-avgpool-9p-minmax-scalar-u1.c",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++if (build_with_chromium) {
++ source_set("f32-vunary_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
++ "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
++ "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-avgpool_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vsin_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
@@ -102363,18 +104043,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -102384,14 +104052,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+bf16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsin_riscv64_standalone") {
++ source_set("f32-vunary_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsin/gen/f32-vsin-scalar-rational-5-4-div.c"
++ "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
++ "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
++ "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c"
+ ]
- sources = [
@@ -102434,15 +104105,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-bf16-vcvt_arch=armv8.2-a+bf16_standalone") {
- cflags = [ "-march=armv8.2-a+bf16" ]
+if (build_with_chromium) {
-+ source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d") {
++ source_set("f32-vunary_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c"
++ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
++ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
++ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
+ ]
- sources = [
@@ -102468,52 +104140,63 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-bf16-vcvt_arm64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neon-u8.c",
+- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-- if (build_with_chromium) {
-- source_set("f32-bf16-vcvt_arm64") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("f32-vunary_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-rvv-sqrt-u8v.c"
++ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
++ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
++ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-neon-u8.c",
-- "src/src/f32-bf16-vcvt/gen/f32-bf16-vcvt-scalar-u2.c",
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -102521,35 +104204,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-bf16-vcvt_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vsqrt_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -102574,89 +104233,84 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("f32-conv-hwc2chw_arm64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vsqrt_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-aarch64-neonfma-2x2.c",
- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-neon-2x2.c",
- "src/src/f32-conv-hwc2chw/f32-conv-hwc2chw-3x3s2p1c3x4-scalar-1x1.c",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++if (build_with_chromium) {
++ source_set("operators_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/operators/argmax-pooling-nhwc.c",
++ "src/src/operators/average-pooling-nhwc.c",
++ "src/src/operators/batch-matrix-multiply-nc.c",
++ "src/src/operators/binary-elementwise-nd.c",
++ "src/src/operators/constant-pad-nd.c",
++ "src/src/operators/convolution-nchw.c",
++ "src/src/operators/convolution-nhwc.c",
++ "src/src/operators/deconvolution-nhwc.c",
++ "src/src/operators/dynamic-fully-connected-nc.c",
++ "src/src/operators/fingerprint_cache.c",
++ "src/src/operators/fingerprint_id.c",
++ "src/src/operators/fully-connected-nc.c",
++ "src/src/operators/max-pooling-nhwc.c",
++ "src/src/operators/pack-lh.c",
++ "src/src/operators/reduce-nd.c",
++ "src/src/operators/resize-bilinear-nchw.c",
++ "src/src/operators/resize-bilinear-nhwc.c",
++ "src/src/operators/rope-nthc.c",
++ "src/src/operators/slice-nd.c",
++ "src/src/operators/softmax-nc.c",
++ "src/src/operators/transpose-nd.c",
++ "src/src/operators/unary-elementwise-nc.c",
++ "src/src/operators/unpooling-nhwc.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-conv-hwc2chw_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("f32-vtanh_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
@@ -102684,18 +104338,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -102705,15 +104347,36 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("operators_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-rvv-rational-9-8-div-u8v.c"
++ "src/src/operators/argmax-pooling-nhwc.c",
++ "src/src/operators/average-pooling-nhwc.c",
++ "src/src/operators/batch-matrix-multiply-nc.c",
++ "src/src/operators/binary-elementwise-nd.c",
++ "src/src/operators/constant-pad-nd.c",
++ "src/src/operators/convolution-nchw.c",
++ "src/src/operators/convolution-nhwc.c",
++ "src/src/operators/deconvolution-nhwc.c",
++ "src/src/operators/dynamic-fully-connected-nc.c",
++ "src/src/operators/fingerprint_cache.c",
++ "src/src/operators/fingerprint_id.c",
++ "src/src/operators/fully-connected-nc.c",
++ "src/src/operators/max-pooling-nhwc.c",
++ "src/src/operators/pack-lh.c",
++ "src/src/operators/reduce-nd.c",
++ "src/src/operators/resize-bilinear-nchw.c",
++ "src/src/operators/resize-bilinear-nhwc.c",
++ "src/src/operators/rope-nthc.c",
++ "src/src/operators/slice-nd.c",
++ "src/src/operators/softmax-nc.c",
++ "src/src/operators/transpose-nd.c",
++ "src/src/operators/unary-elementwise-nc.c",
++ "src/src/operators/unpooling-nhwc.c"
+ ]
- sources = [
@@ -102815,14 +104478,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-dwconv_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("f32-vtanh_riscv64") {
++ source_set("qd8-bf16-qb4w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
+ ]
- asmflags = cflags
@@ -102858,14 +104522,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vtanh_riscv64_standalone") {
++ source_set("qd8-bf16-qb4w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vtanh/gen/f32-vtanh-scalar-rational-9-8-div.c"
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -102956,17 +104621,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("f32-vunary_arch=rv64gcv-abi=lp64d") {
++ source_set("qd8-f16-qc2w-gemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c"
++ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -103037,17 +104699,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qd8-f16-qc2w-gemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vneg-rvv-u8v.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-rvv-u8v.c"
++ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
+ ]
- sources = [
@@ -103092,16 +104751,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-f16-vcvt_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("f32-vunary_riscv64") {
++ source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
++ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- sources = [
@@ -103188,16 +104847,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("f32-vunary_riscv64_standalone") {
++ source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/f32-vunary/gen/f32-vabs-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vneg-scalar.c",
-+ "src/src/f32-vunary/gen/f32-vsqr-scalar.c"
++ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -103307,36 +104966,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("operators_riscv64") {
++ source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
++ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -103406,36 +105045,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("operators_riscv64_standalone") {
++ source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/operators/argmax-pooling-nhwc.c",
-+ "src/src/operators/average-pooling-nhwc.c",
-+ "src/src/operators/batch-matrix-multiply-nc.c",
-+ "src/src/operators/binary-elementwise-nd.c",
-+ "src/src/operators/constant-pad-nd.c",
-+ "src/src/operators/convolution-nchw.c",
-+ "src/src/operators/convolution-nhwc.c",
-+ "src/src/operators/deconvolution-nhwc.c",
-+ "src/src/operators/dynamic-fully-connected-nc.c",
-+ "src/src/operators/fingerprint_cache.c",
-+ "src/src/operators/fingerprint_id.c",
-+ "src/src/operators/fully-connected-nc.c",
-+ "src/src/operators/max-pooling-nhwc.c",
-+ "src/src/operators/pack-lh.c",
-+ "src/src/operators/reduce-nd.c",
-+ "src/src/operators/resize-bilinear-nchw.c",
-+ "src/src/operators/resize-bilinear-nhwc.c",
-+ "src/src/operators/rope-nthc.c",
-+ "src/src/operators/slice-nd.c",
-+ "src/src/operators/softmax-nc.c",
-+ "src/src/operators/transpose-nd.c",
-+ "src/src/operators/unary-elementwise-nc.c",
-+ "src/src/operators/unpooling-nhwc.c"
++ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- sources = [
@@ -103480,15 +105099,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-ibilinear-chw_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qd8-bf16-qb4w-gemm_riscv64") {
++ source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- sources = [
@@ -103548,15 +105168,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-bf16-qb4w-gemm_riscv64_standalone") {
++ source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gc_zvfh"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-bf16-qb4w-gemm/gen/qd8-bf16-qb4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
++ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c"
+ ]
- deps = [
@@ -103620,14 +105241,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-igemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qd8-f16-qc2w-gemm_riscv64") {
++ source_set("qd8-f32-qb4w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
+ ]
- asmflags = cflags
@@ -103690,14 +105312,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- asmflags = cflags
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc2w-gemm_riscv64_standalone") {
++ source_set("qd8-f32-qb4w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc2w-gemm/gen/qd8-f16-qc2w-gemm-1x2-minmax-scalar.c"
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -103802,16 +105425,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-igemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("qd8-f32-qc2w-gemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
+ ]
- sources = [
@@ -103884,16 +105505,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc4w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("qd8-f32-qc2w-gemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
+ ]
- deps = [
@@ -103979,16 +105598,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -104050,16 +105669,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- asmflags = cflags
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-gemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c"
+ ]
- sources = [
@@ -104104,16 +105723,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d") {
++ source_set("qd8-f32-qc4w-gemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -104163,16 +105781,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f16-qc8w-igemm_arch=rv64gc_zvfh-abi=lp64d_standalone") {
++ source_set("qd8-f32-qc4w-gemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gc_zvfh"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-1x2v-minmax-rvvfp16arith.c",
-+ "src/src/qd8-f16-qc8w-igemm/gen/qd8-f16-qc8w-igemm-7x2v-minmax-rvvfp16arith.c"
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -104274,15 +105891,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qb4w-gemm_riscv64") {
++ source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -104339,15 +105957,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qb4w-gemm_riscv64_standalone") {
++ source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qb4w-gemm/gen/qd8-f32-qb4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c"
+ ]
- sources = [
@@ -104431,14 +106050,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-scalar-rr2-p5-u4-acc2.c",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc2w-gemm_riscv64") {
++ source_set("qd8-f32-qc8w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -104475,14 +106096,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc2w-gemm_riscv64_standalone") {
++ source_set("qd8-f32-qc8w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc2w-gemm/gen/qd8-f32-qc2w-gemm-1x2-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -104558,7 +106181,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-rdminmax_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -104566,8 +106189,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c"
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c"
+ ]
- sources = [
@@ -104627,7 +106250,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -104635,8 +106258,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4v-minmax-rvv.c"
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c"
+ ]
- deps = [
@@ -104705,15 +106328,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-rdsum/gen/f32-rdsum-7p7x-minmax-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc4w-gemm_riscv64") {
++ source_set("qd8-f32-qc8w-igemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -104750,15 +106374,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc4w-gemm_riscv64_standalone") {
++ source_set("qd8-f32-qc8w-igemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x4-minmax-scalar.c"
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
++ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
+ ]
- sources = [
@@ -104836,7 +106461,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-rminmax_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -104844,8 +106469,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c"
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -104907,7 +106532,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -104915,8 +106540,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4v-minmax-rvv.c"
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- deps = [
@@ -104984,63 +106609,49 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-rsum/gen/f32-rsum-neon-u16-acc4.c",
- "src/src/f32-rsum/gen/f32-rsum-scalar-u4-acc4.c",
- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-gemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
-+ ]
-
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++if (build_with_chromium) {
++ source_set("qs8-dwconv_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-rsum_arm64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-gemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x4-minmax-scalar.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
@@ -105067,20 +106678,26 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
- if (build_with_chromium) {
- source_set("f32-spmm_arm64") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-dwconv_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -105105,31 +106722,26 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-spmm_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -105159,39 +106771,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("f32-vapproxgelu_arm64") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-neon-rational-12-10-div.c",
- "src/src/f32-vapproxgelu/gen/f32-vapproxgelu-scalar-rational-12-10-div.c",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
++if (build_with_chromium) {
++ source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -105199,36 +106795,53 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4v-minmax-rvv.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4v-minmax-rvv.c"
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c"
+ ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vapproxgelu_arm64_standalone") {
- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c"
++ ]
- sources = [
- "src/include/xnnpack.h",
@@ -105253,16 +106866,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f32-vbinary_arm64") {
- cflags = []
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-vbinary/gen/f32-vadd-neon-u8.c",
@@ -105316,36 +106936,28 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (build_with_chromium) {
-+ source_set("qd8-f32-qc8w-igemm_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vbinary_arm64_standalone") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++if (build_with_chromium) {
++ source_set("qs8-f32-vcvt_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -105408,25 +107020,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f32-vclamp_arm64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qd8-f32-qc8w-igemm_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x2-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-1x4-minmax-scalar.c",
-+ "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x4-minmax-scalar.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
@@ -105434,20 +107041,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/f32-vclamp/gen/f32-vclamp-neon.c",
- "src/src/f32-vclamp/gen/f32-vclamp-scalar.c",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-f32-vcvt_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
+ ]
- deps = [
@@ -105456,31 +107067,26 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vclamp_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -105505,60 +107111,46 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
- if (build_with_chromium) {
- source_set("f32-vcmul_arm64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vcmul/gen/f32-vcmul-neon-u8.c",
+- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
+- ]
++if (build_with_chromium) {
++ source_set("qs8-packw_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p8vc-minmax-fp32-rvv.c"
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vcmul/gen/f32-vcmul-neon-u8.c",
-- "src/src/f32-vcmul/gen/f32-vcmul-scalar-u4.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- deps = [
- "//third_party/cpuinfo",
@@ -105566,12 +107158,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -105579,18 +107175,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("f32-vcmul_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-dwconv_riscv64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
++ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
+ ]
- sources = [
@@ -105617,38 +107217,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
- if (build_with_chromium) {
- source_set("f32-vcopysign_arm64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-dwconv_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-dwconv/gen/qs8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
- sources = [
@@ -105672,26 +107254,32 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vcopysign_arm64_standalone") {
- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
++if (build_with_chromium) {
++ source_set("qs8-qc2w-gemm_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ ]
- sources = [
- "src/include/xnnpack.h",
@@ -105720,77 +107308,77 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f32-vcos_arm64") {
- cflags = []
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-vcos/gen/f32-vcos-neon-rational-5-4-div.c",
- "src/src/f32-vcos/gen/f32-vcos-scalar-rational-5-4-div.c",
- ]
-+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc2w-gemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c"
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vcos_arm64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-rvv-u2v.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -105815,23 +107403,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("f32-velu_arm64") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-velu/gen/f32-velu-neon-rr2-lut16-p3-u8.c",
@@ -105851,28 +107432,35 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("f32-velu_arm64_standalone") {
-- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-f32-vcvt_riscv64") {
++ source_set("qs8-qc4w-gemm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f32-velu_arm64_standalone") {
+- cflags = []
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
@@ -105901,18 +107489,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -105922,14 +107498,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-f32-vcvt_riscv64_standalone") {
++ source_set("qs8-qc4w-gemm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u4.c"
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
+ ]
- sources = [
@@ -105973,20 +107550,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-vexp_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-packw_riscv64") {
++ source_set("qs8-qc4w-packw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
+ ]
- sources = [
@@ -106034,20 +107606,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-packw_riscv64_standalone") {
++ source_set("qs8-qc4w-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x4c8-gemm-goi-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-gio-scalar.c",
-+ "src/src/qs8-packw/gen/qs8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
+ ]
- sources = [
@@ -106091,17 +107658,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-vgelu_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc2w-gemm_riscv64") {
++ source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -106149,17 +107716,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc2w-gemm_riscv64_standalone") {
++ source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x2-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-3x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc2w-gemm/gen/qs8-qc2w-gemm-4x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -106203,15 +107770,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-vhswish_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc4w-gemm_riscv64") {
++ source_set("qs8-qc8w-dwconv_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -106259,15 +107830,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-gemm_riscv64_standalone") {
++ source_set("qs8-qc8w-dwconv_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x4-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-3x4-minmax-fp32-scalar-fmagic.c"
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -106311,15 +107886,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-vlog_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc4w-packw_riscv64") {
++ source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -106346,52 +107922,63 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("f32-vlrelu_arm64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-neon-u8.c",
+- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-- if (build_with_chromium) {
-- source_set("f32-vlrelu_arm64") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc4w-packw_riscv64_standalone") {
++ source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc4w-packw/gen/qs8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c"
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-neon-u8.c",
-- "src/src/f32-vlrelu/gen/f32-vlrelu-scalar-u4.c",
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -106399,38 +107986,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vlrelu_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -106455,78 +108015,78 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("f32-vmulcaddc_arm64") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c1-minmax-scalar-2x.c",
- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neon-2x.c",
- "src/src/f32-vmulcaddc/gen/f32-vmulcaddc-c4-minmax-neonfma-2x.c",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-+ }
-+}
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
++if (build_with_chromium) {
++ source_set("qs8-qc8w-gemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p8vc-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p8vc-minmax-fp32-rvv.c"
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vmulcaddc_arm64_standalone") {
- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qs8-qc8w-gemm_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ ]
- sources = [
- "src/include/xnnpack.h",
@@ -106552,16 +108112,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("f32-vrnd_arm64") {
- cflags = []
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/f32-vrnd/gen/f32-vrndd-neon-u8.c",
@@ -106589,39 +108156,30 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (build_with_chromium) {
-+ source_set("qs8-qc8w-dwconv_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f32-vrnd_arm64_standalone") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++if (build_with_chromium) {
++ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -106658,6 +108216,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -106667,19 +108237,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-dwconv_riscv64_standalone") {
++ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-3p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -106724,16 +108291,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-vrsqrt_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-qc8w-igemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -106793,16 +108359,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-qc8w-igemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- deps = [
@@ -106884,15 +108449,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-gemm_riscv64") {
++ source_set("qs8-qu8-packw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -106947,15 +108512,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-gemm_riscv64_standalone") {
++ source_set("qs8-qu8-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
+ ]
- sources = [
@@ -106999,7 +108564,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("f32-vsqrt_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -107007,8 +108572,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c"
+ ]
- sources = [
@@ -107066,7 +108630,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
+ "-mabi=lp64d",
+ "-march=rv64gcv"
@@ -107074,8 +108638,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c"
+ ]
- deps = [
@@ -107160,15 +108723,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-qc8w-igemm_riscv64") {
++ source_set("qs8-rdsum_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -107227,15 +108789,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qc8w-igemm_riscv64_standalone") {
++ source_set("qs8-rdsum_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
+ ]
- sources = [
@@ -107369,15 +108930,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-qu8-packw_riscv64") {
++ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -107432,15 +108993,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-qu8-packw_riscv64_standalone") {
++ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
-+ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x8c8-gemm-gio-scalar.c"
++ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c"
+ ]
- sources = [
@@ -107538,15 +109099,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-rsum_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c"
++ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -107603,15 +109163,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-rsum_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c"
++ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
+ ]
- sources = [
@@ -107655,14 +109214,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("pf32-igemm_arch=armv8.2-a+sve+sve2_standalone") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+if (build_with_chromium) {
-+ source_set("qs8-rdsum_riscv64") {
++ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -107720,14 +109280,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rdsum_riscv64_standalone") {
++ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c"
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c"
+ ]
- deps = [
@@ -107809,15 +109370,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vadd_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c"
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -107873,15 +109434,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vadd_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c"
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
+ ]
- sources = [
@@ -107925,14 +109486,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qb4-packw_arch=armv8.2-a+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qs8-rsum_riscv64") {
++ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -107990,14 +109552,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-rsum_riscv64_standalone") {
++ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c"
+ ]
- deps = [
@@ -108078,15 +109641,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vaddc_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c"
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -108141,15 +109704,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vaddc_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c"
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
+ ]
- sources = [
@@ -108193,15 +109756,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-bf16-qb4w-gemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qs8-vadd_riscv64") {
++ source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
++ "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c"
+ ]
- sources = [
@@ -108259,15 +109822,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vadd_riscv64_standalone") {
++ source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u1.c",
-+ "src/src/qs8-vadd/gen/qs8-vadd-minmax-scalar-u4.c"
++ "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c"
+ ]
- deps = [
@@ -108348,15 +109911,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vcvt_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c"
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -108411,15 +109973,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vcvt_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c"
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -108463,15 +110024,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+if (build_with_chromium) {
-+ source_set("qs8-vaddc_riscv64") {
++ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c"
+ ]
- sources = [
@@ -108530,15 +110091,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vaddc_riscv64_standalone") {
++ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-scalar-u4.c"
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c"
+ ]
- deps = [
@@ -108619,15 +110180,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vlrelu_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c"
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -108681,15 +110241,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vlrelu_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-rvv-u4v.c"
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
+ ]
- sources = [
@@ -108733,14 +110292,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qc4w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
+if (build_with_chromium) {
-+ source_set("qs8-vcvt_riscv64") {
++ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c"
+ ]
- sources = [
@@ -108798,14 +110358,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vcvt_riscv64_standalone") {
++ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c"
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c"
+ ]
- deps = [
@@ -108874,15 +110435,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/qd8-f16-qc4w-gemm/gen/qd8-f16-qc4w-gemm-4x16c8-minmax-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vmul_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c"
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -108919,15 +110479,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vmul_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c"
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -109003,14 +110562,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+dotprod+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
+if (build_with_chromium) {
-+ source_set("qs8-vlrelu_riscv64") {
++ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c"
+ ]
- sources = [
@@ -109070,14 +110630,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vlrelu_riscv64_standalone") {
++ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c"
+ ]
- deps = [
@@ -109140,15 +110701,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vmulc_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c"
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- asmflags = cflags
@@ -109185,15 +110745,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vmulc_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c"
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -109257,14 +110816,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-4x16c8-minmax-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vmul_riscv64") {
++ source_set("qs8-vprelu_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -109301,14 +110860,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmul_riscv64_standalone") {
++ source_set("qs8-vprelu_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
+ ]
- sources = [
@@ -109384,15 +110943,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+dotprod+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod+fp16" ]
+if (build_with_chromium) {
-+ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d") {
++ source_set("qs8-vpreluc_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c"
++ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
+ ]
- sources = [
@@ -109452,15 +111010,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qs8-vpreluc_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c"
++ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
+ ]
- deps = [
@@ -109523,14 +111080,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f16-qc8w-igemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qs8-vmulc_riscv64") {
++ source_set("qs8-vrpreluc_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
+ ]
- asmflags = cflags
@@ -109567,14 +111124,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vmulc_riscv64_standalone") {
++ source_set("qs8-vrpreluc_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -109650,14 +111207,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vprelu_riscv64") {
++ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -109712,14 +111271,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vprelu_riscv64_standalone") {
++ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vprelu/gen/qs8-vprelu-scalar-u8.c"
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -109763,14 +111324,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qs8-vpreluc_riscv64") {
++ source_set("qu8-dwconv_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -109828,14 +111392,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vpreluc_riscv64_standalone") {
++ source_set("qu8-dwconv_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vpreluc/gen/qs8-vpreluc-scalar-u8.c"
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
+ ]
- deps = [
@@ -109918,14 +111485,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qs8-vrpreluc_riscv64") {
++ source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -109982,14 +111550,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qs8-vrpreluc_riscv64_standalone") {
++ source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c"
+ ]
- sources = [
@@ -110034,16 +111603,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc2w-gemm_arch=armv8.2-a+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-f32-vcvt_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -110092,16 +111659,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-f32-vcvt_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p8vc-minmax-fp32-rvv.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p8vc-minmax-fp32-rvv.c"
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -110144,17 +111709,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc2w-gemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-dwconv_riscv64") {
++ source_set("qu8-gemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -110211,17 +111775,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-dwconv_riscv64_standalone") {
++ source_set("qu8-gemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-25p2c-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c",
-+ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c"
+ ]
- deps = [
@@ -110290,15 +111853,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/qd8-f32-qc4w-gemm/gen/qd8-f32-qc4w-gemm-4x16c8-minmax-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-gemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c"
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -110335,15 +111898,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-gemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c"
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- sources = [
@@ -110419,14 +111982,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc4w-gemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-f32-vcvt_riscv64") {
++ source_set("qu8-igemm_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -110476,14 +112041,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-f32-vcvt_riscv64_standalone") {
++ source_set("qu8-igemm_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c"
+ ]
- sources = [
@@ -110561,16 +112128,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qu8-gemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-igemm_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- asmflags = cflags
@@ -110607,16 +112173,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-igemm_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -110680,15 +112245,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/qd8-f32-qc8w-gemm/gen/qd8-f32-qc8w-gemm-4x16c8-minmax-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-gemm_riscv64") {
++ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -110725,15 +112290,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-gemm_riscv64_standalone") {
++ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c"
+ ]
- sources = [
@@ -110812,16 +112377,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc8w-gemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-igemm_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-rdsum_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
+ ]
- sources = [
@@ -110874,16 +112437,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-rdsum_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x1v-minmax-fp32-rvv.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-4x1v-minmax-fp32-rvv.c"
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
+ ]
- sources = [
@@ -110961,15 +112522,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc8w-igemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qu8-igemm_riscv64") {
++ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c"
+ ]
- asmflags = cflags
@@ -111006,15 +112567,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-igemm_riscv64_standalone") {
++ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
-+ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -111078,15 +112639,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/qd8-f32-qc8w-igemm/gen/qd8-f32-qc8w-igemm-4x16c8-minmax-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-rsum_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -111123,15 +112683,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-rsum_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c"
++ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
+ ]
- sources = [
@@ -111212,14 +112771,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qd8-f32-qc8w-igemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-rdsum_riscv64") {
++ source_set("qu8-vadd_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -111260,8 +112820,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
+- source_set("qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
+- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -111271,9 +112831,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c",
+- "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-16x64c4-neonsme2.c",
+- "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-1x64c4-neonsme2.c",
- ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
@@ -111285,14 +112844,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rdsum_riscv64_standalone") {
++ source_set("qu8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c"
+ ]
- deps = [
@@ -111318,15 +112878,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
+- source_set("qp8-f16-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
+- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c",
+- "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-16x64c4-neonsme2.c",
+- "src/src/qp8-f16-qc8w-gemm/qp8-f16-qc8w-gemm-minmax-1x64c4-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -111353,12 +112912,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-16x4c16s2-mstep4-neoni8mm.c",
+- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
+- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
+- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -111373,15 +112934,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vadd_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -111394,8 +112955,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -111405,7 +112966,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-16x4c16s2-mstep4-neoni8mm.c",
+- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c16s2-aarch64-neondot.c",
+- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
+- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-4x4c8s2-aarch64-neondot.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -111431,26 +112994,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
+- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16") {
+- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vadd_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c"
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
++ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c",
+- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-16x4c16s2-mstep4-neoni8mm.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -111485,24 +113046,23 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
+- source_set("qp8-f32-qb4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
+- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+if (build_with_chromium) {
-+ source_set("qu8-rsum_riscv64") {
++ source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c",
+- "src/src/qp8-f32-qb4w-gemm/qp8-f32-qb4w-gemm-minmax-16x4c16s2-mstep4-neoni8mm.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -111530,8 +113090,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -111541,7 +113101,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c",
- ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
@@ -111553,14 +113115,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-rsum_riscv64_standalone") {
++ source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-rsum/gen/qu8-rsum-scalar-u4.c"
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c"
+ ]
- deps = [
@@ -111586,13 +113149,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x4c8s2-mstep4-aarch64-neondot.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x4c8s2-aarch64-neondot.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x8c16s2-aarch64-neondot.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -111619,52 +113184,40 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16") {
+- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vadd_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vaddc_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c"
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
-- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -111672,12 +113225,32 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
+- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-vaddc_riscv64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
++ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
++ ]
+
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
-- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-8x8c16s2-mstep2-neoni8mm.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -111698,41 +113271,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-rvv-u2v.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c",
-- ]
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- if (build_with_chromium) {
+- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2") {
+- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -111740,6 +113287,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
@@ -111757,25 +113317,26 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
-- cflags = [ "-march=armv8.2-a+dotprod" ]
+- source_set("qp8-f32-qc4w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
+- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+if (build_with_chromium) {
-+ source_set("qu8-vadd_riscv64") {
++ source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
++ "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-16x64c4-neonsme2.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme.c",
+- "src/src/qp8-f32-qc4w-gemm/qp8-f32-qc4w-gemm-minmax-1x64c4-neonsme2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -111803,8 +113364,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -111814,7 +113375,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c",
+- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
+- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
+- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c",
- ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
@@ -111826,15 +113389,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vadd_riscv64_standalone") {
++ source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u1.c",
-+ "src/src/qu8-vadd/gen/qu8-vadd-minmax-scalar-u4.c"
++ "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c"
+ ]
- deps = [
@@ -111860,13 +113423,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
-- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c",
+- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c4-mstep4-aarch64-neondot.c",
+- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c4-aarch64-neondot.c",
+- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-1x4c8-aarch64-neondot.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -111893,18 +113458,95 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
+- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
+- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++if (build_with_chromium) {
++ source_set("qu8-vcvt_riscv64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
+- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qp8-f32-qc8w-gemm/qp8-f32-qc8w-gemm-minmax-16x4c8-mstep4-neoni8mm.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("qu8-vcvt_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c"
++ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
+ ]
- sources = [
@@ -111933,33 +113575,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- public_configs = [ ":xnnpack_public_config" ]
- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("qp8-f32-qc8w-gemm_arch=armv8.2-a+sve+sve2_standalone") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
-+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-rvv-u2v.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -111986,23 +113614,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("qs8-dwconv_arm64") {
- cflags = []
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/qs8-dwconv/gen/qs8-dwconv-25p16c-minmax-rndnu-neon-mla8-ld64.c",
@@ -112025,29 +113646,35 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
++if (build_with_chromium) {
++ source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv"
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c"
++ ]
- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("qs8-dwconv_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("qu8-vaddc_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
@@ -112079,18 +113706,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -112100,15 +113715,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vaddc_riscv64_standalone") {
++ source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u1.c",
-+ "src/src/qu8-vaddc/gen/qu8-vaddc-minmax-scalar-u4.c"
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c"
+ ]
- sources = [
@@ -112151,15 +113766,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qs8-f16-vcvt_arch=armv8.2-a+fp16_standalone") {
- cflags = [ "-march=armv8.2-a+fp16" ]
+if (build_with_chromium) {
-+ source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vlrelu_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c"
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
+ ]
- sources = [
@@ -112216,15 +113830,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vlrelu_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-rvv-u4v.c"
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
+ ]
- deps = [
@@ -112293,14 +113906,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/qs8-packw/gen/qs8-packw-x8c4-gemm-goi-neondot.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vcvt_riscv64") {
++ source_set("qu8-vmul_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -112337,14 +113951,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vcvt_riscv64_standalone") {
++ source_set("qu8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c"
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c"
+ ]
- sources = [
@@ -112423,15 +114038,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qs8-packw_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vmul_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c"
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -112494,15 +114108,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vmul_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-rvv-u2v.c"
++ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
+ ]
- deps = [
@@ -112585,14 +114198,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vlrelu_riscv64") {
++ source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -112651,14 +114265,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- asmflags = cflags
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vlrelu_riscv64_standalone") {
++ source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-andxor-u4.c"
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c"
+ ]
- sources = [
@@ -112704,15 +114319,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
-
- asmflags = cflags
+if (build_with_chromium) {
-+ source_set("qu8-vmul_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vmulc_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c"
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- sources = [
@@ -112770,15 +114384,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vmulc_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-f32-rvv-u2v.c"
++ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
+ ]
- deps = [
@@ -112847,14 +114460,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/qs8-qc4w-packw/gen/qs8-to-qu8-qc4uw-packw-x16c8-gemm-goi-scalar.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vmul_riscv64") {
++ source_set("qu8-vprelu_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -112891,14 +114504,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmul_riscv64_standalone") {
++ source_set("qu8-vprelu_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmul/gen/qu8-vmul-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
+ ]
- sources = [
@@ -113022,15 +114635,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d") {
++ source_set("qu8-vpreluc_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c"
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
+ ]
- if (build_with_chromium) {
@@ -113107,15 +114719,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("qu8-vpreluc_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-f32-rvv-u2v.c"
++ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
+ ]
- if (build_with_chromium) {
@@ -113173,14 +114784,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qu8-vmulc_riscv64") {
++ source_set("qu8-vrpreluc_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
@@ -113237,14 +114848,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vmulc_riscv64_standalone") {
++ source_set("qu8-vrpreluc_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vmulc/gen/qu8-vmulc-minmax-fp32-scalar-u4.c"
++ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
+ ]
- sources = [
@@ -113314,14 +114925,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("qu8-vprelu_riscv64") {
++ source_set("reference_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc"
+ ]
- if (build_with_chromium) {
@@ -113373,14 +114986,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vprelu_riscv64_standalone") {
++ source_set("reference_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c"
++ "src/src/reference/binary-elementwise.cc",
++ "src/src/reference/packing.cc",
++ "src/src/reference/unary-elementwise.cc"
+ ]
- sources = [
@@ -113461,14 +115076,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qs8-qc8w-igemm_arch=armv8.2-a+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod" ]
+if (build_with_chromium) {
-+ source_set("qu8-vpreluc_riscv64") {
++ source_set("s8-ibilinear_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
+ ]
- sources = [
@@ -113545,14 +115160,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vpreluc_riscv64_standalone") {
++ source_set("s8-ibilinear_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c"
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -113624,14 +115239,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x16c8-minmax-fp32-neoni8mm.c",
- ]
+if (build_with_chromium) {
-+ source_set("qu8-vrpreluc_riscv64") {
++ source_set("s8-maxpool_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -113668,14 +115284,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("qu8-vrpreluc_riscv64_standalone") {
++ source_set("s8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c"
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -113754,16 +115371,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qs8-qc8w-igemm_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("reference_riscv64") {
++ source_set("s8-maxpool_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -113826,16 +115441,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("reference_riscv64_standalone") {
++ source_set("s8-maxpool_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/reference/binary-elementwise.cc",
-+ "src/src/reference/packing.cc",
-+ "src/src/reference/unary-elementwise.cc"
++ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
+ ]
- deps = [
@@ -113916,14 +115529,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("s8-ibilinear_riscv64") {
++ source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -113978,14 +115593,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+dotprod" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-ibilinear_riscv64_standalone") {
++ source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c"
+ ]
- sources = [
@@ -114028,15 +115645,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qs8-rsum_arch=armv8.2-a+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+dotprod" ]
+if (build_with_chromium) {
-+ source_set("s8-maxpool_arch=rv64gcv-abi=lp64d") {
++ source_set("s8-rdminmax_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
+ ]
- sources = [
@@ -114093,15 +115710,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("s8-rdminmax_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
+ ]
- deps = [
@@ -114184,14 +115801,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("s8-maxpool_riscv64") {
++ source_set("s8-rminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
++ "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -114248,14 +115868,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-maxpool_riscv64_standalone") {
++ source_set("s8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
++ "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c"
+ ]
- sources = [
@@ -114351,16 +115974,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("s8-rminmax_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c"
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -114415,16 +116038,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("s8-rminmax_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-rvv-u8v.c"
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
- sources = [
@@ -114468,15 +116091,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qs8-vlrelu_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("s8-rdminmax_riscv64") {
++ source_set("s8-vclamp_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
++ "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c"
+ ]
- sources = [
@@ -114534,15 +116157,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_riscv64_standalone") {
++ source_set("s8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
++ "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c"
+ ]
- deps = [
@@ -114623,17 +116246,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("s8-rminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("s8-vclamp_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c"
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -114688,17 +116308,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("s8-vclamp_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-rvv-u8v.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-rvv-u8v.c"
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
+ ]
- sources = [
@@ -114741,16 +116358,43 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qs8-vprelu_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("s8-rminmax_riscv64") {
++ source_set("subgraph_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c"
+ ]
- sources = [
@@ -114806,16 +116450,43 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_riscv64_standalone") {
++ source_set("subgraph_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c"
+ ]
- deps = [
@@ -114882,15 +116553,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/qs8-vrpreluc/gen/qs8-vrpreluc-scalar-u8.c",
- ]
+if (build_with_chromium) {
-+ source_set("s8-vclamp_arch=rv64gcv-abi=lp64d") {
++ source_set("tables_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c"
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -114927,15 +116605,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("tables_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/gen/s8-vclamp-rvv-u4v.c"
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c"
+ ]
- sources = [
@@ -115012,14 +116697,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qu8-dwconv_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("s8-vclamp_riscv64") {
++ source_set("u8-ibilinear_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
+ ]
- sources = [
@@ -115081,14 +116766,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_riscv64_standalone") {
++ source_set("u8-ibilinear_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
+ ]
- deps = [
@@ -115151,43 +116836,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("subgraph_riscv64") {
++ source_set("u8-lut32norm_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
+ ]
- asmflags = cflags
@@ -115226,43 +116882,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("subgraph_riscv64_standalone") {
++ source_set("u8-lut32norm_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -115345,22 +116972,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("tables_riscv64") {
++ source_set("u8-maxpool_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -115422,22 +117042,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- asmflags = cflags
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("tables_riscv64_standalone") {
++ source_set("u8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c"
+ ]
- sources = [
@@ -115483,22 +117096,29 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+if (build_with_chromium) {
-+ source_set("u8-ibilinear_riscv64") {
++ source_set("u8-maxpool_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
+ ]
-
-- asmflags = cflags
++
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- asmflags = cflags
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/qu8-igemm/gen/qu8-igemm-4x16-minmax-rndnu-asm-aarch64-neon-mlal-lane-cortex-a53-prfm.S",
@@ -115525,13 +117145,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -115541,14 +117154,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_riscv64_standalone") {
++ source_set("u8-maxpool_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -115651,14 +117264,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("u8-lut32norm_riscv64") {
++ source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -115714,14 +117329,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-lut32norm_riscv64_standalone") {
++ source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c"
+ ]
- sources = [
@@ -115791,15 +117408,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("u8-maxpool_arch=rv64gcv-abi=lp64d") {
++ source_set("u8-rdminmax_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
+ ]
- if (build_with_chromium) {
@@ -115848,15 +117465,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("u8-rdminmax_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-rvv-u2v.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
+ ]
- sources = [
@@ -115934,14 +117551,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qu8-vaddc_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("u8-maxpool_riscv64") {
++ source_set("u8-rminmax_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
++ "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c"
+ ]
- sources = [
@@ -116001,14 +117621,17 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_riscv64_standalone") {
++ source_set("u8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
++ "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c"
+ ]
- deps = [
@@ -116089,16 +117712,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("u8-rminmax_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c"
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -116153,16 +117776,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("u8-rminmax_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-rvv-u8v.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-rvv-u8v.c"
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
+ ]
- sources = [
@@ -116206,15 +117829,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qu8-vmul_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("u8-rdminmax_riscv64") {
++ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
++ "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c"
+ ]
- sources = [
@@ -116272,15 +117895,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_riscv64_standalone") {
++ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
++ "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c"
+ ]
- deps = [
@@ -116360,17 +117983,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("u8-rminmax_arch=rv64gcv-abi=lp64d") {
++ source_set("u8-vclamp_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c"
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -116424,17 +118044,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("u8-vclamp_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-rvv-u8v.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-rvv-u8v.c"
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
+ ]
- sources = [
@@ -116477,16 +118094,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("qu8-vpreluc_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("u8-rminmax_riscv64") {
++ source_set("x16-packw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
+ ]
- sources = [
@@ -116542,16 +118159,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_riscv64_standalone") {
++ source_set("x16-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
+ ]
- deps = [
@@ -116632,15 +118249,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d") {
++ source_set("x16-transposec_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c"
++ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -116696,15 +118312,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("x16-transposec_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/gen/u8-vclamp-rvv-u4v.c"
++ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
+ ]
- sources = [
@@ -116749,14 +118364,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("s8-ibilinear_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("u8-vclamp_riscv64") {
++ source_set("x16-x32-packw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
+ ]
- sources = [
@@ -116815,14 +118431,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_riscv64_standalone") {
++ source_set("x16-x32-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
++ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
+ ]
- deps = [
@@ -116905,17 +118522,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x16-packw_riscv64") {
++ source_set("x24-transposec_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
++ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -116972,17 +118586,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x16-packw_riscv64_standalone") {
++ source_set("x24-transposec_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
++ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
+ ]
- sources = [
@@ -117082,14 +118693,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x16-transposec_riscv64") {
++ source_set("x32-packw_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
++ "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -117144,14 +118756,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x16-transposec_riscv64_standalone") {
++ source_set("x32-packw_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
++ "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c"
+ ]
- sources = [
@@ -117306,15 +118919,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x16-x32-packw_riscv64") {
++ source_set("x32-packw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
++ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -117376,15 +118996,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x16-x32-packw_riscv64_standalone") {
++ source_set("x32-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-gio-scalar.c",
-+ "src/src/x16-x32-packw/gen/x16-x32-packw-x32c2-gemm-goi-scalar.c"
++ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
++ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
++ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
++ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
+ ]
- sources = [
@@ -117429,14 +119056,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("u8-ibilinear_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("x24-transposec_riscv64") {
++ source_set("x32-transposec_arch=rv64gcv-abi=lp64d") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
++ "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c"
+ ]
- sources = [
@@ -117494,14 +119125,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x24-transposec_riscv64_standalone") {
++ source_set("x32-transposec_arch=rv64gcv-abi=lp64d_standalone") {
+ cflags = [
-+
++ "-mabi=lp64d",
++ "-march=rv64gcv"
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x24-transposec/gen/x24-transposec-1x2-scalar.c"
++ "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
++ "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c"
+ ]
- deps = [
@@ -117581,15 +119216,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x32-packw_arch=rv64gcv-abi=lp64d") {
++ source_set("x32-transposec_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c"
++ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -117644,15 +119278,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("x32-transposec_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x4v-gemm-goi-rvv-u8.c"
++ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
+ ]
- sources = [
@@ -117752,22 +119385,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x32-packw_riscv64") {
++ source_set("x32-unpool_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
++ "src/src/x32-unpool/x32-unpool-scalar.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -117826,22 +119451,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x32-packw_riscv64_standalone") {
++ source_set("x32-unpool_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-packw/gen/x32-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x2-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x32-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x32-packw/gen/x32-packw-x4-gemm-goi-scalar-float-u4.c",
-+ "src/src/x32-packw/gen/x32-packw-x64-gemm-goi-scalar-int-u2.c",
-+ "src/src/x32-packw/gen/x32-packw-x8-gemm-gio-scalar.c"
++ "src/src/x32-unpool/x32-unpool-scalar.c"
+ ]
- sources = [
@@ -117911,18 +119528,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("x32-transposec_arch=rv64gcv-abi=lp64d") {
++ source_set("x64-transposec_riscv64") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c"
++ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
+ ]
- if (build_with_chromium) {
@@ -117971,18 +119584,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_arch=rv64gcv-abi=lp64d_standalone") {
++ source_set("x64-transposec_riscv64_standalone") {
+ cflags = [
-+ "-mabi=lp64d",
-+ "-march=rv64gcv"
++
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-16x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-32x8-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-4x4-rvv.c",
-+ "src/src/x32-transposec/gen/x32-transposec-8x8-rvv.c"
++ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
+ ]
- sources = [
@@ -118032,7 +119641,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
- "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.c",
- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
- "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c",
- ]
@@ -118062,14 +119670,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("x16-packw_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("x32-transposec_riscv64") {
++ source_set("x8-lut_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
++ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
+ ]
- sources = [
@@ -118077,7 +119685,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
- "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.c",
- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
- "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c",
- ]
@@ -118131,14 +119738,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x32-transposec_riscv64_standalone") {
++ source_set("x8-lut_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-transposec/gen/x32-transposec-2x4-scalar-int.c"
++ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
+ ]
- deps = [
@@ -118219,14 +119826,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("x32-unpool_riscv64") {
++ source_set("x8-packq_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
++ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -118281,14 +119888,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x32-unpool_riscv64_standalone") {
++ source_set("x8-packq_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x32-unpool/x32-unpool-scalar.c"
++ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
+ ]
- sources = [
@@ -118360,14 +119967,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("x64-transposec_riscv64") {
++ source_set("x8-packw_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
+ ]
- if (build_with_chromium) {
@@ -118416,14 +120030,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x64-transposec_riscv64_standalone") {
++ source_set("x8-packw_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x64-transposec/gen/x64-transposec-4x2-scalar-int.c"
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
++ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
+ ]
- sources = [
@@ -118511,14 +120132,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("x32-packw_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("x8-lut_riscv64") {
++ source_set("x8-transposec_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
++ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
+ ]
- sources = [
@@ -118578,14 +120199,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x8-lut_riscv64_standalone") {
++ source_set("x8-transposec_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-lut/gen/x8-lut-scalar-u4.c"
++ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
+ ]
- sources = [
@@ -118630,14 +120251,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("x32-transposec_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("x8-packq_riscv64") {
++ source_set("xx-copy_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
++ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
+ ]
- sources = [
@@ -118686,14 +120307,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packq_riscv64_standalone") {
++ source_set("xx-copy_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c"
++ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
+ ]
- sources = [
@@ -118737,21 +120358,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("x32-unpool_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("x8-packw_riscv64") {
++ source_set("xx-fill_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
++ "src/src/xx-fill/xx-fill-scalar-u16.c"
+ ]
- sources = [
@@ -118810,21 +120424,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x8-packw_riscv64_standalone") {
++ source_set("xx-fill_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-gio-scalar.c",
-+ "src/src/x8-packw/gen/x8-packw-x8-gemm-goi-scalar-u2.c"
++ "src/src/xx-fill/xx-fill-scalar-u16.c"
+ ]
- deps = [
@@ -118894,14 +120501,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/src/x8-lut/gen/x8-lut-scalar-u4.c",
- ]
+if (build_with_chromium) {
-+ source_set("x8-transposec_riscv64") {
++ source_set("xx-pad_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
++ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
+ ]
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -118938,14 +120545,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("x8-transposec_riscv64_standalone") {
++ source_set("xx-pad_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x8-transposec/gen/x8-transposec-2x4-scalar-int.c"
++ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
+ ]
- sources = [
@@ -119021,14 +120628,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("x8-pack-lh_arch=armv8.2-a+sve+sve2_standalone") {
- cflags = [ "-march=armv8.2-a+sve+sve2" ]
+if (build_with_chromium) {
-+ source_set("xx-copy_riscv64") {
++ source_set("xx-transposev_riscv64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
++ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
+ ]
- sources = [
@@ -119075,6 +120682,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
+- "src/src/x8-packq/x8-packq-aarch64-neon-f16qp8-u2.c",
- "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
- "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
- ]
@@ -119088,14 +120696,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("xx-copy_riscv64_standalone") {
++ source_set("xx-transposev_riscv64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/xx-copy/xx-copy-scalar-memcpy.c"
++ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
+ ]
- deps = [
@@ -119127,6 +120735,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
+- "src/src/x8-packq/x8-packq-aarch64-neon-f16qp8-u2.c",
- "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
- "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
- ]
@@ -119157,7 +120766,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_chromium) {
- source_set("x8-packw_arm64") {
- cflags = []
--
++}
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/x8-packw/gen/x8-packw-x16-gemm-gio-scalar.c",
@@ -119181,15 +120791,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++if (current_cpu == "ppc64") {
+if (build_with_chromium) {
-+ source_set("xx-fill_riscv64") {
++ source_set("bf16-f32-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
++ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -119250,14 +120861,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("xx-fill_riscv64_standalone") {
++ source_set("bf16-f32-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/xx-fill/xx-fill-scalar-u16.c"
++ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
+ ]
- sources = [
@@ -119301,14 +120912,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("x8-transposec_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("xx-pad_riscv64") {
++ source_set("bf16-qs8-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
++ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
- sources = [
@@ -119335,110 +120946,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("xx-copy_arm64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("xx-pad_riscv64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-pad/xx-pad-p4-scalar-u16.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("xx-copy_arm64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("xx-transposev_riscv64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -119446,7 +120953,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("xx-fill_arm64") {
+- source_set("xx-copy_arm64") {
- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
@@ -119457,8 +120964,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/xx-fill/xx-fill-neon-u64.c",
-- "src/src/xx-fill/xx-fill-scalar-u16.c",
+- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
- ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
@@ -119470,14 +120976,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("xx-transposev_riscv64_standalone") {
++ source_set("bf16-qs8-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c"
++ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
+ ]
- deps = [
@@ -119503,14 +121009,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("xx-fill_arm64_standalone") {
+- source_set("xx-copy_arm64_standalone") {
- cflags = []
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/xx-fill/xx-fill-neon-u64.c",
-- "src/src/xx-fill/xx-fill-scalar-u16.c",
+- "src/src/xx-copy/xx-copy-scalar-memcpy.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -119537,37 +121042,35 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("xx-pad_arm64") {
+- source_set("xx-fill_arm64") {
- cflags = []
-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p16-neon-u16.c",
-- "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
+- "src/src/xx-fill/xx-fill-neon-u64.c",
+- "src/src/xx-fill/xx-fill-scalar-u16.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+}
-
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+if (current_cpu == "ppc64") {
+if (build_with_chromium) {
-+ source_set("bf16-f32-vcvt_ppc64") {
++ source_set("bf16-qu8-vcvt_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
++ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -119580,7 +121083,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("xx-pad_arm64_standalone") {
+- source_set("xx-fill_arm64_standalone") {
- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
@@ -119591,8 +121094,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/xx-pad/xx-pad-p16-neon-u16.c",
-- "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
+- "src/src/xx-fill/xx-fill-neon-u64.c",
+- "src/src/xx-fill/xx-fill-scalar-u16.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -119618,23 +121121,24 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("xx-transposev_arm64") {
+- source_set("xx-pad_arm64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-f32-vcvt_ppc64_standalone") {
++ source_set("bf16-qu8-vcvt_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c"
++ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
+- "src/src/xx-pad/xx-pad-p16-neon-u16.c",
+- "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -119669,22 +121173,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("xx-transposev_arm64_standalone") {
+- source_set("xx-pad_arm64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("bf16-qs8-vcvt_ppc64") {
++ source_set("bf16-rminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
+- "src/src/xx-pad/xx-pad-p16-neon-u16.c",
+- "src/src/xx-pad/xx-pad-p4-scalar-u16.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -119705,51 +121212,62 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("xx-transposev_arm64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
- }
++ }
++}
--if (current_cpu == "riscv64") {
-- if (build_with_chromium) {
-- source_set("bf16-f32-vcvt_riscv64") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qs8-vcvt_ppc64_standalone") {
++ source_set("bf16-rminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c"
++ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
++ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -119757,39 +121275,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("bf16-f32-vcvt_riscv64_standalone") {
+- source_set("xx-transposev_arm64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("bf16-qu8-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
+- "src/src/xx-transposev/xx-transposev-1x1-scalar-memcpy.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -119809,93 +121303,66 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
-+}
+ }
+-if (current_cpu == "riscv64") {
- if (build_with_chromium) {
-- source_set("bf16-qs8-vcvt_riscv64") {
+- source_set("bf16-f32-vcvt_riscv64") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-qu8-vcvt_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
+- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
+-
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("bf16-qs8-vcvt_riscv64_standalone") {
-- cflags = []
+if (build_with_chromium) {
-+ source_set("bf16-rminmax_ppc64") {
++ source_set("bf16-vunary_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
++ ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("bf16-f32-vcvt_riscv64_standalone") {
+- cflags = []
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
+- "src/src/bf16-f32-vcvt/gen/bf16-f32-vcvt-scalar-u2.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -119916,42 +121383,28 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
-- source_set("bf16-qu8-vcvt_riscv64") {
+- source_set("bf16-qs8-vcvt_riscv64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("bf16-rminmax_ppc64_standalone") {
++ source_set("bf16-vunary_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-+ "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c"
++ "src/src/bf16-vunary/gen/bf16-vunary-scalar.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
+- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -119986,7 +121439,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("bf16-qu8-vcvt_riscv64_standalone") {
+- source_set("bf16-qs8-vcvt_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
+ source_set("configs_ppc64") {
@@ -120024,7 +121477,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
+- "src/src/bf16-qs8-vcvt/gen/bf16-qs8-vcvt-scalar-imagic-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -120052,7 +121505,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
-- source_set("bf16-rminmax_riscv64") {
+- source_set("bf16-qu8-vcvt_riscv64") {
- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
@@ -120063,9 +121516,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
+- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
- ]
+ public_configs = [ ":xnnpack_public_config" ]
+ }
@@ -120133,15 +121584,13 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("bf16-rminmax_riscv64_standalone") {
+- source_set("bf16-qu8-vcvt_riscv64_standalone") {
- cflags = []
+ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
-- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
-- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
+- "src/src/bf16-qu8-vcvt/gen/bf16-qu8-vcvt-scalar-imagic-u4.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -120168,8 +121617,27 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("configs_riscv64") {
+- source_set("bf16-rminmax_riscv64") {
- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
+- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
+- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("enums_ppc64") {
+ cflags = [
@@ -120184,7 +121652,152 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/enums/node-type.c",
+ "src/src/enums/operator-type.c"
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("bf16-rminmax_riscv64_standalone") {
+- cflags = []
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-rminmax/gen/bf16-rmax-scalar-u2-acc2.c",
+- "src/src/bf16-rminmax/gen/bf16-rmin-scalar-u2-acc2.c",
+- "src/src/bf16-rminmax/gen/bf16-rminmax-scalar-u2-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("bf16-vunary_riscv64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("enums_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/enums/allocation-type.c",
++ "src/src/enums/datatype-strings.c",
++ "src/src/enums/microkernel-type.c",
++ "src/src/enums/node-type.c",
++ "src/src/enums/operator-type.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("bf16-vunary_riscv64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/bf16-vunary/gen/bf16-vunary-scalar.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+- }
++if (build_with_chromium) {
++ source_set("f16-avgpool_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
++ ]
+
+- if (build_with_chromium) {
+- source_set("configs_riscv64") {
+- cflags = []
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
@@ -120248,18 +121861,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("enums_ppc64_standalone") {
++ source_set("f16-avgpool_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/enums/allocation-type.c",
-+ "src/src/enums/datatype-strings.c",
-+ "src/src/enums/microkernel-type.c",
-+ "src/src/enums/node-type.c",
-+ "src/src/enums/operator-type.c"
++ "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c"
+ ]
- sources = [
@@ -120357,17 +121966,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("enums_riscv64_standalone") {
- cflags = []
-+if (build_with_chromium) {
-+ source_set("f16-f32-vcvt_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/enums/allocation-type.c",
@@ -120396,10 +121995,19 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("f16-dwconv_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
++ ]
- if (build_with_chromium) {
- source_set("f16-avgpool_arch=rv64gc_zvfh-abi=lp64d") {
@@ -120424,6 +122032,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -120431,12 +122047,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("f16-avgpool_arch=rv64gc_zvfh-abi=lp64d_standalone") {
@@ -120468,10 +122078,94 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f16-avgpool_riscv64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-dwconv_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
++ "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-avgpool_riscv64_standalone") {
+- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-avgpool/gen/f16-f32acc-avgpool-9p-minmax-scalar-u1.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
- }
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("f16-f32-vcvt_ppc64_standalone") {
++if (build_with_chromium) {
++ source_set("f16-f32-vcvt_ppc64") {
+ cflags = [
+
+ ]
@@ -120519,7 +122213,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
- # This is a target that cannot depend on //base.
@@ -120555,8 +122249,91 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
+- }
+ public_configs = [ ":xnnpack_public_config" ]
-+
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("f16-dwconv_riscv64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("f16-f32-vcvt_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-f32-vcvt/gen/f16-f32-vcvt-scalar-u4.c"
++ ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("f16-dwconv_riscv64_standalone") {
+- cflags = []
++ public_configs = [ ":xnnpack_public_config" ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-25p2c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-3p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-4p1c-minmax-scalar-acc2.c",
+- "src/src/f16-dwconv/gen/f16-f32acc-dwconv-9p1c-minmax-scalar-acc2.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
@@ -125100,6 +126877,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-1x4-minmax-scalar.c",
+ "src/src/f32-qc8w-gemm/gen/f32-qc8w-gemm-4x4-minmax-scalar.c"
+ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -125126,20 +126908,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -128294,11 +130071,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/f32-vgelu/gen/f32-vgelu-scalar-rational-12-10-div.c"
+ ]
-+
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -128334,15 +130106,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
++
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -133504,6 +135281,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/include/xnnpack.h",
+ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c"
+ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -133526,20 +135308,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
@@ -137568,25 +139345,34 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
+- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-+
+
+- if (build_with_chromium) {
+- source_set("qu8-vprelu_riscv64") {
+- cflags = []
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-+
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
+- ]
+ public_configs = [ ":xnnpack_public_config" ]
- }
++ }
+}
-- if (build_with_chromium) {
-- source_set("qu8-vprelu_riscv64") {
-- cflags = []
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
+ source_set("reference_ppc64_standalone") {
@@ -137601,19 +139387,20 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/reference/unary-elementwise.cc"
+ ]
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -137621,25 +139408,60 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vprelu_riscv64_standalone") {
+- cflags = []
++ public_configs = [ ":xnnpack_public_config" ]
+
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- "//third_party/pthreadpool:pthreadpool_standalone",
- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
+-
- public_configs = [ ":xnnpack_public_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+ if (!(is_android && use_order_profiling)) {
+ assert_no_deps = [ "//base" ]
}
}
+}
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vprelu_riscv64_standalone") {
+- if (build_with_chromium) {
+- source_set("qu8-vpreluc_riscv64") {
- cflags = []
+-
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
+- ]
+-
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
+if (build_with_chromium) {
+ source_set("s8-ibilinear_ppc64") {
+ cflags = [
@@ -137651,9 +139473,28 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-u1.c"
+ ]
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- # This is a target that cannot depend on //base.
+- if (build_with_internal_optimization_guide) {
+- source_set("qu8-vpreluc_riscv64_standalone") {
+- cflags = []
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vprelu/gen/qu8-vprelu-scalar-u8.c",
+- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -137674,24 +139515,12 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
+ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
-- source_set("qu8-vpreluc_riscv64") {
+- source_set("qu8-vrpreluc_riscv64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -137707,7 +139536,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
+- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -137742,7 +139571,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vpreluc_riscv64_standalone") {
+- source_set("qu8-vrpreluc_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
+ source_set("s8-maxpool_ppc64") {
@@ -137757,7 +139586,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vpreluc/gen/qu8-vpreluc-scalar-u8.c",
+- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
- ]
-
- configs -= [ "//build/config/compiler:chromium_code" ]
@@ -137795,7 +139624,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+}
- if (build_with_chromium) {
-- source_set("qu8-vrpreluc_riscv64") {
+- source_set("reference_riscv64") {
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
@@ -137811,7 +139640,9 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
+- "src/src/reference/binary-elementwise.cc",
+- "src/src/reference/packing.cc",
+- "src/src/reference/unary-elementwise.cc",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -137846,7 +139677,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
-- source_set("qu8-vrpreluc_riscv64_standalone") {
+- source_set("reference_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
+ source_set("s8-rdminmax_ppc64") {
@@ -137862,115 +139693,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- sources = [
- "src/include/xnnpack.h",
-- "src/src/qu8-vrpreluc/gen/qu8-vrpreluc-scalar-u8.c",
-- ]
--
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
--
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool:pthreadpool_standalone",
-- ]
--
-- public_configs = [ ":xnnpack_public_config" ]
--
-- if (!(is_android && use_order_profiling)) {
-- assert_no_deps = [ "//base" ]
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-+
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
-+
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
-- if (build_with_chromium) {
-- source_set("reference_riscv64") {
-- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rdminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/reference/binary-elementwise.cc",
-- "src/src/reference/packing.cc",
-- "src/src/reference/unary-elementwise.cc",
-- ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
-+ ]
-
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
-- ]
-+ public_configs = [ ":xnnpack_public_config" ]
-
-- public_configs = [ ":xnnpack_public_config" ]
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
-
-- # This is a target that cannot depend on //base.
-- if (build_with_internal_optimization_guide) {
-- source_set("reference_riscv64_standalone") {
-- cflags = []
-+if (build_with_chromium) {
-+ source_set("s8-rminmax_ppc64") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
-+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
- "src/src/reference/binary-elementwise.cc",
- "src/src/reference/packing.cc",
- "src/src/reference/unary-elementwise.cc",
@@ -138024,16 +139746,15 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- configs += [ ":xnnpack_private_config" ]
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-rminmax_ppc64_standalone") {
++ source_set("s8-rdminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
-+ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-u2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-u2.c"
+ ]
- deps = [
@@ -138115,14 +139836,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/pthreadpool",
- ]
+if (build_with_chromium) {
-+ source_set("s8-vclamp_ppc64") {
++ source_set("s8-rminmax_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
@@ -138180,14 +139903,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("s8-vclamp_ppc64_standalone") {
++ source_set("s8-rminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
++ "src/src/s8-rminmax/gen/s8-rmax-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rmin-scalar-u2-acc2.c",
++ "src/src/s8-rminmax/gen/s8-rminmax-scalar-u2-acc2.c"
+ ]
- sources = [
@@ -138255,43 +139980,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("subgraph_ppc64") {
++ source_set("s8-vclamp_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
+ ]
- if (build_with_chromium) {
@@ -138374,43 +140070,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("subgraph_ppc64_standalone") {
++ source_set("s8-vclamp_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/subgraph/argmax-pooling-2d.c",
-+ "src/src/subgraph/average-pooling-2d.c",
-+ "src/src/subgraph/batch-matrix-multiply.c",
-+ "src/src/subgraph/binary.c",
-+ "src/src/subgraph/concatenate.c",
-+ "src/src/subgraph/convolution-2d.c",
-+ "src/src/subgraph/copy.c",
-+ "src/src/subgraph/deconvolution-2d.c",
-+ "src/src/subgraph/deprecated.c",
-+ "src/src/subgraph/depth-to-space-2d.c",
-+ "src/src/subgraph/depthwise-convolution-2d.c",
-+ "src/src/subgraph/even-split.c",
-+ "src/src/subgraph/fully-connected-sparse.c",
-+ "src/src/subgraph/fully-connected.c",
-+ "src/src/subgraph/max-pooling-2d.c",
-+ "src/src/subgraph/pack-lh.c",
-+ "src/src/subgraph/reshape-helpers.c",
-+ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
-+ "src/src/subgraph/rope.c",
-+ "src/src/subgraph/softmax.c",
-+ "src/src/subgraph/space-to-depth-2d.c",
-+ "src/src/subgraph/static-constant-pad.c",
-+ "src/src/subgraph/static-reduce.c",
-+ "src/src/subgraph/static-resize-bilinear-2d.c",
-+ "src/src/subgraph/static-slice.c",
-+ "src/src/subgraph/static-transpose.c",
-+ "src/src/subgraph/subgraph-utils.c",
-+ "src/src/subgraph/unary.c",
-+ "src/src/subgraph/unpooling-2d.c",
-+ "src/src/subgraph/validation.c"
++ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c"
+ ]
- sources = [
@@ -138480,22 +140147,43 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("tables_ppc64") {
++ source_set("subgraph_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c"
+ ]
- if (build_with_chromium) {
@@ -138580,22 +140268,43 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("tables_ppc64_standalone") {
++ source_set("subgraph_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/tables/exp2-k-over-2048.c",
-+ "src/src/tables/exp2-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-16.c",
-+ "src/src/tables/exp2minus-k-over-2048.c",
-+ "src/src/tables/exp2minus-k-over-32.c",
-+ "src/src/tables/exp2minus-k-over-4.c",
-+ "src/src/tables/exp2minus-k-over-64.c",
-+ "src/src/tables/exp2minus-k-over-8.c",
-+ "src/src/tables/vlog.c"
++ "src/src/subgraph/argmax-pooling-2d.c",
++ "src/src/subgraph/average-pooling-2d.c",
++ "src/src/subgraph/batch-matrix-multiply.c",
++ "src/src/subgraph/binary.c",
++ "src/src/subgraph/concatenate.c",
++ "src/src/subgraph/convolution-2d.c",
++ "src/src/subgraph/copy.c",
++ "src/src/subgraph/deconvolution-2d.c",
++ "src/src/subgraph/deprecated.c",
++ "src/src/subgraph/depth-to-space-2d.c",
++ "src/src/subgraph/depthwise-convolution-2d.c",
++ "src/src/subgraph/even-split.c",
++ "src/src/subgraph/fully-connected-sparse.c",
++ "src/src/subgraph/fully-connected.c",
++ "src/src/subgraph/max-pooling-2d.c",
++ "src/src/subgraph/pack-lh.c",
++ "src/src/subgraph/reshape-helpers.c",
++ "src/src/subgraph/rewrites/cvt_to_fp32.cc",
++ "src/src/subgraph/rope.c",
++ "src/src/subgraph/softmax.c",
++ "src/src/subgraph/space-to-depth-2d.c",
++ "src/src/subgraph/static-constant-pad.c",
++ "src/src/subgraph/static-reduce.c",
++ "src/src/subgraph/static-resize-bilinear-2d.c",
++ "src/src/subgraph/static-slice.c",
++ "src/src/subgraph/static-transpose.c",
++ "src/src/subgraph/subgraph-utils.c",
++ "src/src/subgraph/unary.c",
++ "src/src/subgraph/unpooling-2d.c",
++ "src/src/subgraph/validation.c"
+ ]
- sources = [
@@ -138667,14 +140376,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("u8-ibilinear_ppc64") {
++ source_set("tables_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c"
+ ]
- if (build_with_chromium) {
@@ -138755,14 +140472,22 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-ibilinear_ppc64_standalone") {
++ source_set("tables_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
++ "src/src/tables/exp2-k-over-2048.c",
++ "src/src/tables/exp2-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-16.c",
++ "src/src/tables/exp2minus-k-over-2048.c",
++ "src/src/tables/exp2minus-k-over-32.c",
++ "src/src/tables/exp2minus-k-over-4.c",
++ "src/src/tables/exp2minus-k-over-64.c",
++ "src/src/tables/exp2minus-k-over-8.c",
++ "src/src/tables/vlog.c"
+ ]
- sources = [
@@ -138830,14 +140555,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
+if (build_with_chromium) {
-+ source_set("u8-lut32norm_ppc64") {
++ source_set("u8-ibilinear_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
+ ]
- if (build_with_chromium) {
@@ -138912,14 +140637,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-lut32norm_ppc64_standalone") {
++ source_set("u8-ibilinear_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c"
+ ]
- sources = [
@@ -139028,14 +140753,14 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- source_set("tables_riscv64_standalone") {
- cflags = []
+if (build_with_chromium) {
-+ source_set("u8-maxpool_ppc64") {
++ source_set("u8-lut32norm_ppc64") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
+ ]
- sources = [
@@ -139069,60 +140794,50 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("u8-ibilinear_riscv64") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
+ "//third_party/pthreadpool",
+ ]
-
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c",
-- ]
++
+ public_configs = [ ":xnnpack_public_config" ]
-+ }
+ }
+}
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- if (build_with_chromium) {
+- source_set("u8-ibilinear_riscv64") {
+- cflags = []
+# This is a target that cannot depend on //base.
+if (build_with_internal_optimization_guide) {
-+ source_set("u8-maxpool_ppc64_standalone") {
++ source_set("u8-lut32norm_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ "src/src/u8-lut32norm/u8-lut32norm-scalar.c"
+ ]
-- deps = [
-- "//third_party/cpuinfo",
-- "//third_party/fp16",
-- "//third_party/fxdiv",
-- "//third_party/pthreadpool",
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-u1.c",
- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
@@ -139130,11 +140845,35 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
+ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
+- ]
++ public_configs = [ ":xnnpack_public_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
+
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("u8-ibilinear_riscv64_standalone") {
- cflags = []
-+ public_configs = [ ":xnnpack_public_config" ]
++if (build_with_chromium) {
++ source_set("u8-maxpool_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
++ ]
- sources = [
- "src/include/xnnpack.h",
@@ -139158,76 +140897,73 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
- }
-+}
+- }
+- }
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- if (build_with_chromium) {
- source_set("u8-lut32norm_riscv64") {
- cflags = []
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
+
- sources = [
- "src/include/xnnpack.h",
- "src/src/u8-lut32norm/u8-lut32norm-scalar.c",
- ]
-+if (build_with_chromium) {
-+ source_set("u8-rdminmax_ppc64") {
++ public_configs = [ ":xnnpack_public_config" ]
++ }
++}
+
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-maxpool_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
++ "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
-
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
++ "//third_party/pthreadpool:pthreadpool_standalone",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
- }
-+}
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("u8-lut32norm_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rdminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- sources = [
- "src/include/xnnpack.h",
@@ -139251,12 +140987,11 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-- }
-- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
+ }
++}
- if (build_with_chromium) {
- source_set("u8-maxpool_arch=rv64gcv-abi=lp64d") {
@@ -139281,17 +141016,25 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++if (build_with_chromium) {
++ source_set("u8-rdminmax_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
+ ]
- public_configs = [ ":xnnpack_public_config" ]
- }
- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
@@ -139323,58 +141066,66 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("u8-maxpool_riscv64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-rminmax_ppc64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-rdminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -139382,20 +141133,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("u8-maxpool_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-rminmax_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-+ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/u8-maxpool/gen/u8-maxpool-9p-minmax-scalar-u1.c",
@@ -139420,10 +141158,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("u8-rminmax_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
++ ]
- if (build_with_chromium) {
- source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d") {
@@ -139449,18 +141195,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("u8-rdminmax_arch=rv64gcv-abi=lp64d_standalone") {
@@ -139492,57 +141241,61 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("u8-rdminmax_riscv64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
-- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("u8-vclamp_ppc64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-rminmax_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
++ "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
++ "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
+- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-u2.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -139550,18 +141303,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("u8-rdminmax_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("u8-vclamp_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-u2.c",
@@ -139587,10 +141329,16 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("u8-vclamp_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
++ ]
- if (build_with_chromium) {
- source_set("u8-rminmax_arch=rv64gcv-abi=lp64d") {
@@ -139617,18 +141365,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("u8-rminmax_arch=rv64gcv-abi=lp64d_standalone") {
@@ -139661,61 +141412,60 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("u8-rminmax_riscv64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
-- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("x16-packw_ppc64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("u8-vclamp_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
+- "src/src/u8-rminmax/gen/u8-rmin-scalar-u2-acc2.c",
+- "src/src/u8-rminmax/gen/u8-rminmax-scalar-u2-acc2.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -139723,21 +141473,7 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("u8-rminmax_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-packw_ppc64_standalone") {
-+ cflags = [
-+
-+ ]
-+
-+ sources = [
-+ "src/include/xnnpack.h",
-+ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-+ "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
-+ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
-+ ]
-
+-
- sources = [
- "src/include/xnnpack.h",
- "src/src/u8-rminmax/gen/u8-rmax-scalar-u2-acc2.c",
@@ -139764,10 +141500,18 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- }
- }
- }
-+ configs -= [ "//build/config/compiler:chromium_code" ]
-+ configs += [ "//build/config/compiler:no_chromium_code" ]
-+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-+ configs += [ ":xnnpack_private_config" ]
++if (build_with_chromium) {
++ source_set("x16-packw_ppc64") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
++ ]
- if (build_with_chromium) {
- source_set("u8-vclamp_arch=rv64gcv-abi=lp64d") {
@@ -139792,18 +141536,21 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
+- public_configs = [ ":xnnpack_public_config" ]
+- }
+- }
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
+ ]
-- public_configs = [ ":xnnpack_public_config" ]
-- }
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
-
- # This is a target that cannot depend on //base.
- if (build_with_internal_optimization_guide) {
- source_set("u8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
@@ -139834,56 +141581,60 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (!(is_android && use_order_profiling)) {
- assert_no_deps = [ "//base" ]
- }
-+ if (!(is_android && use_order_profiling)) {
-+ assert_no_deps = [ "//base" ]
- }
+- }
++ public_configs = [ ":xnnpack_public_config" ]
}
+}
- if (build_with_chromium) {
- source_set("u8-vclamp_riscv64") {
- cflags = []
--
-- sources = [
-- "src/include/xnnpack.h",
-- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
-- ]
-+if (build_with_chromium) {
-+ source_set("x16-transposec_ppc64") {
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("x16-packw_ppc64_standalone") {
+ cflags = [
+
+ ]
+
+ sources = [
+ "src/include/xnnpack.h",
-+ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
++ "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c"
+ ]
-- configs -= [ "//build/config/compiler:chromium_code" ]
-- configs += [ "//build/config/compiler:no_chromium_code" ]
-- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-- configs += [ ":xnnpack_private_config" ]
+- sources = [
+- "src/include/xnnpack.h",
+- "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
+- ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [ "//build/config/compiler:no_chromium_code" ]
+- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+- configs += [ ":xnnpack_private_config" ]
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
- "//third_party/fxdiv",
- "//third_party/pthreadpool",
- ]
-+ deps = [
-+ "//third_party/cpuinfo",
-+ "//third_party/fp16",
-+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool",
-+ ]
++ public_configs = [ ":xnnpack_public_config" ]
- public_configs = [ ":xnnpack_public_config" ]
-- }
-+ public_configs = [ ":xnnpack_public_config" ]
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
+ }
}
+}
@@ -139891,9 +141642,8 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- if (build_with_internal_optimization_guide) {
- source_set("u8-vclamp_riscv64_standalone") {
- cflags = []
-+# This is a target that cannot depend on //base.
-+if (build_with_internal_optimization_guide) {
-+ source_set("x16-transposec_ppc64_standalone") {
++if (build_with_chromium) {
++ source_set("x16-transposec_ppc64") {
+ cflags = [
+
+ ]
@@ -139926,35 +141676,59 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- assert_no_deps = [ "//base" ]
- }
- }
-- }
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
+ configs += [ ":xnnpack_private_config" ]
-
-- if (build_with_chromium) {
-- source_set("x16-packw_riscv64") {
-- cflags = []
++
+ deps = [
+ "//third_party/cpuinfo",
+ "//third_party/fp16",
+ "//third_party/fxdiv",
-+ "//third_party/pthreadpool:pthreadpool_standalone",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_public_config" ]
+ }
++}
+
+- if (build_with_chromium) {
+- source_set("x16-packw_riscv64") {
+- cflags = []
++# This is a target that cannot depend on //base.
++if (build_with_internal_optimization_guide) {
++ source_set("x16-transposec_ppc64_standalone") {
++ cflags = [
++
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-transposec/gen/x16-transposec-2x4-scalar-int.c"
+ ]
- sources = [
- "src/include/xnnpack.h",
- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
- ]
--
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++ configs += [ ":xnnpack_private_config" ]
+
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
- configs += [ ":xnnpack_private_config" ]
--
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
+
- deps = [
- "//third_party/cpuinfo",
- "//third_party/fp16",
@@ -139990,7 +141764,6 @@ Index: chromium-153.0.8010.36/third_party/xnnpack/BUILD.gn
- "src/include/xnnpack.h",
- "src/src/x16-packw/gen/x16-packw-x16-gemm-gio-scalar.c",
- "src/src/x16-packw/gen/x16-packw-x32-gemm-gio-scalar.c",
-- "src/src/x16-packw/gen/x16-packw-x32-gemm-goi-scalar-int-u4.c",
- "src/src/x16-packw/gen/x16-packw-x8-gemm-gio-scalar.c",
- ]
-
diff --git a/build-with-wasm-rollup.patch b/build-with-wasm-rollup.patch
index 30c5fbc..e0f7dec 100644
--- a/build-with-wasm-rollup.patch
+++ b/build-with-wasm-rollup.patch
@@ -1,5 +1,6 @@
---- a/third_party/devtools-frontend/src/front_end/Images/BUILD.gn
-+++ b/third_party/devtools-frontend/src/front_end/Images/BUILD.gn
+diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/Images/BUILD.gn.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/Images/BUILD.gn
+--- chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/Images/BUILD.gn.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
++++ chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/Images/BUILD.gn 2026-09-23 16:40:40.895486247 +0200
@@ -28,7 +28,7 @@ node_action("generate_css_vars") {
}
@@ -9,8 +10,9 @@
_bundled_entrypoint = target_gen_dir + "/Images.prebundle.js"
_output_file_location = target_gen_dir + "/Images.js"
---- a/third_party/devtools-frontend/src/front_end/models/live-metrics/web-vitals-injected/BUILD.gn
-+++ b/third_party/devtools-frontend/src/front_end/models/live-metrics/web-vitals-injected/BUILD.gn
+diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/models/live-metrics/web-vitals-injected/BUILD.gn.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/models/live-metrics/web-vitals-injected/BUILD.gn
+--- chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/models/live-metrics/web-vitals-injected/BUILD.gn.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
++++ chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/models/live-metrics/web-vitals-injected/BUILD.gn 2026-09-23 16:40:40.896352266 +0200
@@ -26,7 +26,7 @@ devtools_module("web-vitals-injected") {
}
@@ -20,9 +22,10 @@
_bundled_entrypoint = target_gen_dir + "/web-vitals-injected.js"
_output_file_location = target_gen_dir + "/web-vitals-injected.generated.js"
---- a/third_party/devtools-frontend/src/front_end/panels/recorder/injected/BUILD.gn
-+++ b/third_party/devtools-frontend/src/front_end/panels/recorder/injected/BUILD.gn
-@@ -55,7 +55,7 @@ devtools_entrypoint("bundle") {
+diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/panels/recorder/injected/BUILD.gn.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/panels/recorder/injected/BUILD.gn
+--- chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/panels/recorder/injected/BUILD.gn.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
++++ chromium-154.0.8037.57/third_party/devtools-frontend/src/front_end/panels/recorder/injected/BUILD.gn 2026-09-23 16:40:40.896634097 +0200
+@@ -57,7 +57,7 @@ devtools_entrypoint("bundle") {
}
node_action("bundled_library") {
@@ -31,8 +34,9 @@
_bundled_entrypoint = target_gen_dir + "/injected.js"
_output_file_location = target_gen_dir + "/injected.generated.js"
---- a/third_party/devtools-frontend/src/inspector_overlay/BUILD.gn
-+++ b/third_party/devtools-frontend/src/inspector_overlay/BUILD.gn
+diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/inspector_overlay/BUILD.gn.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/inspector_overlay/BUILD.gn
+--- chromium-154.0.8037.57/third_party/devtools-frontend/src/inspector_overlay/BUILD.gn.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
++++ chromium-154.0.8037.57/third_party/devtools-frontend/src/inspector_overlay/BUILD.gn 2026-09-23 16:40:40.896898910 +0200
@@ -38,7 +38,7 @@ action("build_inspector_overlay") {
"$target_gen_dir/tool_window_controls.css",
"$target_gen_dir/main.js",
@@ -42,8 +46,9 @@
]
outputs = [ "$resources_out_dir/main.js" ]
---- a/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py
-+++ b/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py
+diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py
+--- chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
++++ chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py 2026-09-23 16:40:40.897130981 +0200
@@ -56,7 +56,7 @@ def rollup(input_path, output_path, file
[devtools_paths.node_path(),
devtools_paths.rollup_path()] +
@@ -53,21 +58,22 @@
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True,
---- a/third_party/devtools-frontend/src/scripts/build/ninja/bundle.gni
-+++ b/third_party/devtools-frontend/src/scripts/build/ninja/bundle.gni
+diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/ninja/bundle.gni.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/ninja/bundle.gni
+--- chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/ninja/bundle.gni.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
++++ chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/build/ninja/bundle.gni 2026-09-23 16:51:01.399321185 +0200
@@ -11,7 +11,7 @@ template("bundle") {
"You must define the 'entrypoint' for a bundle target")
node_action(target_name) {
- script = "scripts/build/esbuild.js"
+ script = "../../node/node_modules/@rollup/wasm-node/dist/bin/rollup"
- forward_variables_from(invoker,
- [
- "visibility",
-@@ -21,27 +21,23 @@ template("bundle") {
-
+ _bundled_entrypoints_target =
+ devtools_location_prepend + ":bundled_entrypoints"
+ deps = [ _bundled_entrypoints_target ]
+@@ -31,22 +31,22 @@ template("bundle") {
inputs = [
invoker.entrypoint,
+ _entrypoints_file,
+ devtools_location_prepend + "scripts/build/rollup.config.mjs",
devtools_location_prepend + "scripts/build/devtools_plugin.js",
devtools_location_prepend + "scripts/devtools_paths.js",
@@ -80,6 +86,9 @@
- inputs += [ _esbuild ]
- }
-
+ _depfile = "$target_gen_dir/$target_name.d"
+ depfile = _depfile
+
args = [
+ "--config",
+ rebase_path(
@@ -89,7 +98,10 @@
rebase_path(invoker.entrypoint, root_build_dir),
+ "--file",
rebase_path(invoker.output_file_location, root_build_dir),
- "--configSourcemaps",
+ "--entrypointsFile",
+ rebase_path(_entrypoints_file, root_build_dir),
+@@ -59,10 +59,6 @@ template("bundle") {
+ rebase_path(_depfile, root_build_dir),
]
- if (!is_debug) {
@@ -99,9 +111,10 @@
outputs = [ invoker.output_file_location ]
}
}
---- a/third_party/devtools-frontend/src/scripts/devtools_paths.py
-+++ b/third_party/devtools-frontend/src/scripts/devtools_paths.py
-@@ -64,8 +64,11 @@ def license_checker_path():
+diff -up chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/devtools_paths.py.build-with-wasm-rollup chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/devtools_paths.py
+--- chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/devtools_paths.py.build-with-wasm-rollup 2026-09-22 02:09:16.000000000 +0200
++++ chromium-154.0.8037.57/third_party/devtools-frontend/src/scripts/devtools_paths.py 2026-09-23 16:40:40.897786257 +0200
+@@ -65,8 +65,11 @@ def license_checker_path():
def rollup_path():
return path.join(
diff --git a/chromium-153-ftbfs-crubit.patch b/chromium-153-ftbfs-crubit.patch
deleted file mode 100644
index 5e9fe8f..0000000
--- a/chromium-153-ftbfs-crubit.patch
+++ /dev/null
@@ -1,282 +0,0 @@
-commit 493e6c3911e33cc356856bafbffc6cf95521266b
-Author: Dominik Röttsches <drott@chromium.org>
-Date: Thu Aug 13 08:42:15 2026 -0700
-
- Migrate OpenType format check bindings to Crubit
-
- We can remove the Box<> wrapped typing of FontFormatInfo along the way.
-
- DEPS checks for the generated output header files requires us to move
- the format_check target into the fonts subdirectory. This is a good
- opportunity to move more font specific build rules to the font subdir in
- the future and reduce the weight of the platform/BUILD.gn build dir.
-
- Exercise in using the Crubit bindings mechanism.
-
- No functional change.
-
- Change-Id: I9440c7285bb707b325b80ee074de51e714ee4884
- Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8244248
- Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
- Commit-Queue: Dominik Röttsches <drott@chromium.org>
- Cr-Commit-Position: refs/heads/main@{#1678858}
-
-diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/renderer/platform/BUILD.gn
-index d5e81a3f07a3c..6a5d275460122 100644
---- a/third_party/blink/renderer/platform/BUILD.gn
-+++ b/third_party/blink/renderer/platform/BUILD.gn
-@@ -186,18 +186,6 @@ group("make_platform_generated") {
- ]
- }
-
--rust_static_library("font_format_check") {
-- allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
-- crate_root = "fonts/opentype/format_check.rs"
-- sources = [ crate_root ]
-- cxx_bindings = [ crate_root ]
-- deps = [
-- "//third_party/rust/font_types/v0_12:lib",
-- "//third_party/rust/read_fonts/v0_41:lib",
-- "//third_party/rust/skrifa/v0_44:lib",
-- ]
--}
--
- rust_static_library("rustfft_ffi") {
- allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
- crate_root = "audio/rustfft_ffi.rs"
-@@ -1806,6 +1794,7 @@ component("platform") {
- ":allow_discouraged_type",
- ":blink_platform_public_deps",
- ":platform_export",
-+ "//build/rust/crubit",
- "//gpu/command_buffer/client:raster_interface",
- "//media/capture:capture_lib",
- "//mojo/public/cpp/base",
-@@ -1832,8 +1821,8 @@ component("platform") {
- "//ui/native_theme/features",
- ]
- deps = [
-- ":font_format_check",
- ":rustfft_ffi",
-+ "fonts:font_format_bindings",
- "//base:base_static",
- "//base/allocator:buildflags",
- "//build:chromecast_buildflags",
-diff --git a/third_party/blink/renderer/platform/fonts/BUILD.gn b/third_party/blink/renderer/platform/fonts/BUILD.gn
-new file mode 100644
-index 0000000000000..51b9b03ba7c85
---- /dev/null
-+++ b/third_party/blink/renderer/platform/fonts/BUILD.gn
-@@ -0,0 +1,19 @@
-+# Copyright 2026 The Chromium Authors
-+# Use of this source code is governed by a BSD-style license that can be
-+# found in the LICENSE file.
-+
-+import("//build/rust/rust_static_library.gni")
-+
-+rust_static_library("font_format") {
-+ crate_root = "opentype/format_check.rs"
-+ sources = [ crate_root ]
-+ cpp_api_from_rust = {
-+ target_name = "font_format_bindings"
-+ cpp_namespace = "font_format"
-+ }
-+ deps = [
-+ "//third_party/rust/font_types/v0_12:lib",
-+ "//third_party/rust/read_fonts/v0_41:lib",
-+ "//third_party/rust/skrifa/v0_44:lib",
-+ ]
-+}
-diff --git a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
-index b9d2639822bc0..f58e9433d39f4 100644
---- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
-+++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
-@@ -7,7 +7,6 @@
- #include "base/containers/span.h"
- #include "base/containers/span_rust.h"
- #include "base/numerics/byte_conversions.h"
--#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
- #include "third_party/blink/renderer/platform/runtime_enabled_features.h"
- #include "third_party/blink/renderer/platform/wtf/vector.h"
- #include "third_party/skia/include/core/SkTypeface.h"
-@@ -15,35 +14,37 @@
- namespace blink {
-
- FontFormatCheck::FontFormatCheck(sk_sp<SkData> sk_data)
-- : format_info_(font_format_check::get_font_format_info(
-+ : format_info_(font_format::get_font_format_info(
- base::SpanToRustSlice(sk_data->byteSpan()))) {}
-
-+FontFormatCheck::~FontFormatCheck() = default;
-+
- bool FontFormatCheck::IsVariableFont() const {
-- return font_format_check::is_variable(*format_info_);
-+ return font_format::is_variable(format_info_);
- }
-
- bool FontFormatCheck::IsCbdtCblcColorFont() const {
-- return font_format_check::is_cbdt_cblc(*format_info_);
-+ return font_format::is_cbdt_cblc(format_info_);
- }
-
- bool FontFormatCheck::IsEbdtEblcMonochromeFont() const {
-- return font_format_check::is_ebdt_eblc(*format_info_);
-+ return font_format::is_ebdt_eblc(format_info_);
- }
-
- bool FontFormatCheck::IsColrCpalColorFontV0() const {
-- return font_format_check::is_colrv0(*format_info_);
-+ return font_format::is_colrv0(format_info_);
- }
-
- bool FontFormatCheck::IsColrCpalColorFontV1() const {
-- return font_format_check::is_colrv1(*format_info_);
-+ return font_format::is_colrv1(format_info_);
- }
-
- bool FontFormatCheck::IsSbixColorFont() const {
-- return font_format_check::is_sbix(*format_info_);
-+ return font_format::is_sbix(format_info_);
- }
-
- bool FontFormatCheck::IsCff2OutlineFont() const {
-- return font_format_check::is_cff2(*format_info_);
-+ return font_format::is_cff2(format_info_);
- }
-
- bool FontFormatCheck::IsVariableColrV0Font() const {
-@@ -57,7 +58,7 @@ bool FontFormatCheck::IsColorFont() const {
-
- bool FontFormatCheck::IsAvar2Font() const {
- return RuntimeEnabledFeatures::FontFormatAvar2Enabled() &&
-- font_format_check::is_avar2(*format_info_);
-+ font_format::is_avar2(format_info_);
- }
-
- FontFormatCheck::VariableFontSubType FontFormatCheck::ProbeVariableFont(
-diff --git a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
-index 19d2639233b07..af50dbdf74d00 100644
---- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
-+++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
-@@ -5,7 +5,7 @@
- #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_OPENTYPE_FONT_FORMAT_CHECK_H_
- #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_OPENTYPE_FONT_FORMAT_CHECK_H_
-
--#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
-+#include "third_party/blink/renderer/platform/fonts/font_format.h"
- #include "third_party/blink/renderer/platform/platform_export.h"
- #include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
- #include "third_party/skia/include/core/SkData.h"
-@@ -19,7 +19,7 @@ class PLATFORM_EXPORT FontFormatCheck {
-
- public:
- explicit FontFormatCheck(sk_sp<SkData>);
-- virtual ~FontFormatCheck() = default;
-+ virtual ~FontFormatCheck();
- virtual bool IsVariableFont() const;
- virtual bool IsCbdtCblcColorFont() const;
- virtual bool IsEbdtEblcMonochromeFont() const;
-@@ -46,7 +46,7 @@ class PLATFORM_EXPORT FontFormatCheck {
- enum class COLRVersion { kCOLRV0, kCOLRV1, kNoCOLR };
-
- private:
-- rust::Box<font_format_check::FontFormatInfo> format_info_;
-+ font_format::FontFormatInfo format_info_;
- };
-
- } // namespace blink
-diff --git a/third_party/blink/renderer/platform/fonts/opentype/format_check.rs b/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
-index eda8e6b2b8188..b99f0ec8655e6 100644
---- a/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
-+++ b/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
-@@ -23,7 +23,7 @@ pub struct FontFormatInfo {
- format_flags: Option<FontFormatFlags>,
- }
-
--pub fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo> {
-+pub fn get_font_format_info(font_bytes: &[u8]) -> FontFormatInfo {
- let file_ref = make_font_ref_internal(font_bytes, 0);
-
- match file_ref {
-@@ -32,11 +32,11 @@ pub fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo> {
- font.table_directory().table_records().iter().map(|e| e.tag()).collect();
- let color_version = get_colr_version(&font);
- let avar_version = get_avar_version(&font);
-- Box::new(FontFormatInfo {
-+ FontFormatInfo {
- format_flags: Some(FontFormatFlags { table_tags, color_version, avar_version }),
-- })
-+ }
- }
-- _ => Box::new(FontFormatInfo::default()),
-+ _ => FontFormatInfo::default(),
- }
- }
-
-@@ -44,10 +44,10 @@ fn get_colr_version(font_ref: &FontRef) -> Option<u16> {
- Some(font_ref.colr().ok()?.version())
- }
-
--fn is_colrv1(format_info: &FontFormatInfo) -> bool {
-+pub fn is_colrv1(format_info: &FontFormatInfo) -> bool {
- matches!(&format_info.format_flags, Some(FontFormatFlags { color_version: Some(1), .. }),)
- }
--fn is_colrv0(format_info: &FontFormatInfo) -> bool {
-+pub fn is_colrv0(format_info: &FontFormatInfo) -> bool {
- matches!(&format_info.format_flags, Some(FontFormatFlags { color_version: Some(0), .. }),)
- }
-
-@@ -56,7 +56,7 @@ fn get_avar_version(font_ref: &FontRef) -> Option<(u16, u16)> {
- Some((version.major, version.minor))
- }
-
--fn is_avar2(format_info: &FontFormatInfo) -> bool {
-+pub fn is_avar2(format_info: &FontFormatInfo) -> bool {
- matches!(&format_info.format_flags, Some(FontFormatFlags { avar_version: Some((2, _)), .. }),)
- }
-
-@@ -69,39 +69,22 @@ fn has_tags(format_info: &FontFormatInfo, query: &[Tag]) -> bool {
- }
- }
-
--fn is_variable(format_info: &FontFormatInfo) -> bool {
-+pub fn is_variable(format_info: &FontFormatInfo) -> bool {
- has_tags(format_info, &[Tag::new(b"fvar")])
- }
-
--fn is_sbix(format_info: &FontFormatInfo) -> bool {
-+pub fn is_sbix(format_info: &FontFormatInfo) -> bool {
- has_tags(format_info, &[Tag::new(b"sbix")])
- }
-
--fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
-+pub fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
- has_tags(format_info, &[Tag::new(b"CBDT"), Tag::new(b"CBLC")])
- }
-
--fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
-+pub fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
- has_tags(format_info, &[Tag::new(b"EBDT"), Tag::new(b"EBLC")])
- }
-
--fn is_cff2(format_info: &FontFormatInfo) -> bool {
-+pub fn is_cff2(format_info: &FontFormatInfo) -> bool {
- has_tags(format_info, &[Tag::new(b"CFF2")])
- }
--
--#[cxx::bridge(namespace = "font_format_check")]
--pub mod ffi {
-- extern "Rust" {
-- type FontFormatInfo;
--
-- fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo>;
-- fn is_colrv1(format_info: &FontFormatInfo) -> bool;
-- fn is_colrv0(format_info: &FontFormatInfo) -> bool;
-- fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool;
-- fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool;
-- fn is_variable(format_info: &FontFormatInfo) -> bool;
-- fn is_sbix(format_info: &FontFormatInfo) -> bool;
-- fn is_cff2(format_info: &FontFormatInfo) -> bool;
-- fn is_avar2(format_info: &FontFormatInfo) -> bool;
-- }
--}
diff --git a/chromium-153-rust-1.88-enable-unstable_features.patch b/chromium-153-rust-1.88-enable-unstable_features.patch
deleted file mode 100644
index 7234a23..0000000
--- a/chromium-153-rust-1.88-enable-unstable_features.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-error[E0658]: the target feature `avx512f` is currently unstable
- --> ../../third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_5/src/x86_64/avx512.rs:123:26
- |
-123 | #[target_feature(enable = "avx512f")]
- | ^^^^^^^^^^^^^^^^^^
- |
- = note: see issue #44839 <https://github.com/rust-lang/rust/issues/44839> for more information
- = help: add `#![feature(avx512_target_feature)]` to the crate attributes to enable
- = note: this compiler was built on 2025-06-23; consider upgrading it if it is out of date
-
-Fix FTBFS on el9
-
-diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_5/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_5/src/lib.rs
---- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_5/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_5/src/lib.rs 2026-02-15 20:10:02.848196172 +0100
-@@ -4,6 +4,8 @@
- // license that can be found in the LICENSE file.
-
- #![allow(clippy::too_many_arguments)]
-+#![feature(avx512_target_feature)]
-+#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
-
- use std::{
- fmt::Debug,
-diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_5/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_5/src/lib.rs
---- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_5/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_5/src/lib.rs 2026-02-15 20:09:43.548731085 +0100
-@@ -3,6 +3,9 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-+#![feature(avx512_target_feature)]
-+#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
-+
- mod idct2d;
- mod reinterpreting_dct2d;
- pub mod transform;
-diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_5/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_5/src/lib.rs
---- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_5/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_5/src/lib.rs 2026-02-15 20:11:01.678559809 +0100
-@@ -3,6 +3,10 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-+#![feature(avx512_target_feature)]
-+#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
-+#![feature(non_null_from_ref)]
-+
- #![deny(unsafe_code)]
- pub mod api;
- pub mod bit_reader;
-diff -up 153.0.8010.36/third_party/rust/jxl_simd/v0_5/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_simd/v0_5/BUILD.gn
---- 153.0.8010.36/third_party/rust/jxl_simd/v0_5/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/jxl_simd/v0_5/BUILD.gn 2026-02-15 20:15:51.823722639 +0100
-@@ -36,6 +36,10 @@ cargo_crate("lib") {
-
- allow_unsafe = true
-
-+ rustflags = [
-+ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
-+ ]
-+
- features = [
- "all-simd",
- "avx",
-@@ -69,6 +73,7 @@ cargo_crate("lib") {
- # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
- # `gnrt_config.toml`).
- _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
-+ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
- _configs_to_add += [ "//build/config/compiler:optimize" ]
-
- # Applying config changes.
-diff -up 153.0.8010.36/third_party/rust/jxl_transforms/v0_5/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_transforms/v0_5/BUILD.gn
---- 153.0.8010.36/third_party/rust/jxl_transforms/v0_5/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/jxl_transforms/v0_5/BUILD.gn 2026-02-15 20:17:33.887730035 +0100
-@@ -45,6 +45,10 @@ cargo_crate("lib") {
-
- allow_unsafe = true
-
-+ rustflags = [
-+ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
-+ ]
-+
- deps = [ "//third_party/rust/jxl_simd/v0_5:lib" ]
-
- # Only for usage from third-party crates. Add the crate to
-@@ -72,6 +76,7 @@ cargo_crate("lib") {
- # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
- # `gnrt_config.toml`).
- _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
-+ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
- _configs_to_add += [ "//build/config/compiler:optimize" ]
-
- # Applying config changes.
-diff -up 153.0.8010.36/third_party/rust/jxl/v0_5/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl/v0_5/BUILD.gn
---- 153.0.8010.36/third_party/rust/jxl/v0_5/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/jxl/v0_5/BUILD.gn 2026-02-15 20:16:47.026490882 +0100
-@@ -169,6 +169,10 @@ cargo_crate("lib") {
-
- allow_unsafe = true
-
-+ rustflags = [
-+ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature,non_null_from_ref",
-+ ]
-+
- deps = [
- "//third_party/rust/array_init/v2:lib",
- "//third_party/rust/byteorder/v1:lib",
-@@ -201,6 +205,7 @@ cargo_crate("lib") {
- # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
- # `gnrt_config.toml`).
- _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
-+ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
- _configs_to_add += [ "//build/config/compiler:optimize" ]
-
- # Applying config changes.
diff --git a/chromium-154-ftbfs-crubit.patch b/chromium-154-ftbfs-crubit.patch
new file mode 100644
index 0000000..b4137f5
--- /dev/null
+++ b/chromium-154-ftbfs-crubit.patch
@@ -0,0 +1,282 @@
+commit 493e6c3911e33cc356856bafbffc6cf95521266b
+Author: Dominik Röttsches <drott@chromium.org>
+Date: Thu Aug 13 08:42:15 2026 -0700
+
+ Migrate OpenType format check bindings to Crubit
+
+ We can remove the Box<> wrapped typing of FontFormatInfo along the way.
+
+ DEPS checks for the generated output header files requires us to move
+ the format_check target into the fonts subdirectory. This is a good
+ opportunity to move more font specific build rules to the font subdir in
+ the future and reduce the weight of the platform/BUILD.gn build dir.
+
+ Exercise in using the Crubit bindings mechanism.
+
+ No functional change.
+
+ Change-Id: I9440c7285bb707b325b80ee074de51e714ee4884
+ Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8244248
+ Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
+ Commit-Queue: Dominik Röttsches <drott@chromium.org>
+ Cr-Commit-Position: refs/heads/main@{#1678858}
+
+diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/renderer/platform/BUILD.gn
+index d5e81a3f07a3c..6a5d275460122 100644
+--- a/third_party/blink/renderer/platform/BUILD.gn
++++ b/third_party/blink/renderer/platform/BUILD.gn
+@@ -186,18 +186,6 @@ group("make_platform_generated") {
+ ]
+ }
+
+-rust_static_library("font_format_check") {
+- allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
+- crate_root = "fonts/opentype/format_check.rs"
+- sources = [ crate_root ]
+- cxx_bindings = [ crate_root ]
+- deps = [
+- "//third_party/rust/font_types/v0_12:lib",
+- "//third_party/rust/read_fonts/v0_41:lib",
+- "//third_party/rust/skrifa/v0_44:lib",
+- ]
+-}
+-
+ rust_static_library("rustfft_ffi") {
+ allow_unsafe = true # Needed for FFI that underpins the `cxx` crate.
+ crate_root = "audio/rustfft_ffi.rs"
+@@ -1806,6 +1794,7 @@ component("platform") {
+ ":allow_discouraged_type",
+ ":blink_platform_public_deps",
+ ":platform_export",
++ "//build/rust/crubit",
+ "//gpu/command_buffer/client:raster_interface",
+ "//media/capture:capture_lib",
+ "//mojo/public/cpp/base",
+@@ -1832,8 +1821,8 @@ component("platform") {
+ "//ui/native_theme/features",
+ ]
+ deps = [
+- ":font_format_check",
+ ":rustfft_ffi",
++ "fonts:font_format_bindings",
+ "//base:base_static",
+ "//base/allocator:buildflags",
+ "//build:chromecast_buildflags",
+diff --git a/third_party/blink/renderer/platform/fonts/BUILD.gn b/third_party/blink/renderer/platform/fonts/BUILD.gn
+new file mode 100644
+index 0000000000000..51b9b03ba7c85
+--- /dev/null
++++ b/third_party/blink/renderer/platform/fonts/BUILD.gn
+@@ -0,0 +1,19 @@
++# Copyright 2026 The Chromium Authors
++# Use of this source code is governed by a BSD-style license that can be
++# found in the LICENSE file.
++
++import("//build/rust/rust_static_library.gni")
++
++rust_static_library("font_format") {
++ crate_root = "opentype/format_check.rs"
++ sources = [ crate_root ]
++ cpp_api_from_rust = {
++ target_name = "font_format_bindings"
++ cpp_namespace = "font_format"
++ }
++ deps = [
++ "//third_party/rust/font_types/v0_12:lib",
++ "//third_party/rust/read_fonts/v0_43:lib",
++ "//third_party/rust/skrifa/v0_46:lib",
++ ]
++}
+diff --git a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
+index b9d2639822bc0..f58e9433d39f4 100644
+--- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
++++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc
+@@ -7,7 +7,6 @@
+ #include "base/containers/span.h"
+ #include "base/containers/span_rust.h"
+ #include "base/numerics/byte_conversions.h"
+-#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
+ #include "third_party/blink/renderer/platform/runtime_enabled_features.h"
+ #include "third_party/blink/renderer/platform/wtf/vector.h"
+ #include "third_party/skia/include/core/SkTypeface.h"
+@@ -15,35 +14,37 @@
+ namespace blink {
+
+ FontFormatCheck::FontFormatCheck(sk_sp<SkData> sk_data)
+- : format_info_(font_format_check::get_font_format_info(
++ : format_info_(font_format::get_font_format_info(
+ base::SpanToRustSlice(sk_data->byteSpan()))) {}
+
++FontFormatCheck::~FontFormatCheck() = default;
++
+ bool FontFormatCheck::IsVariableFont() const {
+- return font_format_check::is_variable(*format_info_);
++ return font_format::is_variable(format_info_);
+ }
+
+ bool FontFormatCheck::IsCbdtCblcColorFont() const {
+- return font_format_check::is_cbdt_cblc(*format_info_);
++ return font_format::is_cbdt_cblc(format_info_);
+ }
+
+ bool FontFormatCheck::IsEbdtEblcMonochromeFont() const {
+- return font_format_check::is_ebdt_eblc(*format_info_);
++ return font_format::is_ebdt_eblc(format_info_);
+ }
+
+ bool FontFormatCheck::IsColrCpalColorFontV0() const {
+- return font_format_check::is_colrv0(*format_info_);
++ return font_format::is_colrv0(format_info_);
+ }
+
+ bool FontFormatCheck::IsColrCpalColorFontV1() const {
+- return font_format_check::is_colrv1(*format_info_);
++ return font_format::is_colrv1(format_info_);
+ }
+
+ bool FontFormatCheck::IsSbixColorFont() const {
+- return font_format_check::is_sbix(*format_info_);
++ return font_format::is_sbix(format_info_);
+ }
+
+ bool FontFormatCheck::IsCff2OutlineFont() const {
+- return font_format_check::is_cff2(*format_info_);
++ return font_format::is_cff2(format_info_);
+ }
+
+ bool FontFormatCheck::IsVariableColrV0Font() const {
+@@ -57,7 +58,7 @@ bool FontFormatCheck::IsColorFont() const {
+
+ bool FontFormatCheck::IsAvar2Font() const {
+ return RuntimeEnabledFeatures::FontFormatAvar2Enabled() &&
+- font_format_check::is_avar2(*format_info_);
++ font_format::is_avar2(format_info_);
+ }
+
+ FontFormatCheck::VariableFontSubType FontFormatCheck::ProbeVariableFont(
+diff --git a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
+index 19d2639233b07..af50dbdf74d00 100644
+--- a/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
++++ b/third_party/blink/renderer/platform/fonts/opentype/font_format_check.h
+@@ -5,7 +5,7 @@
+ #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_OPENTYPE_FONT_FORMAT_CHECK_H_
+ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_OPENTYPE_FONT_FORMAT_CHECK_H_
+
+-#include "third_party/blink/renderer/platform/fonts/opentype/format_check.rs.h"
++#include "third_party/blink/renderer/platform/fonts/font_format.h"
+ #include "third_party/blink/renderer/platform/platform_export.h"
+ #include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
+ #include "third_party/skia/include/core/SkData.h"
+@@ -19,7 +19,7 @@ class PLATFORM_EXPORT FontFormatCheck {
+
+ public:
+ explicit FontFormatCheck(sk_sp<SkData>);
+- virtual ~FontFormatCheck() = default;
++ virtual ~FontFormatCheck();
+ virtual bool IsVariableFont() const;
+ virtual bool IsCbdtCblcColorFont() const;
+ virtual bool IsEbdtEblcMonochromeFont() const;
+@@ -46,7 +46,7 @@ class PLATFORM_EXPORT FontFormatCheck {
+ enum class COLRVersion { kCOLRV0, kCOLRV1, kNoCOLR };
+
+ private:
+- rust::Box<font_format_check::FontFormatInfo> format_info_;
++ font_format::FontFormatInfo format_info_;
+ };
+
+ } // namespace blink
+diff --git a/third_party/blink/renderer/platform/fonts/opentype/format_check.rs b/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
+index eda8e6b2b8188..b99f0ec8655e6 100644
+--- a/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
++++ b/third_party/blink/renderer/platform/fonts/opentype/format_check.rs
+@@ -23,7 +23,7 @@ pub struct FontFormatInfo {
+ format_flags: Option<FontFormatFlags>,
+ }
+
+-pub fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo> {
++pub fn get_font_format_info(font_bytes: &[u8]) -> FontFormatInfo {
+ let file_ref = make_font_ref_internal(font_bytes, 0);
+
+ match file_ref {
+@@ -32,11 +32,11 @@ pub fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo> {
+ font.table_directory().table_records().iter().map(|e| e.tag()).collect();
+ let color_version = get_colr_version(&font);
+ let avar_version = get_avar_version(&font);
+- Box::new(FontFormatInfo {
++ FontFormatInfo {
+ format_flags: Some(FontFormatFlags { table_tags, color_version, avar_version }),
+- })
++ }
+ }
+- _ => Box::new(FontFormatInfo::default()),
++ _ => FontFormatInfo::default(),
+ }
+ }
+
+@@ -44,10 +44,10 @@ fn get_colr_version(font_ref: &FontRef) -> Option<u16> {
+ Some(font_ref.colr().ok()?.version())
+ }
+
+-fn is_colrv1(format_info: &FontFormatInfo) -> bool {
++pub fn is_colrv1(format_info: &FontFormatInfo) -> bool {
+ matches!(&format_info.format_flags, Some(FontFormatFlags { color_version: Some(1), .. }),)
+ }
+-fn is_colrv0(format_info: &FontFormatInfo) -> bool {
++pub fn is_colrv0(format_info: &FontFormatInfo) -> bool {
+ matches!(&format_info.format_flags, Some(FontFormatFlags { color_version: Some(0), .. }),)
+ }
+
+@@ -56,7 +56,7 @@ fn get_avar_version(font_ref: &FontRef) -> Option<(u16, u16)> {
+ Some((version.major, version.minor))
+ }
+
+-fn is_avar2(format_info: &FontFormatInfo) -> bool {
++pub fn is_avar2(format_info: &FontFormatInfo) -> bool {
+ matches!(&format_info.format_flags, Some(FontFormatFlags { avar_version: Some((2, _)), .. }),)
+ }
+
+@@ -69,39 +69,22 @@ fn has_tags(format_info: &FontFormatInfo, query: &[Tag]) -> bool {
+ }
+ }
+
+-fn is_variable(format_info: &FontFormatInfo) -> bool {
++pub fn is_variable(format_info: &FontFormatInfo) -> bool {
+ has_tags(format_info, &[Tag::new(b"fvar")])
+ }
+
+-fn is_sbix(format_info: &FontFormatInfo) -> bool {
++pub fn is_sbix(format_info: &FontFormatInfo) -> bool {
+ has_tags(format_info, &[Tag::new(b"sbix")])
+ }
+
+-fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
++pub fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool {
+ has_tags(format_info, &[Tag::new(b"CBDT"), Tag::new(b"CBLC")])
+ }
+
+-fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
++pub fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool {
+ has_tags(format_info, &[Tag::new(b"EBDT"), Tag::new(b"EBLC")])
+ }
+
+-fn is_cff2(format_info: &FontFormatInfo) -> bool {
++pub fn is_cff2(format_info: &FontFormatInfo) -> bool {
+ has_tags(format_info, &[Tag::new(b"CFF2")])
+ }
+-
+-#[cxx::bridge(namespace = "font_format_check")]
+-pub mod ffi {
+- extern "Rust" {
+- type FontFormatInfo;
+-
+- fn get_font_format_info(font_bytes: &[u8]) -> Box<FontFormatInfo>;
+- fn is_colrv1(format_info: &FontFormatInfo) -> bool;
+- fn is_colrv0(format_info: &FontFormatInfo) -> bool;
+- fn is_cbdt_cblc(format_info: &FontFormatInfo) -> bool;
+- fn is_ebdt_eblc(format_info: &FontFormatInfo) -> bool;
+- fn is_variable(format_info: &FontFormatInfo) -> bool;
+- fn is_sbix(format_info: &FontFormatInfo) -> bool;
+- fn is_cff2(format_info: &FontFormatInfo) -> bool;
+- fn is_avar2(format_info: &FontFormatInfo) -> bool;
+- }
+-}
diff --git a/chromium-154-rust-1.88-enable-unstable_features.patch b/chromium-154-rust-1.88-enable-unstable_features.patch
new file mode 100644
index 0000000..100b643
--- /dev/null
+++ b/chromium-154-rust-1.88-enable-unstable_features.patch
@@ -0,0 +1,117 @@
+error[E0658]: the target feature `avx512f` is currently unstable
+ --> ../../third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/x86_64/avx512.rs:123:26
+ |
+123 | #[target_feature(enable = "avx512f")]
+ | ^^^^^^^^^^^^^^^^^^
+ |
+ = note: see issue #44839 <https://github.com/rust-lang/rust/issues/44839> for more information
+ = help: add `#![feature(avx512_target_feature)]` to the crate attributes to enable
+ = note: this compiler was built on 2025-06-23; consider upgrading it if it is out of date
+
+Fix FTBFS on el9
+
+diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs
+--- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs 2026-02-15 20:10:02.848196172 +0100
+@@ -4,6 +4,8 @@
+ // license that can be found in the LICENSE file.
+
+ #![allow(clippy::too_many_arguments)]
++#![feature(avx512_target_feature)]
++#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
+
+ use std::{
+ fmt::Debug,
+diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs
+--- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs 2026-02-15 20:09:43.548731085 +0100
+@@ -3,6 +3,9 @@
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+
++#![feature(avx512_target_feature)]
++#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
++
+ mod idct2d;
+ mod reinterpreting_dct2d;
+ pub mod transform;
+diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs
+--- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs 2026-02-15 20:11:01.678559809 +0100
+@@ -3,6 +3,10 @@
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+
++#![feature(avx512_target_feature)]
++#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
++#![feature(non_null_from_ref)]
++
+ #![deny(unsafe_code)]
+ pub mod api;
+ pub mod bit_reader;
+diff -up 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn
+--- 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn 2026-02-15 20:15:51.823722639 +0100
+@@ -36,6 +36,10 @@ cargo_crate("lib") {
+
+ allow_unsafe = true
+
++ rustflags = [
++ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
++ ]
++
+ features = [
+ "all-simd",
+ "avx",
+@@ -69,6 +73,7 @@ cargo_crate("lib") {
+ # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
+ # `gnrt_config.toml`).
+ _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
++ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
+ _configs_to_add += [ "//build/config/compiler:optimize" ]
+
+ # Applying config changes.
+diff -up 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn
+--- 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn 2026-02-15 20:17:33.887730035 +0100
+@@ -45,6 +45,10 @@ cargo_crate("lib") {
+
+ allow_unsafe = true
+
++ rustflags = [
++ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
++ ]
++
+ deps = [ "//third_party/rust/jxl_simd/v0_6:lib" ]
+
+ # Only for usage from third-party crates. Add the crate to
+@@ -72,6 +76,7 @@ cargo_crate("lib") {
+ # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
+ # `gnrt_config.toml`).
+ _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
++ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
+ _configs_to_add += [ "//build/config/compiler:optimize" ]
+
+ # Applying config changes.
+diff -up 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn
+--- 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn.me 2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn 2026-02-15 20:16:47.026490882 +0100
+@@ -169,6 +169,10 @@ cargo_crate("lib") {
+
+ allow_unsafe = true
+
++ rustflags = [
++ "-Zallow-features=stdarch_x86_avx512,avx512_target_feature,non_null_from_ref",
++ ]
++
+ deps = [
+ "//third_party/rust/array_init/v2:lib",
+ "//third_party/rust/byteorder/v1:lib",
+@@ -201,6 +205,7 @@ cargo_crate("lib") {
+ # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
+ # `gnrt_config.toml`).
+ _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
++ _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
+ _configs_to_add += [ "//build/config/compiler:optimize" ]
+
+ # Applying config changes.
diff --git a/chromium.spec b/chromium.spec
index 3887344..eefa4de 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -275,7 +275,7 @@
%endif
Name: chromium
-Version: 153.0.8010.52
+Version: 154.0.8037.57
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -364,7 +364,7 @@ Patch141: chromium-118-dma_buf_export_sync_file-conflict.patch
# Fix FTBFS with rustc-1.88 on el9 and epel10.1
Patch142: chromium-149-rust-1.88-build-error.patch
-Patch143: chromium-153-rust-1.88-enable-unstable_features.patch
+Patch143: chromium-154-rust-1.88-enable-unstable_features.patch
Patch144: chromium-146-rust-1.88-undefined-symbol.patch
# add correct path for Qt6Gui header and libs
@@ -403,7 +403,7 @@ Patch311: chromium-123-fstack-protector-strong.patch
# ERROR at //build/rust/crubit/BUILD.gn:12:5:
# Unable to load third_party/rust-toolchain/lib/third_party/crubit/support/rs_std/BUILD.gn
# "$crubit_src_dir/support/rs_std:rs_std_cpp",
-Patch312: chromium-153-ftbfs-crubit.patch
+Patch312: chromium-154-ftbfs-crubit.patch
# old rust version causes build error on el8:
# error[E0599]: no method named `is_none_or` found for enum `Option` in the current scope
@@ -1941,6 +1941,117 @@ fi
%endif
%changelog
+* Wed Sep 23 2026 Than Ngo <than@redhat.com> - 154.0.8037.57-1
+- Update to 154.0.8037.57
+ * CVE-2026-95274: Improper output encoding in DevTools
+ * CVE-2026-95275: Incorrect reference resolution in MediaStream
+ * CVE-2026-95276: Improper input validation in Themes
+ * CVE-2026-95277: Use after free in Views
+ * CVE-2026-95278: Missing authorization in WakeLock
+ * CVE-2026-95279: UI misrepresentation in Omnibox
+ * CVE-2026-95280: Race condition in V8
+ * CVE-2026-95281: Buffer overflow in ANGLE
+ * CVE-2026-95282: Use after free in Platform
+ * CVE-2026-95283: Buffer overflow in Tint
+ * CVE-2026-95284: Buffer overflow in ANGLE
+ * CVE-2026-95285: Missing authorization in WebView
+ * CVE-2026-95286: Type confusion in Bindings
+ * CVE-2026-95287: Missing authorization in Navigation
+ * CVE-2026-95288: UI misrepresentation in Mobile
+ * CVE-2026-95289: Incorrect authorization in Scroll
+ * CVE-2026-95290: Missing authorization in NFC
+ * CVE-2026-95291: UI misrepresentation in SecurityIndicators
+ * CVE-2026-95292: Incorrect authorization in Safebrowsing
+ * CVE-2026-95293: Uninitialized resource in GPU
+ * CVE-2026-95294: UI misrepresentation in Browser
+ * CVE-2026-95295: Information leak in Mobile
+ * CVE-2026-95296: Missing authorization in Core
+ * CVE-2026-95297: Missing authorization in Contextual Tasks
+ * CVE-2026-95298: Use after free in Browser
+ * CVE-2026-95299: Use after free in GPU
+ * CVE-2026-95300: Missing authorization in DevTools
+ * CVE-2026-95301: Missing authorization in Extensions
+ * CVE-2026-95302: Incorrect authorization in WebAPKs
+ * CVE-2026-95303: Incomplete cleanup in SmartCard
+ * CVE-2026-95304: Out of bounds write in V8
+ * CVE-2026-95305: UI misrepresentation in Chromoting
+ * CVE-2026-95306: Type confusion in V8
+ * CVE-2026-95307: UI misrepresentation in ExtensionsMenu
+ * CVE-2026-95308: Integer overflow in Metrics
+ * CVE-2026-95309: UI misrepresentation in Mobile
+ * CVE-2026-95310: Use after free in AdFilter
+ * CVE-2026-95311: Free of non-heap memory in Fonts
+ * CVE-2026-95312: Information leak in Passwords
+ * CVE-2026-95313: Use after free in Fullscreen
+ * CVE-2026-95314: Incorrect authorization in HID
+ * CVE-2026-95315: Use after free in Aura
+ * CVE-2026-95316: Unchecked return value in Performance
+ * CVE-2026-95317: Incorrect authorization in MediaCapture
+ * CVE-2026-95318: Buffer overflow in Video
+ * CVE-2026-95319: Use after free in Printing
+ * CVE-2026-95320: Missing authorization in Navigation
+ * CVE-2026-95321: UI misrepresentation in Payments
+ * CVE-2026-95322: Out of bounds write in GPU
+ * CVE-2026-95323: UI misrepresentation in Chromium
+ * CVE-2026-95324: Uninitialized resource in GPU
+ * CVE-2026-95325: Use after free in ANGLE
+ * CVE-2026-95326: Incomplete cleanup in Bluetooth
+ * CVE-2026-95327: Information leak in Networking
+ * CVE-2026-95328: Confused deputy in Mobile
+ * CVE-2026-95329: Out of bounds write in WebGL
+ * CVE-2026-95330: Improper state validation in Downloads
+ * CVE-2026-95331: Out of bounds write in ANGLE
+ * CVE-2026-95332: Use of uninitialized variable in Tint
+ * CVE-2026-95333: Use after free in Metrics
+ * CVE-2026-95334: Incorrect reference resolution in WebProtect
+ * CVE-2026-95335: Use after free in HID
+ * CVE-2026-95336: Information leak in Transactions Platform
+ * CVE-2026-95337: UI misrepresentation in Messages
+ * CVE-2026-95338: Use after free in PDFium
+ * CVE-2026-95339: Use after free in ServiceWorker
+ * CVE-2026-95340: Incorrect authorization in PictureInPicture
+ * CVE-2026-95341: Improper input validation in Desktop
+ * CVE-2026-95342: Missing authorization in V8
+ * CVE-2026-95343: Use after free in WebAudio
+ * CVE-2026-95344: Race condition in DevTools
+ * CVE-2026-95345: Use after free in Actor
+ * CVE-2026-95346: UI misrepresentation in Chromoting
+ * CVE-2026-95347: Use after free in Updater
+ * CVE-2026-95348: Use after free in Bluetooth
+ * CVE-2026-95349: Buffer overflow in WebGL
+ * CVE-2026-95350: Buffer overflow in ANGLE
+ * CVE-2026-95351: Use after free in Views
+ * CVE-2026-95352: Incorrect authorization in DevTools
+ * CVE-2026-95353: Use after free in Bindings
+ * CVE-2026-95354: Use after free in Verifier
+ * CVE-2026-95355: Incorrect authorization in Navigation
+ * CVE-2026-95356: Use after free in WindowDialog
+ * CVE-2026-95357: Out of bounds write in GPU
+ * CVE-2026-95358: Incorrect authorization in Mobile
+ * CVE-2026-95359: Uninitialized resource in GPU
+ * CVE-2026-95360: Race condition in Editing
+ * CVE-2026-95361: Confused deputy in DevTools
+ * CVE-2026-95362: Cross-site request forgery in DevTools
+ * CVE-2026-95363: UI misrepresentation in FileSystem
+ * CVE-2026-95364: Improper input validation in Passwords
+ * CVE-2026-95365: Type confusion in IndexedDB
+ * CVE-2026-95366: Use of released resource in Core
+ * CVE-2026-95367: Information leak in DataTransfer
+ * CVE-2026-95368: Incorrect authorization in DevTools
+ * CVE-2026-95369: Inappropriate implementation in XML
+ * CVE-2026-95370: Inappropriate implementation in NFC
+ * CVE-2026-95371: Missing authorization in Views
+ * CVE-2026-95372: Use after free in Chromecast
+ * CVE-2026-95373: Use after free in DevTools
+ * CVE-2026-95374: Incorrect authorization in Network
+ * CVE-2026-95375: Incorrect authorization in BrowserTag
+ * CVE-2026-95376: Externally controlled reference in DevTools
+ * CVE-2026-95380: Type confusion in V8
+ * CVE-2026-95381: Improper input validation in Printing
+ * CVE-2026-95382: Improper input validation in Auth
+ * CVE-2026-95384: Race condition in Transactions Platform
+ * CVE-2026-95385: Inappropriate implementation in PlatformIntegration
+
* Fri Sep 18 2026 Than Ngo <than@redhat.com> - 153.0.8010.52-1
- Update to 153.0.8010.52
* CVE-2026-91708: Race condition in Network
diff --git a/disable-ai.patch b/disable-ai.patch
index 152c913..75d67ac 100644
--- a/disable-ai.patch
+++ b/disable-ai.patch
@@ -3,19 +3,17 @@
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
-@@ -2806,9 +2806,6 @@ source_set("browser") {
+@@ -2570,7 +2570,6 @@ source_set("browser") {
"//chrome/browser/profile_resetter:impl",
"//chrome/browser/record_replay",
"//chrome/browser/record_replay:impl",
-- "//chrome/browser/screen_ai:screen_ai_install_state",
- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
-- "//chrome/browser/screen_ai/public:optical_character_recognizer",
"//chrome/browser/sharing_hub",
"//chrome/browser/sharing_hub:impl",
"//chrome/browser/smart_card",
-@@ -2868,7 +2865,6 @@ source_set("browser") {
+@@ -2619,7 +2618,6 @@ source_set("browser") {
+ "//chrome/browser/ui/waap:window_metrics_manager",
"//chrome/browser/ui/web_applications:impl",
- "//chrome/browser/ui/webui:webui_util",
"//chrome/browser/ui/webui/app_service_internals",
- "//chrome/browser/ui/webui/autofill_ml_internals",
"//chrome/browser/ui/webui/color_pipeline_internals",
@@ -85,7 +83,7 @@
}
--- a/chrome/browser/actor/actor_keyed_service.cc
+++ b/chrome/browser/actor/actor_keyed_service.cc
-@@ -770,13 +770,6 @@ bool ActorKeyedService::IsActiveOnTab(co
+@@ -842,13 +842,6 @@ bool ActorKeyedService::IsActiveOnTab(co
ActorTask* ActorKeyedService::GetTaskFromTab(
const tabs::TabInterface& tab) const {
@@ -99,9 +97,28 @@
return nullptr;
}
+--- a/chrome/browser/browser_process.h
++++ b/chrome/browser/browser_process.h
+@@ -333,8 +333,6 @@ class BrowserProcess {
+ virtual void set_usb_system_tray_icon_for_test(
+ std::unique_ptr<UsbSystemTrayIcon> icon) = 0;
+
+- virtual speech::SpeechRecognitionSmallExpertModelInstaller*
+- speech_recognition_small_expert_model_installer() = 0;
+ #endif
+
+ // Obtain the browser instance of OSCryptAsync, which should be used for data
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
-@@ -259,12 +259,10 @@ void OnLocalStatePrefsLoaded();
+@@ -84,7 +84,6 @@
+ #include "chrome/browser/serial/serial_policy_allowed_ports.h"
+ #include "chrome/browser/shell_integration.h"
+ #include "chrome/browser/site_isolation/prefs_observer.h"
+-#include "chrome/browser/speech/speech_recognition_small_expert_model_installer.h"
+ #include "chrome/browser/ssl/secure_origin_prefs_observer.h"
+ #include "chrome/browser/startup_data.h"
+ #include "chrome/browser/status_icons/status_tray.h"
+@@ -260,12 +259,10 @@ void OnLocalStatePrefsLoaded();
#if BUILDFLAG(IS_CHROMEOS)
#include "chrome/browser/chromeos/extensions/telemetry/chromeos_telemetry_extensions_browser_api_provider.h"
#include "chrome/browser/hid/hid_pinned_notification.h"
@@ -114,19 +131,44 @@
#include "chrome/browser/usb/usb_status_icon.h"
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h"
#endif
-@@ -1667,9 +1665,6 @@ void BrowserProcessImpl::PreMainMessageL
+@@ -1381,12 +1378,6 @@ GlobalFeatures* BrowserProcessImpl::GetF
+ return features_.get();
+ }
+
+-#if !BUILDFLAG(IS_ANDROID)
+-speech::SpeechRecognitionSmallExpertModelInstaller*
+-BrowserProcessImpl::speech_recognition_small_expert_model_installer() {
+- return speech_recognition_small_expert_model_installer_.get();
+-}
+-#endif
+
+ DownloadRequestLimiter* BrowserProcessImpl::download_request_limiter() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
+@@ -1728,11 +1719,6 @@ void BrowserProcessImpl::PreMainMessageL
soda_installer_impl_ = std::make_unique<speech::SodaInstallerImplChromeOS>();
#endif // BUILDFLAG(IS_CHROMEOS)
-#if !BUILDFLAG(IS_ANDROID)
- screen_ai_download_ = screen_ai::ScreenAIInstallState::Create();
+- speech_recognition_small_expert_model_installer_ =
+- std::make_unique<speech::SpeechRecognitionSmallExpertModelInstaller>();
-#endif
base::FilePath user_data_dir;
bool result = base::PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
-@@ -95,9 +95,6 @@ namespace speech {
+@@ -57,9 +57,6 @@ class SiteIsolationPrefsObserver;
+ class SystemNotificationHelper;
+ class StartupData;
+
+-namespace speech {
+-class SpeechRecognitionSmallExpertModelInstaller;
+-} // namespace speech
+
+ namespace breadcrumbs {
+ class ApplicationBreadcrumbsLogger;
+@@ -99,9 +96,6 @@ namespace speech {
class SodaInstaller;
} // namespace speech
@@ -136,13 +178,25 @@
namespace supervised_user {
class DeviceParentalControls;
-@@ -460,9 +457,6 @@ class BrowserProcessImpl : public Browse
+@@ -247,8 +241,6 @@ class BrowserProcessImpl : public Browse
+ UsbSystemTrayIcon* usb_system_tray_icon() override;
+ void set_usb_system_tray_icon_for_test(
+ std::unique_ptr<UsbSystemTrayIcon> icon) override;
+- speech::SpeechRecognitionSmallExpertModelInstaller*
+- speech_recognition_small_expert_model_installer() override;
+ #endif
+
+ os_crypt_async::OSCryptAsync* os_crypt_async() override;
+@@ -468,12 +460,6 @@ class BrowserProcessImpl : public Browse
// to ensure that SodaInstallerImpl gets destructed first.
std::unique_ptr<speech::SodaInstaller> soda_installer_impl_;
- // Used to download Screen AI on demand and keep track of the library
- // availability.
- std::unique_ptr<screen_ai::ScreenAIInstallState> screen_ai_download_;
+-
+- std::unique_ptr<speech::SpeechRecognitionSmallExpertModelInstaller>
+- speech_recognition_small_expert_model_installer_;
#endif
std::unique_ptr<BrowserProcessPlatformPart> platform_part_;
@@ -157,7 +211,7 @@
#include "chrome/browser/web_applications/sub_apps/sub_apps_service_impl.h"
#endif
-@@ -390,27 +388,6 @@ void BindMediaFoundationPreferences(
+@@ -392,27 +390,6 @@ void BindMediaFoundationPreferences(
}
#endif // BUILDFLAG(IS_WIN)
@@ -185,7 +239,7 @@
void BindModelBroker(
content::RenderFrameHost* frame_host,
-@@ -583,10 +560,6 @@ void PopulateChromeFrameBinders(
+@@ -586,10 +563,6 @@ void PopulateChromeFrameBinders(
&web_app::SubAppsServiceImpl::CreateIfAllowed);
}
@@ -198,7 +252,7 @@
#if BUILDFLAG(IS_WIN)
--- a/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc
+++ b/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc
-@@ -518,9 +518,6 @@ void PopulateChromeWebUIFrameBindersPart
+@@ -523,9 +523,6 @@ void PopulateChromeWebUIFrameBindersPart
::mojom::app_service_internals::AppServiceInternalsPageHandler,
AppServiceInternalsUI>(map);
@@ -208,6 +262,18 @@
RegisterWebUIControllerInterfaceBinder<
access_code_cast::mojom::PageHandlerFactory,
+--- a/chrome/browser/chrome_content_browser_client.cc
++++ b/chrome/browser/chrome_content_browser_client.cc
+@@ -5532,9 +5532,6 @@ ChromeContentBrowserClient::CreateCommit
+ &conditions);
+ #endif
+
+- MaybeAddCondition(actor::ActorCommitDeferringCondition::MaybeCreate(
+- *navigation_handle, navigation_type),
+- &conditions);
+
+ return conditions;
+ }
--- a/chrome/browser/component_updater/BUILD.gn
+++ b/chrome/browser/component_updater/BUILD.gn
@@ -214,13 +214,6 @@ source_set("impl") {
@@ -247,7 +313,7 @@
--- a/chrome/browser/glic/glic_selection_observer.cc
+++ b/chrome/browser/glic/glic_selection_observer.cc
-@@ -1095,20 +1095,6 @@ void GlicSelectionObserver::OnAskGeminiW
+@@ -1092,20 +1092,6 @@ void GlicSelectionObserver::OnAskGeminiW
}
std::string skill_prompt;
@@ -268,7 +334,7 @@
if (skill_prompt.empty()) {
Profile* profile =
-@@ -1131,28 +1117,6 @@ void GlicSelectionObserver::OnAskGeminiW
+@@ -1127,28 +1113,6 @@ void GlicSelectionObserver::OnAskGeminiW
std::vector<GlicSelectionWidgetDelegate::SkillOption>
GlicSelectionObserver::GetContextualSkills() {
std::vector<GlicSelectionWidgetDelegate::SkillOption> result;
@@ -299,7 +365,7 @@
--- a/chrome/browser/glic/host/glic_skills_manager_impl.cc
+++ b/chrome/browser/glic/host/glic_skills_manager_impl.cc
-@@ -487,39 +487,6 @@ bool GlicSkillsClientSession::Require1PS
+@@ -497,39 +497,6 @@ bool GlicSkillsClientSession::Require1PS
void GlicSkillsClientSession::UpdateSkillPreviews(
std::optional<tabs::TabInterface*> updated_tab) {
@@ -444,14 +510,15 @@
void NavigationPredictor::SetModelScoreCallbackForTesting(
--- a/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc
+++ b/chrome/browser/page_content_annotations/page_content_annotations_service_factory.cc
-@@ -118,62 +118,6 @@ PageContentAnnotationsServiceFactory::~P
+@@ -120,63 +120,6 @@ PageContentAnnotationsServiceFactory::~P
std::unique_ptr<KeyedService>
PageContentAnnotationsServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const {
- Profile* profile = Profile::FromBrowserContext(context);
-
-- if (!ShouldEnablePageContentAnnotations(profile))
+- if (!ShouldEnablePageContentAnnotations(profile)) {
- return nullptr;
+- }
-
- auto* proto_db_provider = profile->GetOriginalProfile()
- ->GetDefaultStoragePartition()
@@ -549,7 +616,7 @@
"prediction_service/prediction_service_request.cc",
--- a/chrome/browser/permissions/chrome_permissions_client.cc
+++ b/chrome/browser/permissions/chrome_permissions_client.cc
-@@ -31,7 +31,6 @@
+@@ -32,7 +32,6 @@
#include "chrome/browser/permissions/permission_actions_history_factory.h"
#include "chrome/browser/permissions/permission_decision_auto_blocker_factory.h"
#include "chrome/browser/permissions/permission_revocation_request.h"
@@ -557,7 +624,7 @@
#include "chrome/browser/permissions/pref_based_quiet_permission_ui_selector.h"
#include "chrome/browser/permissions/quiet_notification_permission_ui_config.h"
#include "chrome/browser/permissions/system/system_permission_settings.h"
-@@ -545,8 +544,6 @@ ChromePermissionsClient::CreatePermissio
+@@ -551,8 +550,6 @@ ChromePermissionsClient::CreatePermissio
#endif
selectors.emplace_back(std::make_unique<PrefBasedQuietPermissionUiSelector>(
Profile::FromBrowserContext(browser_context)));
@@ -566,7 +633,7 @@
return selectors;
}
-@@ -568,8 +565,6 @@ void ChromePermissionsClient::OnPromptRe
+@@ -574,8 +571,6 @@ void ChromePermissionsClient::OnPromptRe
Profile* profile =
Profile::FromBrowserContext(web_contents->GetBrowserContext());
@@ -609,7 +676,7 @@
model_data.request_metadata.request_type;
--- a/chrome/browser/prefs/BUILD.gn
+++ b/chrome/browser/prefs/BUILD.gn
-@@ -388,7 +388,6 @@ source_set("impl") {
+@@ -387,7 +387,6 @@ source_set("impl") {
"//chrome/browser/desktop_to_mobile_promos:utils",
"//chrome/browser/device_identity",
"//chrome/browser/new_tab_page",
@@ -619,7 +686,7 @@
"//chrome/browser/sharing_hub",
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
-@@ -1687,9 +1687,6 @@ void RegisterLocalState(PrefRegistrySimp
+@@ -1727,9 +1727,6 @@ void RegisterLocalState(PrefRegistrySimp
DeviceOAuth2TokenStoreDesktop::RegisterPrefs(registry);
#endif
@@ -631,15 +698,15 @@
PlatformAuthPolicyObserver::RegisterPrefs(registry);
--- a/chrome/browser/profiles/BUILD.gn
+++ b/chrome/browser/profiles/BUILD.gn
-@@ -908,7 +908,6 @@ source_set("profiles_extra_parts_impl")
+@@ -911,7 +911,6 @@ source_set("profiles_extra_parts_impl")
} else {
deps += [
"//chrome/browser/accessibility/phrase_segmentation",
- "//chrome/browser/accessibility/tree_fixing:service",
- "//chrome/browser/accessibility_annotator/content_annotator",
"//chrome/browser/apps/app_service",
"//chrome/browser/autofill",
-@@ -924,7 +923,6 @@ source_set("profiles_extra_parts_impl")
+ "//chrome/browser/badging",
+@@ -926,7 +925,6 @@ source_set("profiles_extra_parts_impl")
"//chrome/browser/profile_resetter",
"//chrome/browser/record_replay",
"//chrome/browser/record_replay:impl",
@@ -649,7 +716,7 @@
"//chrome/browser/sharing_hub",
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
-@@ -135,7 +135,6 @@
+@@ -136,7 +136,6 @@
#include "chrome/browser/metrics/profile_metrics_service_factory.h"
#include "chrome/browser/metrics/variations/google_groups_manager_factory.h"
#include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h"
@@ -657,7 +724,7 @@
#include "chrome/browser/navigation_predictor/search_engine_preconnector.h"
#include "chrome/browser/navigation_predictor/search_engine_preconnector_keyed_service_factory.h"
#include "chrome/browser/net/dns_probe_service_factory.h"
-@@ -396,7 +395,6 @@
+@@ -397,7 +396,6 @@
#include "chrome/browser/record_replay/task_parameters_extractor_factory.h"
#include "chrome/browser/record_replay/task_service_factory.h"
#include "chrome/browser/record_replay/task_store_factory.h"
@@ -665,7 +732,7 @@
#include "chrome/browser/search/instant_service_factory.h"
#include "chrome/browser/search_engine_choice/search_engine_choice_dialog_service_factory.h"
#include "chrome/browser/speech/speech_recognition_client_browser_interface_factory.h"
-@@ -1204,7 +1202,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1195,7 +1193,6 @@ void ChromeBrowserMainExtraPartsProfiles
#if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI)
net::ServerCertificateDatabaseServiceFactory::GetInstance();
#endif
@@ -673,7 +740,7 @@
#if BUILDFLAG(ENABLE_DICE_SUPPORT)
HistorySyncOptinServiceFactory::GetInstance();
ProfileManagementDisclaimerServiceFactory::GetInstance();
-@@ -1267,9 +1264,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1258,9 +1255,6 @@ void ChromeBrowserMainExtraPartsProfiles
// TODO(b/502297163): Implement for Android.
OneTimePermissionsTrackerFactory::GetInstance();
#endif
@@ -683,7 +750,7 @@
OptimizationGuideGlobalStateHolderKeyedServiceFactory::GetInstance();
OptimizationGuideKeyedServiceFactory::GetInstance();
OriginKeyedPermissionActionServiceFactory::GetInstance();
-@@ -1361,7 +1355,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1359,7 +1353,6 @@ void ChromeBrowserMainExtraPartsProfiles
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
policy::UserPolicyOidcSigninServiceFactory::GetInstance();
#endif
@@ -691,7 +758,7 @@
PredictionServiceFactory::GetInstance();
predictors::AutocompleteActionPredictorFactory::GetInstance();
predictors::LoadingPredictorFactory::GetInstance();
-@@ -1448,10 +1441,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1443,10 +1436,6 @@ void ChromeBrowserMainExtraPartsProfiles
SafetyHubMenuNotificationServiceFactory::GetInstance();
#if !BUILDFLAG(IS_ANDROID)
SafetyHubHatsServiceFactory::GetInstance();
@@ -702,17 +769,17 @@
#endif
#if BUILDFLAG(IS_CHROMEOS)
if (ash::features::IsScannerEnabled()) {
-@@ -1575,7 +1564,6 @@ void ChromeBrowserMainExtraPartsProfiles
+@@ -1570,7 +1559,6 @@ void ChromeBrowserMainExtraPartsProfiles
TopSitesFactory::GetInstance();
translate::TranslateRankerFactory::GetInstance();
#if !BUILDFLAG(IS_ANDROID)
- tree_fixing::AXTreeFixingServicesRouterFactory::GetInstance();
TriggeredProfileResetterFactory::GetInstance();
#endif
- #if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID)
+ ttc::TtcKeyedServiceFactory::GetInstance();
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
-@@ -220,11 +220,6 @@ void OffTheRecordProfileImpl::Init() {
+@@ -226,11 +226,6 @@ void OffTheRecordProfileImpl::Init() {
// AccessibilityLabelsService has a default prefs behavior in incognito.
AccessibilityLabelsService::InitOffTheRecordPrefs(this);
@@ -726,7 +793,7 @@
// System Profile.
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
-@@ -921,11 +921,6 @@ void ProfileImpl::DoFinalInit(CreateMode
+@@ -924,11 +924,6 @@ void ProfileImpl::DoFinalInit(CreateMode
// The password settings service needs to start listening to settings
// changes from Google Mobile Services, as early as possible.
PasswordManagerSettingsServiceFactory::GetForProfile(this);
@@ -748,7 +815,7 @@
#include "chrome/browser/prefs/incognito_mode_prefs.h"
#include "chrome/browser/profiles/delete_profile_helper.h"
#include "chrome/browser/profiles/keep_alive/profile_keep_alive_types.h"
-@@ -1618,9 +1617,6 @@ void ProfileManager::DoFinalInitForServi
+@@ -1614,9 +1613,6 @@ void ProfileManager::DoFinalInitForServi
// Ensure NavigationPredictorKeyedService is started.
NavigationPredictorKeyedServiceFactory::GetForProfile(profile);
@@ -787,24 +854,158 @@
"skills_ui_window_controller.cc",
]
}
+--- a/chrome/browser/speech/chrome_speech_recognition_service.cc
++++ b/chrome/browser/speech/chrome_speech_recognition_service.cc
+@@ -59,18 +59,6 @@ ChromeSpeechRecognitionService::ChromeSp
+ soda_installer_observer_.Observe(soda_installer);
+ }
+
+- if (base::FeatureList::IsEnabled(
+- media::kLiveCaptionSpeechRecognitionSmallExpertModel)) {
+- auto* model_installer =
+- g_browser_process
+- ? g_browser_process
+- ->speech_recognition_small_expert_model_installer()
+- : nullptr;
+- if (model_installer) {
+- speech_recognition_small_expert_model_installer_observer_.Observe(
+- model_installer);
+- }
+- }
+ }
+
+ ChromeSpeechRecognitionService::~ChromeSpeechRecognitionService() = default;
+@@ -98,42 +86,6 @@ void ChromeSpeechRecognitionService::Bin
+ options->language = language_name;
+ }
+
+- if (base::FeatureList::IsEnabled(
+- media::kLiveCaptionSpeechRecognitionSmallExpertModel) &&
+- options &&
+- options->recognizer_client_type ==
+- media::mojom::RecognizerClientType::kLiveCaption &&
+- !options->is_server_based) {
+- auto* installer =
+- g_browser_process
+- ? g_browser_process
+- ->speech_recognition_small_expert_model_installer()
+- : nullptr;
+- if (installer &&
+- installer->IsSpeechRecognitionSmallExpertModelInstalled()) {
+- Profile* profile = Profile::FromBrowserContext(context_);
+- if (profile && !model_broker_client_) {
+- auto* opt_guide_service =
+- OptimizationGuideKeyedServiceFactory::GetForProfile(profile);
+- if (opt_guide_service) {
+- model_broker_client_ = opt_guide_service->CreateModelBrokerClient();
+- }
+- }
+- if (model_broker_client_) {
+- auto feature = optimization_guide::mojom::OnDeviceFeature::
+- kSpeechRecognitionSmallExpertModel;
+- model_broker_client_->RequestAssetsFor(feature);
+- model_broker_client_->GetSubscriber(feature).WaitForClient(
+- base::BindOnce(
+- &ChromeSpeechRecognitionService::OnModelClientAvailable,
+- weak_factory_.GetWeakPtr(), std::move(receiver),
+- std::move(client), std::move(options),
+- mojo::WrapCallbackWithDefaultInvokeIfNotRun(std::move(callback),
+- false)));
+- return;
+- }
+- }
+- }
+
+ BindSodaRecognizer(std::move(receiver), std::move(client), std::move(options),
+ std::move(callback));
+--- a/chrome/browser/speech/speech_recognition_client_browser_interface.cc
++++ b/chrome/browser/speech/speech_recognition_client_browser_interface.cc
+@@ -67,15 +67,6 @@ SpeechRecognitionClientBrowserInterface:
+ if (speech::SodaInstaller::GetInstance()) {
+ soda_installer_observation_.Observe(speech::SodaInstaller::GetInstance());
+ }
+-#if !BUILDFLAG(IS_CHROMEOS)
+- if (base::FeatureList::IsEnabled(
+- media::kLiveCaptionSpeechRecognitionSmallExpertModel) &&
+- g_browser_process &&
+- g_browser_process->speech_recognition_small_expert_model_installer()) {
+- speech_recognition_small_expert_model_installer_observation_.Observe(
+- g_browser_process->speech_recognition_small_expert_model_installer());
+- }
+-#endif
+ MaybeTriggerModelInstall();
+ }
+
+@@ -162,24 +153,6 @@ void SpeechRecognitionClientBrowserInter
+ #if !BUILDFLAG(IS_CHROMEOS)
+ if (base::FeatureList::IsEnabled(
+ media::kLiveCaptionSpeechRecognitionSmallExpertModel)) {
+- auto* installer =
+- g_browser_process
+- ? g_browser_process
+- ->speech_recognition_small_expert_model_installer()
+- : nullptr;
+- if (installer &&
+- !installer->IsSpeechRecognitionSmallExpertModelInstalled() &&
+- !installer->IsSpeechRecognitionSmallExpertModelDownloading() &&
+- installer->GetSpeechRecognitionSmallExpertModelState() !=
+- SpeechRecognitionSmallExpertModelInstaller::
+- SpeechRecognitionSmallExpertModelState::kError &&
+- installer->GetSpeechRecognitionSmallExpertModelState() !=
+- SpeechRecognitionSmallExpertModelInstaller::
+- SpeechRecognitionSmallExpertModelState::
+- kErrorCorruptPersistent) {
+- Profile* profile = Profile::FromBrowserContext(context_);
+- installer->InstallSpeechRecognitionSmallExpertModel(profile);
+- }
+ return;
+ }
+ #endif
+@@ -207,10 +180,7 @@ void SpeechRecognitionClientBrowserInter
+ #if !BUILDFLAG(IS_CHROMEOS)
+ if (base::FeatureList::IsEnabled(
+ media::kLiveCaptionSpeechRecognitionSmallExpertModel)) {
+- if (!g_browser_process ||
+- !g_browser_process->speech_recognition_small_expert_model_installer()) {
+ return;
+- }
+ } else if (!speech::SodaInstaller::GetInstance()) {
+ return;
+ }
+@@ -232,15 +202,6 @@ void SpeechRecognitionClientBrowserInter
+ #if !BUILDFLAG(IS_CHROMEOS)
+ if (base::FeatureList::IsEnabled(
+ media::kLiveCaptionSpeechRecognitionSmallExpertModel)) {
+- auto* installer =
+- g_browser_process
+- ? g_browser_process
+- ->speech_recognition_small_expert_model_installer()
+- : nullptr;
+- if (installer &&
+- installer->IsSpeechRecognitionSmallExpertModelInstalled()) {
+- is_installed = true;
+- }
+ } else {
+ if (speech::SodaInstaller::GetInstance()) {
+ is_installed = speech::SodaInstaller::GetInstance()->IsSodaInstalled(
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
-@@ -1449,7 +1449,6 @@ static_library("ui") {
- "//chrome/browser/regional_capabilities",
+@@ -1475,7 +1475,6 @@ static_library("ui") {
+ "//chrome/browser/lens/region_search",
+ "//chrome/browser/reading_list",
"//chrome/browser/safe_browsing",
- "//chrome/browser/safe_browsing:advanced_protection",
- "//chrome/browser/screen_ai:screen_ai_service_router_factory",
"//chrome/browser/smart_card",
"//chrome/browser/support_tool",
"//chrome/browser/tab_group_sync:utils",
-@@ -3093,7 +3092,6 @@ static_library("ui") {
+@@ -2909,7 +2908,6 @@ static_library("ui") {
"//chrome/browser/ui/views/zoom",
"//chrome/browser/ui/webauthn:impl",
"//chrome/browser/ui/webui/app_service_internals",
- "//chrome/browser/ui/webui/autofill_ml_internals",
- "//chrome/browser/ui/webui/content_annotator_internals",
"//chrome/browser/ui/webui/side_panel/customize_chrome",
"//chrome/browser/ui/window_metadata",
+ "//chrome/browser/ui/window_name_prompt",
--- a/chrome/browser/ui/pdf/BUILD.gn
+++ b/chrome/browser/ui/pdf/BUILD.gn
@@ -6,7 +6,6 @@ import("//pdf/features.gni")
@@ -860,9 +1061,9 @@
const std::u16string& text);
--- a/chrome/browser/ui/tabs/public/tab_features.h
+++ b/chrome/browser/ui/tabs/public/tab_features.h
-@@ -157,12 +157,6 @@ namespace permissions {
- class PermissionIndicatorsTabData;
- } // namespace permissions
+@@ -165,12 +165,6 @@ namespace webapps {
+ class AppBannerManagerDesktop;
+ } // namespace webapps
-#if !BUILDFLAG(IS_ANDROID)
-namespace skills {
@@ -873,7 +1074,7 @@
namespace sync_sessions {
class SyncSessionsRouterTabHelper;
} // namespace sync_sessions
-@@ -654,10 +648,6 @@ class TabFeatures {
+@@ -679,10 +673,6 @@ class TabFeatures {
std::unique_ptr<contextual_tasks::ContextualTasksTabVisitTracker>
contextual_tasks_tab_visit_tracker_;
@@ -886,7 +1087,7 @@
std::unique_ptr<enterprise_reporting::SaasUsageNavigationObserver>
--- a/chrome/browser/ui/tabs/tab_features.cc
+++ b/chrome/browser/ui/tabs/tab_features.cc
-@@ -400,11 +400,6 @@ void TabFeatures::Init(TabInterface& tab
+@@ -428,11 +428,6 @@ void TabFeatures::Init(TabInterface& tab
GetUserDataFactory().CreateInstance<actor::ui::ActorUiTabController>(
tab, tab, actor::ActorKeyedService::Get(profile));
}
@@ -895,10 +1096,10 @@
- GetUserDataFactory().CreateInstance<skills::SkillsUiTabController>(
- tab, tab);
- }
+ } // IsInNormalWindow() end.
- if (accessibility_annotator::
- ContentAnnotatorService* content_annotator_service =
-@@ -664,10 +659,6 @@ void TabFeatures::Init(TabInterface& tab
+ if (base::FeatureList::IsEnabled(features::kGlicActor)) {
+@@ -700,10 +695,6 @@ void TabFeatures::Init(TabInterface& tab
}
#endif
@@ -911,7 +1112,7 @@
std::make_unique<indigo::IndigoPageActionController>(
--- a/chrome/browser/ui/views/user_education/browser_user_education_service.cc
+++ b/chrome/browser/ui/views/user_education/browser_user_education_service.cc
-@@ -1008,40 +1008,6 @@ void MaybeRegisterChromeFeaturePromos(
+@@ -1109,40 +1109,6 @@ void MaybeRegisterChromeFeaturePromos(
"Triggered when the PDF Viewer opens.")));
#endif // BUILDFLAG(ENABLE_PDF_INK2)
@@ -954,17 +1155,17 @@
registry.RegisterFeature(std::move(
--- a/chrome/browser/ui/webui/BUILD.gn
+++ b/chrome/browser/ui/webui/BUILD.gn
-@@ -125,7 +125,6 @@ source_set("configs") {
- "//chrome/browser/glic/selection",
+@@ -113,7 +113,6 @@ source_set("configs") {
+ "//chrome/browser/actor/ui:actor_overlay_web_view",
"//chrome/browser/ui/webui/access_code_cast",
"//chrome/browser/ui/webui/app_service_internals",
- "//chrome/browser/ui/webui/autofill_ml_internals",
"//chrome/browser/ui/webui/color_pipeline_internals",
- "//chrome/browser/ui/webui/content_annotator_internals",
- "//chrome/browser/ui/webui/data_sharing",
+ "//chrome/browser/ui/webui/history",
+ "//chrome/browser/ui/webui/infobar_internals",
--- a/chrome/browser/ui/webui/chrome_web_ui_configs.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_configs.cc
-@@ -343,7 +343,6 @@ void RegisterChromeWebUIConfigs() {
+@@ -338,7 +338,6 @@ void RegisterChromeWebUIConfigs() {
map.AddWebUIConfig(std::make_unique<media_router::AccessCodeCastUIConfig>());
map.AddWebUIConfig(std::make_unique<actor::ui::ActorOverlayUIConfig>());
map.AddWebUIConfig(std::make_unique<AppServiceInternalsUIConfig>());
@@ -974,7 +1175,7 @@
map.AddWebUIConfig(std::make_unique<ColorPipelineInternalsUIConfig>());
--- a/chrome/browser/ui/webui/settings/BUILD.gn
+++ b/chrome/browser/ui/webui/settings/BUILD.gn
-@@ -60,7 +60,6 @@ source_set("settings") {
+@@ -62,7 +62,6 @@ source_set("settings") {
"//chrome/browser/permissions/system",
"//chrome/browser/profile_resetter",
"//chrome/browser/profiles:profile",
@@ -982,7 +1183,7 @@
"//chrome/browser/themes",
"//chrome/browser/ui/safety_hub",
"//chrome/browser/ui/search_engines",
-@@ -661,7 +660,6 @@ if (!is_android) {
+@@ -669,7 +668,6 @@ if (!is_android) {
]
deps += [
"//chrome/browser/profiles",
@@ -1110,7 +1311,7 @@
#include "chrome/browser/speech/extension_api/tts_engine_extension_api.h"
#include "chrome/browser/translate/chrome_translate_client.h"
#include "chrome/browser/ui/read_anything/read_anything_controller.h"
-@@ -422,14 +420,6 @@ ReadAnythingUntrustedPageHandler::ReadAn
+@@ -404,14 +402,6 @@ ReadAnythingUntrustedPageHandler::ReadAn
prefs_lang = language::ExtractBaseLanguage(prefs_lang);
SetDefaultLanguageCode(prefs_lang);
@@ -1188,9 +1389,9 @@
guest_view::SlimWebViewBindings::MaybeInstall(*render_frame());
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
-@@ -2159,9 +2159,6 @@ if (!is_android) {
- "//chrome/browser/safe_browsing:advanced_protection",
+@@ -2160,9 +2160,6 @@ if (!is_android) {
"//chrome/browser/safe_browsing:blocking_page_platform_test_support",
+ "//chrome/browser/safe_browsing:browser_tests",
"//chrome/browser/safe_browsing:verdict_cache_manager_factory",
- "//chrome/browser/screen_ai:browser_tests",
- "//chrome/browser/screen_ai:screen_ai_install_state",
@@ -1198,7 +1399,7 @@
"//chrome/browser/search",
"//chrome/browser/search:browser_tests",
"//chrome/browser/search:test_support",
-@@ -2752,8 +2749,6 @@ if (!is_android) {
+@@ -2779,8 +2776,6 @@ if (!is_android) {
"//services/preferences/public/cpp",
"//services/preferences/public/cpp/tracked",
"//services/preferences/tracked:features",
@@ -1207,7 +1408,7 @@
"//services/service_manager/public/cpp",
"//services/strings",
"//services/test/echo/public/mojom",
-@@ -6630,7 +6625,6 @@ test("unit_tests") {
+@@ -6713,7 +6708,6 @@ test("unit_tests") {
# TODO(crbug.com/417513088): Maybe merge with the non-android `deps`
# declaration above?
deps += [
@@ -1215,7 +1416,7 @@
"//chrome:packed_resources",
"//chrome/browser/apps:icon_standardizer",
"//chrome/browser/apps/app_service",
-@@ -6672,7 +6666,6 @@ test("unit_tests") {
+@@ -6754,7 +6748,6 @@ test("unit_tests") {
"//chrome/browser/profile_resetter:fake_profile_resetter",
"//chrome/browser/profile_resetter:unit_tests",
"//chrome/browser/resources/new_tab_page_instant:resources_grit",
@@ -1265,7 +1466,7 @@
#if BUILDFLAG(ENABLE_MEDIA_REMOTING_REDIRECTION)
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
-@@ -647,7 +647,6 @@ test("components_unittests") {
+@@ -639,7 +639,6 @@ test("components_unittests") {
"//components/one_time_tokens/core/browser:unit_tests",
"//components/page_info:unit_tests",
"//components/password_manager/core/browser/actor_login:unit_tests",
diff --git a/fix-rust-linking.patch b/fix-rust-linking.patch
index d0eec02..333d7ca 100644
--- a/fix-rust-linking.patch
+++ b/fix-rust-linking.patch
@@ -1,8 +1,8 @@
-Index: chromium-150.0.7871.46/build/toolchain/gcc_toolchain.gni
+Index: chromium-154.0.8037.44/build/toolchain/gcc_toolchain.gni
===================================================================
---- chromium-150.0.7871.46.orig/build/toolchain/gcc_toolchain.gni
-+++ chromium-150.0.7871.46/build/toolchain/gcc_toolchain.gni
-@@ -457,13 +457,25 @@ template("single_gcc_toolchain") {
+--- chromium-154.0.8037.44.orig/build/toolchain/gcc_toolchain.gni
++++ chromium-154.0.8037.44/build/toolchain/gcc_toolchain.gni
+@@ -462,13 +462,25 @@ template("single_gcc_toolchain") {
} else {
main_so_file = sofile_with_symbols
}
@@ -30,31 +30,31 @@ Index: chromium-150.0.7871.46/build/toolchain/gcc_toolchain.gni
# Generate a map file to be used for binary size analysis.
# Map file adds ~10% to the link time on a z620.
-@@ -575,13 +587,25 @@ template("single_gcc_toolchain") {
+@@ -580,13 +592,25 @@ template("single_gcc_toolchain") {
} else {
main_so_file = sofile_with_symbols
}
-- command = "$ld -shared $soname_flag {{ldflags}}${extra_ldflags} -o \"$main_so_file\" "
+- link_command = "$ld -shared $soname_flag {{ldflags}}${extra_ldflags} -o \"$main_so_file\" "
+ if (target_cpu == "ppc64") {
+ # Work around linker failures due to Rust libraries and the use of whole-archive
-+ command = "$ld -shared -Wl,--start-group $soname_flag {{ldflags}}${extra_ldflags} -o \"$main_so_file\" "
++ link_command = "$ld -shared -Wl,--start-group $soname_flag {{ldflags}}${extra_ldflags} -o \"$main_so_file\" "
+ }
+ else {
-+ command = "$ld -shared $soname_flag {{ldflags}}${extra_ldflags} -o \"$main_so_file\" "
++ link_command = "$ld -shared $soname_flag {{ldflags}}${extra_ldflags} -o \"$main_so_file\" "
+ }
if (use_mold_separate_debug_file) {
# TODO(40208899): See if it adding --detach for local builds helps.
- command += "\"-Wl,--separate-debug-file=$sofile_with_symbols\" -Wl,--no-detach "
+ link_command += "\"-Wl,--separate-debug-file=$sofile_with_symbols\" -Wl,--no-detach "
}
-- command += "@\"$rspfile\" {{rlibs}}"
+- link_command += "@\"$rspfile\" {{rlibs}}"
+ if (target_cpu == "ppc64") {
+ # Work around linker failures due to Rust libraries and the use of whole-archive
-+ command += "@\"$rspfile\" -Wl,--end-group {{rlibs}}"
++ link_command += "@\"$rspfile\" -Wl,--end-group {{rlibs}}"
+ }
+ else {
-+ command += "@\"$rspfile\" {{rlibs}}"
++ link_command += "@\"$rspfile\" {{rlibs}}"
+ }
- if (defined(invoker.strip) && !use_mold_separate_debug_file) {
- strip_command =
+ # Generate a map file to be used for binary size analysis.
+ # Map file adds ~10% to the link time on a z620.
diff --git a/fix-rustc.patch b/fix-rustc.patch
index d5b7a2c..379ace0 100644
--- a/fix-rustc.patch
+++ b/fix-rustc.patch
@@ -1,10 +1,10 @@
author: Andres Salomon <dilinger@debian.org>
description: allow ppc64le to build by using proper rustc target
-Index: chromium-144.0.7559.59/build/config/rust.gni
+Index: chromium-149.0.7827.53/build/config/rust.gni
===================================================================
---- chromium-144.0.7559.59.orig/build/config/rust.gni
-+++ chromium-144.0.7559.59/build/config/rust.gni
-@@ -186,6 +186,9 @@ rust_abi_target = ""
+--- chromium-149.0.7827.53.orig/build/config/rust.gni
++++ chromium-149.0.7827.53/build/config/rust.gni
+@@ -214,6 +214,9 @@ rust_abi_target = ""
if (is_linux || is_chromeos) {
if (current_cpu == "arm64") {
rust_abi_target = "aarch64-unknown-linux-gnu"
diff --git a/sources b/sources
index 4919320..d937031 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae45081916878b023ca221d3008d5f00f5a1178274bc09640bc6e20251d2555c31310ded8d9dbf0d56e742288
-SHA512 (chromium-153.0.8010.52-clean.tar.xz) = 681267b5f6e736c553769b9ec83cd5cb0390d10f6c30c6f35fc4a1f628aef2ddeb009de40cb7d2c73a8559d433fc25c2f20705d65382bc43fbb0f693e6c33a18
+SHA512 (chromium-154.0.8037.57-clean.tar.xz) = eb7a7b907067a62b9565f9534dc23e61e1436067c57ceab098caa735c908c7643a76336c4606d45917e77a340a1629d23d92123d7ac6bb9ed3d01e29b61c4476
diff --git a/chromium.spec b/chromium.spec
index 47ed9c8..eefa4de 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2113,6 +2113,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-09-19 7:27 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-09-19 7:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : e9ea9c924815e59260d629fa65b298fbce39c263
Author : Than Ngo <than@redhat.com>
Date : 2026-09-19T09:26:57+02:00
Stats : +7/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/e9ea9c924815e59260d629fa65b298fbce39c263?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium.spec b/chromium.spec
index 7c05159..3887344 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -13,6 +13,10 @@
%global system_build_flags 0
%global numjobs %{_smp_build_ncpus}
+# Limit to 48 cpus due to OOM on x86_64 platform
+%ifarch x86_64
+%global numjobs 48
+%endif
# official builds have less debugging and go faster... but we have to shut some things off.
%global official_build 1
diff --git a/chromium.spec b/chromium.spec
index 53f9fcc..3887344 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -2002,6 +2002,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-09-18 18:35 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-09-18 18:35 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 91b98fd33c81559cda4360810a05fb36e3fa9b46
Author : Than Ngo <than@redhat.com>
Date : 2026-09-18T20:35:37+02:00
Stats : +5/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/91b98fd33c81559cda4360810a05fb36e3fa9b46?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/get_chromium.sh b/get_chromium.sh
index 60de04c..6272635 100755
--- a/get_chromium.sh
+++ b/get_chromium.sh
@@ -73,7 +73,7 @@ rm -rf build/linux/debian_bullseye_amd64-sysroot/ \
buildtools/linux64/gn
# Find and delete all precompiled executables, dynamic libraries, and Java archives
-find . -type f \( -name "*.exe" -o -name "*.dll" -o -name "*.so" -o -name "*.dylib" -o -name "*.jar" -o -name "*.bin" ! -path "*/ulp_language_code_locator/*" \) -delete
+find . -type f \( -name "*.exe" -o -name "*.dll" -o -name "*.so" -o -name "*.dylib" -o -name "*.jar" \) -delete
# Remove ffmpeg source
find third_party/ffmpeg/* -type d | xargs rm -rf
diff --git a/sources b/sources
index eba0609..4919320 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae45081916878b023ca221d3008d5f00f5a1178274bc09640bc6e20251d2555c31310ded8d9dbf0d56e742288
-SHA512 (chromium-153.0.8010.52-clean.tar.xz) = b64042ce55b4b1ce971ed9988849960286185d2fc43dc5133fea73c7568bb3b7b5f7f3263f15eddb5d7c1c2d56d5a72dc78e109cf6100276469d284e2855088c
+SHA512 (chromium-153.0.8010.52-clean.tar.xz) = 681267b5f6e736c553769b9ec83cd5cb0390d10f6c30c6f35fc4a1f628aef2ddeb009de40cb7d2c73a8559d433fc25c2f20705d65382bc43fbb0f693e6c33a18
diff --git a/chromium.spec b/chromium.spec
index a1d6440..7c05159 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1998,6 +1998,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [rpms/chromium] f45: Merge branch 'rawhide' into f45
@ 2026-09-18 15:50 Than Ngo
0 siblings, 0 replies; 23+ messages in thread
From: Than Ngo @ 2026-09-18 15:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 00afcdd80d32d10834749948b1d9bbe597c63917
Author : Than Ngo <than@redhat.com>
Date : 2026-09-18T17:50:36+02:00
Stats : +162/-70 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/00afcdd80d32d10834749948b1d9bbe597c63917?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/chromium.spec b/chromium.spec
index 1bdc90f..7c05159 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -271,8 +271,8 @@
%endif
Name: chromium
-Version: 153.0.8010.36
-Release: 2%{?dist}
+Version: 153.0.8010.52
+Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
License: BSD-3-Clause AND LGPL-2.1-or-later AND Apache-2.0 AND IJG AND MIT AND GPL-2.0-or-later AND ISC AND OpenSSL AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-only)
@@ -1937,6 +1937,67 @@ fi
%endif
%changelog
+* Fri Sep 18 2026 Than Ngo <than@redhat.com> - 153.0.8010.52-1
+- Update to 153.0.8010.52
+ * CVE-2026-91708: Race condition in Network
+ * CVE-2026-91709: Type confusion in ServiceWorker
+ * CVE-2026-91710: Use after free in WebAppInstalls
+ * CVE-2026-91711: Out of bounds write in ServiceWorker
+ * CVE-2026-91712: Race condition in Extensions
+ * CVE-2026-91713: Missing authorization in Browser
+ * CVE-2026-91714: Observable discrepancy in Fonts
+ * CVE-2026-91715: Type confusion in ServiceWorker
+ * CVE-2026-91716: Use after free in Auth
+ * CVE-2026-91717: Missing authorization in Android
+ * CVE-2026-91718: Use after free in Core
+ * CVE-2026-91719: Code injection in XML
+ * CVE-2026-91720: Uninitialized resource in ANGLE
+ * CVE-2026-91721: Use after free in Internals
+ * CVE-2026-91722: Use after free in Input
+ * CVE-2026-91723: Race condition in WebAppInstalls
+ * CVE-2026-91724: Use after free in Input
+ * CVE-2026-91725: Observable discrepancy in CSS
+ * CVE-2026-91726: Out of bounds read in WebGL
+ * CVE-2026-91727: Incorrect reference resolution in Extensions
+ * CVE-2026-91728: Integer overflow in V8
+ * CVE-2026-91729: Use after free in DigitalCredentials
+ * CVE-2026-91730: Incomplete cleanup in GetUserMedia
+ * CVE-2026-91731: Type confusion in Compositing
+ * CVE-2026-91732: Missing authorization in AppManifest
+ * CVE-2026-91733: Improper state validation in Skia
+ * CVE-2026-91734: Incorrect authorization in Core
+ * CVE-2026-91735: Incorrect authorization in WebUI
+ * CVE-2026-91736: Use after free in DOM
+ * CVE-2026-91737: Use after free in PDF
+ * CVE-2026-91738: Improper input validation in ANGLE
+ * CVE-2026-91739: Missing authorization in Transactions Platform
+ * CVE-2026-91740: Uninitialized resource in Skia
+ * CVE-2026-91741: Type confusion in CacheStorage
+ * CVE-2026-91742: Confused deputy in PriceTracking
+ * CVE-2026-91743: Race condition in Core
+ * CVE-2026-91744: Race condition in PlatformIntegration
+ * CVE-2026-91745: Use after free in V8
+ * CVE-2026-91746: Integer overflow in Compositing
+ * CVE-2026-91747: Use after free in Skia
+ * CVE-2026-91748: Race condition in Extensions
+ * CVE-2026-91749: Use after free in Workers
+ * CVE-2026-93372: Buffer overflow in WebGL
+ * CVE-2026-93373: Use after free in Extensions
+ * CVE-2026-93374: Use after free in Dawn
+ * CVE-2026-93375: Incorrect reference resolution in Tracing
+ * CVE-2026-93376: Out of bounds read in DataTransfer
+ * CVE-2026-93377: Type confusion in V8
+ * CVE-2026-93378: Missing authorization in Storage
+ * CVE-2026-93379: Incorrect authorization in ORB
+ * CVE-2026-93380: Race condition in FileSystem
+ * CVE-2026-93381: Buffer overflow in PDFium
+ * CVE-2026-93382: Use after free in PDFium
+ * CVE-2026-93383: Information leak in Permissions
+ * CVE-2026-93384: Server-side request forgery in Omnibox
+ * CVE-2026-93385: Information leak in Paint
+ * CVE-2026-93386: UI misrepresentation in WebAppInstalls
+ * CVE-2026-93387: Improper state validation in Skia
+
* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
- Rebuild for FFmpeg 9
diff --git a/get_chromium.sh b/get_chromium.sh
new file mode 100755
index 0000000..60de04c
--- /dev/null
+++ b/get_chromium.sh
@@ -0,0 +1,95 @@
+#!/usr/bin/bash
+#
+# than@redhat.com, new download script from GitHub.
+#
+
+GITHUB_REPO="chromium-linux-tarballs/chromium-tarballs"
+WORK_DIR="$(pwd)/chromium_clean_build"
+
+echo "=== 1. Fetching latest stable release from GitHub ==="
+mkdir -p "${WORK_DIR}"
+cd "${WORK_DIR}"
+
+# Fetch the latest release tag name using GitHub API
+VERSION=$(curl -s "https://api.github.com/repos/${GITHUB_REPO}/releases/latest" | grep -oP '"tag_name": "\K[^"]+')
+
+if [ -z "${VERSION}" ]; then
+ echo "Error: Could not determine the latest release from GitHub." >&2
+ exit 1
+fi
+
+echo "Latest version found: ${VERSION}"
+
+TARBALL_NAME="chromium-${VERSION}-linux.tar.xz"
+CLEAN_TARBALL_NAME="chromium-${VERSION}-clean.tar.xz"
+DOWNLOAD_URL="https://github.com/${GITHUB_REPO}/releases/download/${VERSION}/${TARBALL_NAME}"
+
+# === 2. Download the Tarball ===
+if [ ! -f "${TARBALL_NAME}" ]; then
+ echo "=== 2. Downloading ${TARBALL_NAME} ==="
+ wget -O "${TARBALL_NAME}" "${DOWNLOAD_URL}"
+else
+ echo "=== 2. Archive ${TARBALL_NAME} already exists locally ==="
+fi
+
+# === 3. Extract the Source ===
+echo "=== 3. Extracting source code ==="
+UNPACK_DIR="chromium-${VERSION}"
+rm -rf "${UNPACK_DIR}"
+tar -xf "${TARBALL_NAME}"
+
+cd "${UNPACK_DIR}"
+
+# === 4. Remove Proprietary Blobs & Precompiled Binaries ===
+echo "=== 4. Removing proprietary blobs, binary files ==="
+rm -rf build/linux/debian_bullseye_amd64-sysroot/ \
+ build/linux/debian_bullseye_i386-sysroot/ \
+ buildtools/linux64/ \
+ third_party/node/linux/node-linux-x64/ \
+ third_party/rust-toolchain/ \
+ third_party/rust-src/ \
+ third_party/devtools-frontend/src/third_party/esbuild/ \
+ third_party/devtools-frontend/src/third_party/rollup_libs/ \
+ third_party/devtools-frontend/src/node_modules/@rollup/rollup-linux-x64-gnu/ \
+ third_party/enterprise_companion/chromium_linux64/ \
+ third_party/enterprise_companion/chromium_mac_amd64/ \
+ third_party/enterprise_companion/chromium_mac_arm64/ \
+ third_party/enterprise_companion/chromium_win_x86/ \
+ third_party/enterprise_companion/chromium_win_x86_64/ \
+ third_party/enterprise_companion/chromium_linux64/cipd/ \
+ third_party/ninja/ \
+ third_party/openscreen/src/third_party/ninja/ \
+ third_party/updater/chrome_linux64/ \
+ third_party/updater/chrome_linux64_sans_iid/cipd/ \
+ third_party/updater/chromium_linux64/ \
+ third_party/updater/chromium_linux64_sans_iid/cipd/ \
+ third_party/dawn/third_party/ninja/ \
+ third_party/dawn/tools/golang/ \
+ third_party/depot_tools/external_bin/ \
+ third_party/libei/cipd/ \
+ third_party/gperf/cipd/ \
+ third_party/node/linux/node-linux-x64.tar.gz \
+ buildtools/third_party/eu-strip/bin/eu-strip \
+ buildtools/linux64/gn
+
+# Find and delete all precompiled executables, dynamic libraries, and Java archives
+find . -type f \( -name "*.exe" -o -name "*.dll" -o -name "*.so" -o -name "*.dylib" -o -name "*.jar" -o -name "*.bin" ! -path "*/ulp_language_code_locator/*" \) -delete
+
+# Remove ffmpeg source
+find third_party/ffmpeg/* -type d | xargs rm -rf
+
+# Clean openh264 from proprietary things
+find third_party/openh264/* -type d | xargs rm -rf
+
+# === 5. Repack as -lite.tar.xz ===
+echo "=== 5. Creating clean archive: ${CLEAN_TARBALL_NAME} ==="
+cd ..
+
+# Compress using xz with multithreading enabled (-T0 utilizes all CPU cores)
+tar -cf - "${UNPACK_DIR}" | xz -v -9 -T0 > "${CLEAN_TARBALL_NAME}"
+
+# Clean up temporary extracted folder
+rm -rf "${UNPACK_DIR}"
+
+echo "=== SUCCESS ==="
+echo "Cleaned Lite Tarball created at: ${WORK_DIR}/${CLEAN_TARBALL_NAME}"
diff --git a/get_chromium_from_git.sh b/get_chromium_from_git.sh
deleted file mode 100755
index cd4e4f2..0000000
--- a/get_chromium_from_git.sh
+++ /dev/null
@@ -1,67 +0,0 @@
-#! /bin/bash
-
-SRC_DIR="chromium-src"
-VERSION="$1"
-# clean|remove
-FFMPEG_SOURCE="remove"
-
-if [[ -z $VERSION ]]; then
- echo "Version is missing"
- exit 1
-fi
-
-if [ -d $SRC_DIR ] ; then
- rm -rf $SRC_DIR
-fi
-mkdir -p $SRC_DIR
-pushd $SRC_DIR
-echo "cloning depot_tools..."
-git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
-export PATH+=":$PWD/depot_tools"
-echo "Clone chromium-$VERSION..."
-fetch --nohooks --no-history chromium
-pushd src
-git fetch origin tag $VERSION
-git checkout tags/$VERSION
-gclient sync --with_branch_heads --with_tags
-popd # src
-
-find src -type d -name ".git" | xargs rm -rf
-find src/third_party/jdk/current -type f -delete
-rm -rf src/build/linux/debian_bullseye_amd64-sysroot \
- src/build/linux/debian_bullseye_i386-sysroot \
- src/third_party/node/linux/node-linux-x64* \
- src/third_party/rust-toolchain \
- src/third_party/rust-src \
- src/third_party/devtools-frontend/src/third_party/esbuild \
- src/third_party/enterprise_companion/chromium_linux64 \
- src/third_party/enterprise_companion/chromium_mac_amd64 \
- src/third_party/enterprise_companion/chromium_mac_arm64 \
- src/third_party/enterprise_companion/chromium_win_x86 \
- src/third_party/enterprise_companion/chromium_win_x86_64 \
- src/third_party/node/linux/node-linux-x64.tar.gz \
- src/buildtools/third_party/eu-strip/bin/eu-strip \
- src/buildtools/linux64/gn
-
-if [ "$FFMPEG_SOURCE" == "clean" ] ; then
- # clean ffmpeg from proprietary things
- echo "Cleaning ffmpeg from proprietary things..."
- ln -s ../clean_ffmpeg.sh .
- ln -s ../ffmpeg-clean.patch .
- ln -s ../get_free_ffmpeg_source_files.py .
- ./clean_ffmpeg.sh src 1
-else
- # remove ffmpeg source
- find src/third_party/ffmpeg/* -type d | xargs rm -rf
-fi
-
-# clean openh264
-echo "Cleaning openh264 from proprietary things..."
-find src/third_party/openh264/src -type f -not -name '*.h' -delete
-mv src ../chromium-$VERSION
-popd
-
-echo "Compressing cleaned tree, please wait..."
-tar -cf - chromium-$VERSION | xz -9 -T 0 -f > chromium-$VERSION-clean.tar.xz
-
-echo "Done!"
diff --git a/sources b/sources
index 6c15195..eba0609 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
-SHA512 (chromium-153.0.8010.36-clean.tar.xz) = c4bf5cbdc8a3d95d607f98b48ab3f22a11c5d21206dab190721423da68bdf485179d979ec3d25c72ebe6b97aef24c69b456d3be7ec5d2d19806a5fc71ef13542
SHA512 (typescript-linux-ppc64.tgz) = 0ce471e5bdec77fe12ede6b2c66e0542ff80ec2ae45081916878b023ca221d3008d5f00f5a1178274bc09640bc6e20251d2555c31310ded8d9dbf0d56e742288
+SHA512 (chromium-153.0.8010.52-clean.tar.xz) = b64042ce55b4b1ce971ed9988849960286185d2fc43dc5133fea73c7568bb3b7b5f7f3263f15eddb5d7c1c2d56d5a72dc78e109cf6100276469d284e2855088c
diff --git a/chromium.spec b/chromium.spec
index a1d6440..7c05159 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1998,6 +1998,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
^ permalink raw reply related [flat|nested] 23+ messages in thread
end of thread, other threads:[~2026-11-24 13:59 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 19:23 [rpms/chromium] f45: Merge branch 'rawhide' into f45 Than Ngo
-- strict thread matches above, loose matches on Subject: below --
2026-11-24 13:59 Than Ngo
2026-11-22 23:27 Than Ngo
2026-11-22 22:08 Than Ngo
2026-11-14 13:51 Than Ngo
2026-11-13 17:54 Than Ngo
2026-11-02 9:20 Than Ngo
2026-10-30 20:52 Than Ngo
2026-10-29 10:01 Than Ngo
2026-10-28 17:25 Than Ngo
2026-10-28 9:36 Than Ngo
2026-10-21 16:26 Than Ngo
2026-10-16 7:52 Than Ngo
2026-10-14 15:15 Than Ngo
2026-10-11 8:08 Than Ngo
2026-10-11 7:45 Than Ngo
2026-10-05 10:24 Than Ngo
2026-09-30 18:24 Than Ngo
2026-09-23 18:20 Than Ngo
2026-09-23 15:13 Than Ngo
2026-09-19 7:27 Than Ngo
2026-09-18 18:35 Than Ngo
2026-09-18 15:50 Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox